1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-10-31 21:33:09 +00:00
strimertul-website/layouts/guide/single.html
2023-03-01 14:17:50 +01:00

14 lines
422 B
HTML

{{ define "main" }}
<main class="guide">
{{ partial "menu.html" (dict "context" . "menu" $.Site.Menus.guides) }}
<div class="doc">
<header><h1>{{ .Title }}</h1></header>
<section class="copy">{{ .Content }}</section>
</div>
<div class="toc">
<header>In this page:</header>
{{ .TableOfContents }}
</div>
</main>
<script async defer src="/script/toc.js"></script>
{{ end }}