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:
f-dinucci 2022-05-30 22:33:18 +02:00 committed by Giuseppe Masino
parent f0bfa5e80a
commit 9fd5f1420c
1 changed files with 17 additions and 5 deletions

View File

@ -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>