Remove unnecessary conditional
This commit is contained in:
parent
3f79c563cc
commit
e925ea8a04
1 changed files with 4 additions and 6 deletions
|
@ -8,13 +8,11 @@
|
|||
<h5 class="my-3">{{ .Params.subtitle }}</h5>
|
||||
<p>
|
||||
<span class="pr-4">{{ .Date.Format "2006-01-02" }}</span>
|
||||
{{ if .Params.tags }}
|
||||
{{ range .Params.tags }}
|
||||
<a href="/tags/{{ urlize . }}" class="badge badge-dark mr-2" style="font-size: 1rem">
|
||||
<i class="fa fa-tag"></i> {{ . }}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
<hr />
|
||||
<div class="content mt-3">
|
||||
|
|
Loading…
Reference in a new issue