refactor: move partial/head.html and partial/footer.html

This commit is contained in:
Jimmy Cai 2020-09-11 22:41:40 +02:00
parent b64cbe1ef8
commit b064b5ef85
No known key found for this signature in database
GPG key ID: 3EA408E527F37B18
8 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{- partial "head.html" . -}}
{{- partial "head/head.html" . -}}
<body>
<div id="content">
{{- block "main" . }}{{- end }}

View file

@ -16,7 +16,7 @@
{{- partial "pagination.html" . -}}
{{ partialCached "footer" . }}
{{ partialCached "footer/footer" . }}
</main>
{{ partialCached "sidebar/right.html" . }}

View file

@ -20,7 +20,7 @@
{{ partial "comments/include" . }}
{{ end }}
{{ partialCached "footer" . }}
{{ partialCached "footer/footer" . }}
</main>
</div>
</div>

View file

@ -39,7 +39,7 @@
{{- partial "pagination.html" . -}}
{{ partial "footer" . }}
{{ partialCached "footer/footer" . }}
</main>
</div>
{{ end }}

View file

@ -17,7 +17,7 @@
{{- partial "pagination.html" . -}}
{{ partialCached "footer" . }}
{{ partialCached "footer/footer" . }}
</main>
{{ partialCached "sidebar/right.html" . }}

View file

@ -11,7 +11,7 @@
{{ partial "comments/include" . }}
{{ end }}
{{ partialCached "footer" . }}
{{ partialCached "footer/footer" . }}
</main>
</div>