Handling tags

This commit is contained in:
nemunaire 2021-07-13 11:27:37 +02:00
commit b9020351c1
8 changed files with 84 additions and 16 deletions

View file

@ -16,8 +16,8 @@
{{ $featured_condition_size := .Site.Params.featured_condition_size }}
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
{{ if gt (len $taxonomy.Pages) $featured_condition_size }}
<a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="{{ $name }}">
{{ $name }}
<a class="badge badge-pill badge-secondary" href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="{{ $name }}">
#{{ $name }}
</a>
{{ end }}
{{ end }}