refactor[layouts]: reorganize baseof.html
Refactors baseof.html to follow the latest Hugo conventions and comments for a better readability
This commit is contained in:
parent
f0bfa5e80a
commit
9fd5f1420c
|
@ -1,11 +1,23 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="{{ $.Site.LanguageCode}}">
|
||||||
{{- partial "head.html" . -}}
|
<!-- HEAD Element -->
|
||||||
|
{{ partial "head.html" . }}
|
||||||
|
|
||||||
|
<!-- Page BODY -->
|
||||||
<body>
|
<body>
|
||||||
{{- partial "header.html" . -}}
|
|
||||||
|
<!-- HEADER Element -->
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
|
<!-- Content -->
|
||||||
<div id="content">
|
<div id="content">
|
||||||
{{- block "main" . }}{{- end }}
|
{{ block "main" . }}
|
||||||
|
<!-- The page content will go here, declaring a "main" block -->
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{- partial "footer.html" . -}}
|
|
||||||
|
<!-- FOOTER Element -->
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue