Hugo-theme-stack/layouts/partials/article/components/footer.html

16 lines
505 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.license.enabled }}
<section class="article-copyright">
{{ (resources.Get "icons/copyright.svg").Content | safeHTML }}
<span>{{ .Site.Params.article.license.default }}</span>
</section>
{{ end }}
</footer>