tags in home are links, inline with dates separated by a pipe; dates and tags have appropriate accompanying icons; specific tag section is now titled 'Tag: #sometag'

This commit is contained in:
Gabriele Musco 2021-01-03 13:15:46 +01:00
parent 5bf2ffe70e
commit 5826b560ac
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
4 changed files with 14 additions and 8 deletions

View file

@ -11,10 +11,14 @@
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h3>
<p class="date">
<span title="Date"></span>
{{ .Date.Format "2006-01-02" }}
{{ if .Params.tags }}
<br />
<small>{{ range .Params.tags }}#{{ . }} {{ end }}</small>
| <!-- Pipe character as visual separator between date and tags-->
<span title="Tags"></span>
{{ range .Params.tags }}
<a href="/tags/{{ . }}">#{{ . }}</a>
{{ end }}
{{ end }}
</p>
<div class="articlePreview">