diff options
| author | 2026-04-18 04:15:49 -0600 | |
|---|---|---|
| committer | 2026-04-18 04:15:49 -0600 | |
| commit | 92a8301aee014b6c6498e24bd82c7e1f38d99ce3 (patch) | |
| tree | 4dcca2b7d57ca45e421bf4a4b8aa83e19ea06bf9 /layouts/_default/section.html | |
init
Diffstat (limited to 'layouts/_default/section.html')
| -rw-r--r-- | layouts/_default/section.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..9ffb815 --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,16 @@ +{{ define "title" }} + {{ .Title }} +{{ end }} +{{ define "body" }} + <nav class="breadcrumbs"> + {{ partial "breadcrumbs" . }} + </nav> + <h1>{{ .Title }}</h1> + {{ .Content }} + {{ if .Pages }} + <nav class="children"> + <h2>Contents</h2> + {{ partial "children" . }} + </nav> + {{ end }} +{{ end }} |
