added option to disable tags in article preview
This commit is contained in:
parent
2535186101
commit
3631685b4d
4 changed files with 12 additions and 10 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue