summaryrefslogtreecommitdiff
path: root/themes/schizo/layouts/shortcodes/tagcloud.html
blob: 0cf0118f49b39f7defecbf841f2ada0cf2c7d725 (plain)
1
2
3
{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }}   <ul id="tagcloud">
    {{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<li><a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a></li>
    {{ end }}</ul>{{ end }}{{ end }}