bobatheme/layouts/partials/post-meta-item/series.html

13 lines
274 B
HTML
Raw Normal View History

{{ with (.GetTerms "series") }}
{{ $series := slice }}
{{ range . }}
{{ $series = $series | append (printf `<a href="%s">%s</a>` .Permalink .LinkTitle) }}
{{ end }}
<div class="series">
{{ partial "icon.html" "files" }}
{{ delimit $series ", " }}
</div>
{{ end }}