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 (and .Site.Params.tag_text_copy .Params.tags ) }}
{{ if $.Param "tag_text_copy" }} <p class="f6 b helvetica tracked"> {{ .Site.Params.tag_text_copy | upper }}</p>
<p class="f6 b"> {{ $.Param "tag_text_copy" }} </p>
{{ end }} {{ end }}
<ul class="pa0 flex flex-wrap"> <ul class="pa0 flex flex-wrap">
{{ range .Params.tags }} {{ range .Params.tags }}
@ -11,4 +10,3 @@
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
</div>