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> <!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}"> <html lang="{{ .Site.LanguageCode }}">
{{- partial "head.html" . -}} {{- partial "head/head.html" . -}}
<body> <body>
<div id="content"> <div id="content">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}

View File

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

View File

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

View File

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

View File

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

View File

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