refactor: move partial/head.html and partial/footer.html
This commit is contained in:
parent
b64cbe1ef8
commit
b064b5ef85
@ -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 }}
|
||||||
|
@ -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" . }}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
{{ partial "comments/include" . }}
|
{{ partial "comments/include" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partialCached "footer" . }}
|
{{ partialCached "footer/footer" . }}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
{{- partial "pagination.html" . -}}
|
{{- partial "pagination.html" . -}}
|
||||||
|
|
||||||
{{ partial "footer" . }}
|
{{ partialCached "footer/footer" . }}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
@ -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" . }}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
{{ partial "comments/include" . }}
|
{{ partial "comments/include" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partialCached "footer" . }}
|
{{ partialCached "footer/footer" . }}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user