2020-11-01 17:37:21 +00:00
|
|
|
{{ define "posttax" }}
|
|
|
|
{{ $post := .Data }}
|
|
|
|
{{ $blog := .Blog }}
|
|
|
|
{{ range $i, $tax := $blog.Taxonomies }}
|
2020-12-07 21:30:26 +00:00
|
|
|
{{ $tvs := sort (ps $post $tax.Name) }}
|
2021-11-02 08:27:01 +00:00
|
|
|
{{ if $tvs }}{{ if not (eq (len $tvs) 0) }}
|
|
|
|
<p>
|
|
|
|
<b>{{ mdtitle $tax.Title }}</b>:
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ range $j, $tv := $tvs }}
|
2021-08-04 21:26:38 +00:00
|
|
|
<a class="p-category" rel="tag" href="{{ $blog.RelativePath ( printf "/%s/%s" $tax.Name (urlize $tv) ) }}">{{ mdtitle $tv }}</a>
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ end }}
|
|
|
|
</p>
|
2021-11-02 08:27:01 +00:00
|
|
|
{{ end }}{{ end }}
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|