parent
19551c536f
commit
ceef390579
|
@ -245,6 +245,7 @@ enablePinnedPosts = true # show pinned posts first in the main view
|
|||
viewportSize = "normal" # widest, wider, wide, normal, narrow
|
||||
enableUiAnimation = true
|
||||
hideSingleContentsWhenJSDisabled = false
|
||||
minItemsToShowInTagCloud = 1 # Minimum items to show in tag cloud
|
||||
|
||||
# header
|
||||
homeHeaderType = "text" # text, img, slide
|
||||
|
|
|
@ -245,6 +245,7 @@ enablePinnedPosts = true # show pinned posts first in the main view
|
|||
viewportSize = "normal" # widest, wider, wide, normal, narrow
|
||||
enableUiAnimation = true
|
||||
hideSingleContentsWhenJSDisabled = false
|
||||
minItemsToShowInTagCloud = 1 # Minimum items to show in tag cloud
|
||||
|
||||
# header
|
||||
homeHeaderType = "text" # text, img, slide
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
{{ i18n "categories" }}
|
||||
</a>
|
||||
</span>
|
||||
{{ $minItemsToShowInTagCloud := $.Site.Params.minItemsToShowInTagCloud }}
|
||||
{{ range $index, $element := .Site.Taxonomies.categories }}
|
||||
{{ if $index }}
|
||||
{{ if and $index (ge (len $element) $minItemsToShowInTagCloud) }}
|
||||
<span class="tag">
|
||||
<a href="{{ $element.Page.RelPermalink }}" class="is-categories taxo__link" data-dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">
|
||||
<span class="taxo__text">
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
{{ i18n "series" }}
|
||||
</a>
|
||||
</span>
|
||||
{{ $minItemsToShowInTagCloud := $.Site.Params.minItemsToShowInTagCloud }}
|
||||
{{ range $index, $element := .Site.Taxonomies.series }}
|
||||
{{ if $index }}
|
||||
{{ if and $index (ge (len $element) $minItemsToShowInTagCloud) }}
|
||||
<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">
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
{{ i18n "tags"}}
|
||||
</a>
|
||||
</span>
|
||||
{{ $minItemsToShowInTagCloud := $.Site.Params.minItemsToShowInTagCloud }}
|
||||
{{ range $index, $element := .Site.Taxonomies.tags }}
|
||||
{{ if $index }}
|
||||
{{ if and $index (ge (len $element) $minItemsToShowInTagCloud) }}
|
||||
<span class="tag">
|
||||
<a href="{{ $element.Page.RelPermalink }}" class="is-tags taxo__link" data-dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">
|
||||
<span class="taxo__text">
|
||||
|
|
Loading…
Reference in New Issue