You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB
HTML

{{ $page := . }}
{{ $attrs := slice }}
{{ $microdata := $page.Params.paige.pages.microdata }}
{{ range $k, $v := $microdata }}
{{ $attrs = $attrs | append (printf `%s="%v"` $k $v) }}
{{ end }}
{{ $attrs = delimit (sort $attrs) " " }}
<!doctype html>
{{ partial "paige/html.html" $page }}
{{ partial "paige/head.html" $page }}
{{ partial "paige/body.html" $page }}
{{ partial "paige/func-include.html" (dict "name" "body-first%s.html" "page" $page) | safeHTML }}
<div class="container">
<div class="row">
<div class="col mt-3" id="paige-site" {{ with $attrs }} {{ $attrs | safeHTMLAttr }} {{ end }}>
{{ partial "paige/func-include.html" (dict "name" "site-first%s.html" "page" $page) | safeHTML }}
{{ partial "paige/site-header.html" $page }}
{{ block "main" $page }}{{ end }}
{{ partial "paige/site-footer.html" $page }}
{{ partial "paige/func-include.html" (dict "name" "site-last%s.html" "page" $page) | safeHTML }}
</div>
</div>
</div>
{{ partial "paige/scripts.html" $page }}
{{ partial "paige/func-include.html" (dict "name" "body-last%s.html" "page" $page) | safeHTML }}
</body>
</html>