2020-02-18 23:49:34 +00:00
|
|
|
{{ if and ($.Param "enableSidebarSeries") (ne (len .Site.Taxonomies.series) 0) }}
|
2019-11-04 13:09:44 +00:00
|
|
|
<div class="taxo">
|
2019-11-29 09:01:11 +00:00
|
|
|
<section>
|
2019-11-09 19:52:09 +00:00
|
|
|
<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>
|
2020-06-10 04:03:41 +00:00
|
|
|
{{ $minItemsToShowInTagCloud := $.Site.Params.minItemsToShowInTagCloud }}
|
2019-11-04 13:09:44 +00:00
|
|
|
{{ range $index, $element := .Site.Taxonomies.series }}
|
2020-06-10 04:03:41 +00:00
|
|
|
{{ if and $index (ge (len $element) $minItemsToShowInTagCloud) }}
|
2019-11-04 13:09:44 +00:00
|
|
|
<span class="tag">
|
2020-02-08 09:54:54 +00:00
|
|
|
<a href="{{ $element.Page.RelPermalink }}" class="is-series taxo__link" data-dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">
|
2019-11-19 17:54:47 +00:00
|
|
|
<span class="taxo__text">
|
|
|
|
{{ $element.Page.Title }}
|
|
|
|
</span>
|
2020-01-31 09:45:42 +00:00
|
|
|
<span class="taxo__num" dir="auto">
|
2019-11-19 17:54:47 +00:00
|
|
|
{{ printf "%#v" (len $element) }}
|
|
|
|
</span>
|
2019-11-04 13:09:44 +00:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2019-11-29 09:01:11 +00:00
|
|
|
</section>
|
2019-11-04 13:09:44 +00:00
|
|
|
</div>
|
2020-02-18 23:49:34 +00:00
|
|
|
{{ end }}
|