hugo-tufte/layouts/book/volumes.html

32 lines
451 B
HTML
Raw Normal View History

2023-04-24 03:16:28 +02:00
{{ define "main" }}
<div id="layout">
<article>
{{ partial "brand.html" . }}
{{ partial "content.header.html" . }}
2023-04-25 16:19:09 +02:00
{{ with .Content }}
<section>
{{ . }}
</section>
{{ end }}
2023-04-24 03:16:28 +02:00
<section class="list-page">
<ul>
{{ range .Pages.ByTitle }}
{{ if .IsSection }}
2023-04-25 16:19:09 +02:00
<li><a href="{{ .RelPermalink }}">{{ .Title }}{{- if .Draft -}} :: Draft {{- end -}}</a></li>
2023-04-24 03:16:28 +02:00
{{ end }}
{{ end }}
</ul>
</section>
{{ partial "footer.html" . }}
</article>
</div>
{{ end }}