1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-21 21:22:21 +00:00
strimertul-website/layouts/guide/single.html
2023-03-06 10:55:20 +01:00

14 lines
422 B
HTML

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