fix: fix disqus feature and format

This commit is contained in:
Dillon ZENG
2019-08-02 16:16:59 +08:00
parent 3e2972c318
commit 1e709b5ba4
6 changed files with 121 additions and 145 deletions

View File

@@ -1,7 +1,7 @@
{{ define "content" }}
{{ if eq .Site.Params.home_mode "post" }}
{{ partial "home_post.html" . }}
{{ else }}
{{ partial "home_profile.html" . }}
{{ end }}
{{ if eq .Site.Params.home_mode "post" }}
{{ partial "home_post.html" . }}
{{ else }}
{{ partial "home_profile.html" . }}
{{ end }}
{{ end }}