1
Fork 0

Add icons to content details

This commit is contained in:
Jake Howard 2019-04-28 15:30:54 +01:00
parent b863371eb9
commit 2724b33340
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,5 +1,5 @@
{{ if not .Date.IsZero }}
<span class="pr-2" title='{{ .Date.Format "January 2 2006" }}'>{{ .Date.Format "2006-01-02" }}</span>
<span class="pr-2" title='{{ .Date.Format "January 2 2006" }}'><i class="far fa-calendar-alt pr-1"></i>{{ .Date.Format "2006-01-02" }}</span>
{{ end }}
{{ if .ReadingTime }}
@ -7,6 +7,7 @@
{{ end }}
{{ if .Params.tags }}
<i class="fas fa-tags small"></i>
{{ range $i, $e := .Params.tags }}
<a href="/tags/{{ urlize . }}" class="mr-1">#{{ . }}</a>
{{ end }}