Removed unused tags

Also ran file through prettier for the first time
This commit is contained in:
Alejandro Angulo 2021-10-10 08:28:12 -07:00
parent 0690adf00c
commit 3fec168d54
No known key found for this signature in database
GPG key ID: A8B58A203A659A98

View file

@ -1,11 +1,17 @@
<div class="post-meta">
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
<time datetime="{{ $dateTime }}">
{{ .PublishDate.Format $dateFormat }}
</time>
{{ with .Params.tags }}
{{ range . }}
{{ $href := print (absURL "tags/") (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href }}">#{{ . }}</a>
<a href="{{ $href }}">#{{ . }}</a>
{{ end }}
</div>
{{ end }}
</div>
</div>
</div>