hugo-theme-termlite/layouts/_default/baseof.html
Eryn Wells 8b834f8eab Move the <main> element inside the "main" template block
Do this so each template can set the class of the main block according to what
kind of template it is.
2024-07-23 08:45:26 -07:00

18 lines
503 B
HTML

<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "base/head.html" . }}
{{ block "head_css" . }}{{ end }}
</head>
<body>
<header class="site-header">
{{ partial "site/header.html" . }}
</header>
<div class="body__container">
{{ block "main" . }}{{ end }}
<footer class="site-footer">
{{ partial "site/footer.html" . }}
</footer>
</div>
</body>
</html>