refactors layouts for single and list, header, footer

This commit is contained in:
Huy Tran 2018-07-27 10:02:49 +10:00
parent e980cbedc8
commit 09d87e1da0
13 changed files with 14 additions and 36 deletions

View file

@ -13,4 +13,5 @@
</div>
{{ partial "page-single/post-meta-bottom.html" . }}
{{ partial "page-single/post-related.html" . }}
{{- partial "page-single/post-comment.html" . -}}
</article>

View file

@ -0,0 +1,6 @@
{{ if .Site.GoogleAnalytics -}}
<!-- Google Analytics -->
{{- template "_internal/google_analytics_async.html" . -}}
{{- end }}
{{ partial "footer/font-awesome-js.html" . }}
{{ partial "highlight-js.html" . }}

View file

@ -1,7 +1,7 @@
{{- if ne .Params.showcomments false -}}
{{ if .Site.DisqusShortname -}}
{{- partial "page-single/commenting/disqus.html" . -}}
{{- partial "page-single/comment/disqus.html" . -}}
{{- else if .Site.Params.GraphCommentId -}}
{{- partial "page-single/commenting/graphcomment.html" . -}}
{{- partial "page-single/comment/graphcomment.html" . -}}
{{- end -}}
{{- end }}