Hugo-theme-stack/layouts/partials/article/components/footer.html
2020-09-06 12:56:44 +02:00

16 lines
503 B
HTML

<footer class="article-footer">
{{ with $tags := .Params.Tags }}
<section class="article-tags">
{{ range $tags }}
<a href="/tags/{{ . | urlize }}">{{ . | humanize }}</a>
{{ end }}
</section>
{{ end }}
{{ if .Site.Params.article.defaultLicense }}
<section class="article-copyright">
{{ (resources.Get "icons/copyright.svg").Content | safeHTML }}
<span>{{ .Site.Params.article.defaultLicense }}</span>
</section>
{{ end }}
</footer>