Do this so each template can set the class of the main block according to what kind of template it is.
18 lines
503 B
HTML
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>
|