Add icons to content details
This commit is contained in:
parent
b863371eb9
commit
2724b33340
1 changed files with 2 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue