mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-12-04 00:45:20 +00:00
15 lines
408 B
HTML
15 lines
408 B
HTML
{{ $dateFormat := (default "January 2, 2006" .Site.Params.BookDateFormat) }}
|
|
{{ with .Date}}
|
|
<h5>{{ .Format $dateFormat }}</h5>
|
|
{{ end }}
|
|
|
|
{{ range $taxonomy, $_ := .Site.Taxonomies }}
|
|
{{ with $terms := $.GetTerms $taxonomy }}
|
|
<div>
|
|
{{ range $n, $term := $terms }}{{ if $n }}, {{ end }}
|
|
<a href="{{ $term.RelPermalink }}">{{ $term.Title }}</a>
|
|
{{- end }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|