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>