website/layouts/_default/baseof.html

25 lines
752 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "head.html" . }}
{{- block "head" . -}}{{ end }}
</head>
<body class="{{ with .Params.body_class }}{{ . }}{{ end }}">
{{ if or (not (isset .Params "with_normal_config")) .Params.with_normal_config }}
<div class="footer-push">
{{ if or (not (isset .Params "with_header")) .Params.with_header }}
{{ partial "header" . }}
{{ end }}
<div class="after-header">
{{ block "main" . }}{{ end }}
</div>
</div>
{{ if or (not (isset .Params "with_footer")) .Params.with_footer }}
{{ partial "footer" . }}
{{ end }}
{{ else }}
{{ block "main" . }}{{ end }}
{{ end }}
</body>
</html>