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:
parent
5bf2ffe70e
commit
5826b560ac
4 changed files with 14 additions and 8 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue