Require `showtags` parameter to show tags on a list page

This commit is contained in:
BBaoVanC 2021-09-28 18:15:16 -05:00
parent 28a10e1dc4
commit c995cb9d95
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@
</ul>
{{ if .Data.Singular }}
{{ else }}
{{ if .Params.showtags }}
<small>
Site-wide tags:
<span class="tags">
@ -37,3 +38,4 @@
</small>
{{ end }}
{{ end }}
{{ end }}