mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
refactor: move partial/head.html and partial/footer.html
This commit is contained in:
parent
b64cbe1ef8
commit
b064b5ef85
8 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
{{- partial "head.html" . -}}
|
||||
{{- partial "head/head.html" . -}}
|
||||
<body>
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
{{- partial "pagination.html" . -}}
|
||||
|
||||
{{ partialCached "footer" . }}
|
||||
{{ partialCached "footer/footer" . }}
|
||||
</main>
|
||||
|
||||
{{ partialCached "sidebar/right.html" . }}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
{{ partial "comments/include" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ partialCached "footer" . }}
|
||||
{{ partialCached "footer/footer" . }}
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
{{- partial "pagination.html" . -}}
|
||||
|
||||
{{ partial "footer" . }}
|
||||
{{ partialCached "footer/footer" . }}
|
||||
</main>
|
||||
</div>
|
||||
{{ end }}
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
{{- partial "pagination.html" . -}}
|
||||
|
||||
{{ partialCached "footer" . }}
|
||||
{{ partialCached "footer/footer" . }}
|
||||
</main>
|
||||
|
||||
{{ partialCached "sidebar/right.html" . }}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{ partial "comments/include" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ partialCached "footer" . }}
|
||||
{{ partialCached "footer/footer" . }}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue