1
goldsmith-samples/bootstrap/content/layouts/cloud.gohtml

10 lines
219 B
Plaintext

{{define "cloud"}}
{{if .Props.TagState.CurrentTags}}
<div>
{{range .Props.TagState.CurrentTags}}
<a class="badge badge-secondary" href="/{{.IndexFile.Path}}">{{.RawName}}</a>
{{end}}
</div>
{{end}}
{{end}}