1
Fork 0

Remove unnecessary conditional

This commit is contained in:
Jake Howard 2017-10-26 21:54:29 +01:00
parent 3f79c563cc
commit e925ea8a04
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -8,12 +8,10 @@
<h5 class="my-3">{{ .Params.subtitle }}</h5> <h5 class="my-3">{{ .Params.subtitle }}</h5>
<p> <p>
<span class="pr-4">{{ .Date.Format "2006-01-02" }}</span> <span class="pr-4">{{ .Date.Format "2006-01-02" }}</span>
{{ if .Params.tags }} {{ range .Params.tags }}
{{ range .Params.tags }} <a href="/tags/{{ urlize . }}" class="badge badge-dark mr-2" style="font-size: 1rem">
<a href="/tags/{{ urlize . }}" class="badge badge-dark mr-2" style="font-size: 1rem"> <i class="fa fa-tag"></i> {{ . }}
<i class="fa fa-tag"></i> {{ . }} </a>
</a>
{{ end }}
{{ end }} {{ end }}
</p> </p>
<hr /> <hr />