27
0
Fork 1
forked from mirror/Mainroad
Mainroad/layouts/_default/baseof.html
2025-02-19 19:07:20 +00:00

31 lines
No EOL
956 B
HTML

<!DOCTYPE html>
<html class="no-js" lang="{{ .Site.Language.Lang }}">
<head>
{{- partial "head.html" . -}}
</head>
<body class="body">
<div class="container container--outer">
{{ block "header" . }}{{ partial "header.html" . }}{{ end }}
<div class="wrapper flex">
<div class="primary">
{{ block "main" . }}
{{ with .Content }}
<div class="content main__content clearfix">
{{ . }}
</div>
{{ end }}
{{ end }}
</div>
{{ block "sidebar" . }}{{ partial "sidebar.html" . }}{{ end }}
</div>
{{ block "footer" . }}{{ partial "footer.html" . }}{{ end }}
</div>
{{ $menuScript := resources.Get "js/menu.js" | resources.Minify -}}
<script async defer src="{{ $menuScript.RelPermalink }}"></script>
{{ range .Site.Params.customJS -}}
{{ $customScript := resources.Get . | resources.Minify -}}
<script async defer src="{{ $customScript.RelPermalink }}"></script>
{{- end }}
{{- partial "mathjax.html" . -}}
</body>
</html>