21 lines
769 B
HTML
21 lines
769 B
HTML
<!DOCTYPE html>
|
|
<html lang='{{ .Page.Params.lang | default "en" }}' dir="{{ .Language.LanguageDirection | default "auto" }}">
|
|
|
|
<head>
|
|
{{ partial "head.html" . }}
|
|
</head>
|
|
|
|
<body class="{{ if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}}{{- print "list" -}}{{ end }}" id="top">
|
|
{{ partialCached "header.html" . .Page }}
|
|
<main class="main">
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") }}
|
|
</body>
|
|
{{ $js_path := "js/main.js" }}
|
|
{{ $mainjs_source := resources.Get $js_path }}
|
|
{{ $mainjs := $mainjs_source | resources.ExecuteAsTemplate $js_path . }}
|
|
<script>{{ $mainjs.Content | safeJS }}</script>
|
|
|
|
</html>
|