refactors layouts for single and list, header, footer
This commit is contained in:
parent
e980cbedc8
commit
09d87e1da0
13 changed files with 14 additions and 36 deletions
|
@ -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>
|
||||
|
|
6
layouts/partials/page-single/footer.html
Normal file
6
layouts/partials/page-single/footer.html
Normal 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" . }}
|
|
@ -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 }}
|
Loading…
Add table
Add a link
Reference in a new issue