2020-01-24 00:07:47 +01:00
|
|
|
{{ $dateFormat := (default "January 2, 2006" .Site.Params.BookDateFormat) }}
|
2019-12-19 17:22:12 +01:00
|
|
|
{{ if or .Date .Params.tags }}
|
|
|
|
<div>
|
|
|
|
{{ with .Date}}
|
|
|
|
<h5>{{ .Format $dateFormat }}</h5>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ range $term, $_ := .Site.Taxonomies }}
|
2020-01-24 00:07:47 +01:00
|
|
|
{{ with $list := $.Param $term }}
|
2020-01-17 21:31:26 +01:00
|
|
|
<div>
|
2020-01-13 18:06:09 +01:00
|
|
|
{{ range $n, $single := $list }}{{ if $n }}, {{ end }}
|
2020-01-24 00:07:47 +01:00
|
|
|
{{- with $.Site.GetPage (printf "/%s/%s" $term $single | urlize) }}
|
2020-01-17 21:31:26 +01:00
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
2020-01-13 18:06:09 +01:00
|
|
|
{{- end }}
|
2019-12-19 17:22:12 +01:00
|
|
|
{{- end }}
|
2020-01-17 21:31:26 +01:00
|
|
|
</div>
|
2019-12-19 17:22:12 +01:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{{ end }}
|