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>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<html lang="{{ $.Site.LanguageCode}}">
|
||||
<!-- HEAD Element -->
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<!-- Page BODY -->
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
|
||||
<!-- HEADER Element -->
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<!-- Content -->
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{ block "main" . }}
|
||||
<!-- The page content will go here, declaring a "main" block -->
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
|
||||
<!-- FOOTER Element -->
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue