initial
This commit is contained in:
10
layouts/partials/tagcloud.html
Normal file
10
layouts/partials/tagcloud.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ if isset .Site.Taxonomies "tags" }}
|
||||
{{ if not (eq (len .Site.Taxonomies.tags) 0) }}
|
||||
<div class="tagcloud">
|
||||
{{ range $name, $items := .Site.Taxonomies.tags }}
|
||||
{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}
|
||||
<a href="{{ $url | absURL }}">{{ $name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user