Added condition to tag text.

This commit is contained in:
Emiliano Tortorella 2018-11-18 12:18:40 -04:00
parent 9b8c05674b
commit 0c963ac53a

View File

@ -1,6 +1,5 @@
<div class="bb bt b--black-10 mt5">
{{ if $.Param "tag_text_copy" }}
<p class="f6 b"> {{ $.Param "tag_text_copy" }} </p>
{{ if (and .Site.Params.tag_text_copy .Params.tags ) }}
<p class="f6 b helvetica tracked"> {{ .Site.Params.tag_text_copy | upper }}</p>
{{ end }}
<ul class="pa0 flex flex-wrap">
{{ range .Params.tags }}
@ -11,4 +10,3 @@
</li>
{{ end }}
</ul>
</div>