hugo-theme-zzo/layouts/partials/taxonomy/taxonomy-series.html

25 lines
906 B
HTML
Raw Normal View History

2019-11-04 13:09:44 +00:00
{{ if $.Param "enableSidebarSeries" }}
<div class="taxo">
<section>
<span class="title p2">
2019-11-04 13:09:44 +00:00
<a href="{{ "/series/" | relLangURL }}" class="taxo__title">
2020-01-09 05:25:02 +00:00
{{ i18n "series" }}
2019-11-04 13:09:44 +00:00
</a>
</span>
{{ range $index, $element := .Site.Taxonomies.series }}
{{ if $index }}
<span class="tag">
<a href="{{ $element.Page.RelPermalink }}" class="is-series taxo__link" data-dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">
<span class="taxo__text">
{{ $element.Page.Title }}
</span>
2020-01-31 09:45:42 +00:00
<span class="taxo__num" dir="auto">
{{ printf "%#v" (len $element) }}
</span>
2019-11-04 13:09:44 +00:00
</a>
</span>
{{ end }}
{{ end }}
</section>
2019-11-04 13:09:44 +00:00
</div>
{{ end }}