mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 11:29:28 +00:00
14 lines
362 B
HTML
14 lines
362 B
HTML
{{ define "main" }}
|
|
<article class="markdown book-post">
|
|
<h1>{{ .Title | title }}</h1>
|
|
{{ $taxonomies := index .Site.Taxonomies .Page.Type }}
|
|
{{ range $taxonomies }}
|
|
<div><a href="{{ .Page.Permalink }}">{{ .Page.Title }} <sup>{{ .Count }}</sup></a></div>
|
|
{{ end }}
|
|
</article>
|
|
{{ end }}
|
|
|
|
{{ define "toc" }}
|
|
{{ partial "docs/taxonomy" . }}
|
|
{{ end }}
|