You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
backy/docs/themes/hugo-theme-relearn/layouts/partials/tags.html

14 lines
417 B

{{- $page := . }}
{{- if .Params.tags }}
<div class="tags">
{{- $tags := slice | append .Params.tags }}
{{- range sort $tags }}
{{- $tag := . }}
{{- with $page.Site.GetPage (printf "%s%s" ("/tags/" | relURL ) ( $tag | anchorize ) ) }}
{{- $to := . }}
<a class="tag-link" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" $to) }}">{{ $tag }}</a>
{{- end }}
{{- end }}
</div>
{{- end }}