Remove unnecessary conditional
This commit is contained in:
parent
3f79c563cc
commit
e925ea8a04
1 changed files with 4 additions and 6 deletions
|
@ -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 />
|
||||||
|
|
Loading…
Reference in a new issue