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

16 lines
481 B
HTML
Raw Normal View History

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