added option to disable tags in article preview

This commit is contained in:
Gabriele Musco 2021-04-19 11:42:35 +02:00
parent 2535186101
commit 3631685b4d
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
4 changed files with 12 additions and 10 deletions

View file

@ -14,7 +14,7 @@
<p class="date">
<span title="Date"></span>
{{ .Date.Format "2006-01-02" }}
{{ if .Params.tags }}
{{ if and (site.Params.tagsInArticlePreview | default true) .Params.tags }}
<br />
<span title="Tags"></span>
{{ range .Params.tags }}