Removed unused tags
Also ran file through prettier for the first time
This commit is contained in:
parent
0690adf00c
commit
3fec168d54
|
@ -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>
|
||||
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
|
||||
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
|
||||
<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>
|
||||
{{ $href := print (absURL "tags/") (urlize .) }}
|
||||
<a href="{{ $href }}">#{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue