refactors the layouts
This commit is contained in:
parent
cefd39e9a1
commit
05d11325ea
28 changed files with 394 additions and 116 deletions
|
@ -7,9 +7,5 @@
|
|||
{{ block "content" . -}}{{- end }}
|
||||
</div>
|
||||
{{ block "footer" . -}}{{- end }}
|
||||
{{ if and (not .Site.BuildDrafts) (.Site.GoogleAnalytics) -}}
|
||||
{{ "<!-- Google Analytics -->" | safeHTML }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{- end }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
{{- end -}}
|
||||
|
||||
{{ define "content" -}}
|
||||
{{ partial "content_list.html" . }}
|
||||
{{ partial "page_list.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "footer" -}}
|
||||
{{ partial "footer.html" . }}
|
||||
{{- end }}
|
||||
|
|
|
@ -3,12 +3,13 @@
|
|||
{{- end -}}
|
||||
|
||||
{{ define "content" -}}
|
||||
{{ partial "content_single.html" . }}
|
||||
{{ partial "page_single.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "footer" -}}
|
||||
<div class="footer content">
|
||||
{{- partial "highlight.html" . -}}
|
||||
{{- partial "highlight-js.html" . -}}
|
||||
{{- partial "commenting.html" . -}}
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue