feat(article): add support for custom taxonomy link

This commit is contained in:
Jimmy Cai
2020-09-18 00:00:39 +02:00
parent c74cc3e4b3
commit b540350d76
3 changed files with 25 additions and 18 deletions
@@ -1,11 +1,5 @@
<footer class="article-footer">
{{ with $tags := .Params.Tags }}
<section class="article-tags">
{{ range $tags }}
<a href="{{ printf `tags/%s` (. | urlize) | relLangURL }}">{{ . | humanize }}</a>
{{ end }}
</section>
{{ end }}
{{ partial "article/components/tags" . }}
{{ if and (.Site.Params.article.license.enabled) (not (eq .Params.license false)) }}
<section class="article-copyright">