mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
18 lines
479 B
HTML
18 lines
479 B
HTML
|
{{ with (.GetTerms "series") }}
|
||
|
{{ $series := slice }}
|
||
|
{{ range . }}
|
||
|
{{ $series = $series | append (printf `<a href="%s">%s</a>` .Permalink .LinkTitle) }}
|
||
|
{{ end }}
|
||
|
|
||
|
<div class="series-box">
|
||
|
{{ partial "icon.html" "info" }}
|
||
|
{{ if gt (len $series) 1 }}
|
||
|
This post is part of multiple series:
|
||
|
{{ else }}
|
||
|
This post is part of a series:
|
||
|
{{ end }}
|
||
|
|
||
|
{{ delimit $series ", " }}
|
||
|
</div>
|
||
|
{{ end }}
|