Files
website/layouts/book/frontcover.html
2026-02-28 00:59:59 -06:00

16 lines
304 B
HTML

{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $chapters := where .Site.AllPages "Params.tags" .Params.tags }}
{{ range sort $chapters "Params.chapterno" "asc" }}
{{ if ne .Params.chapterno "00" }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
{{ end }}