diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-15 15:45:22 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-15 15:45:22 +0200 |
commit | d0200f3f07604edab12d647838feebfd82423f67 (patch) | |
tree | 3165fcea9f25686ae2676a5bb40a31703bc3190d /layouts/partials | |
parent | a8382f9a13d0f6fa40c34a75928cabe749cee5f8 (diff) | |
download | hugo-minimalist-theme-d0200f3f07604edab12d647838feebfd82423f67.tar.gz hugo-minimalist-theme-d0200f3f07604edab12d647838feebfd82423f67.tar.bz2 hugo-minimalist-theme-d0200f3f07604edab12d647838feebfd82423f67.zip |
Metadata for categories better icon and fix link
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/metadata.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 0b73bc6..211e9d4 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -15,7 +15,8 @@ {{ .PublishDate.Format $dateFormat }} </time> {{ with .Params.location }} - — {{ . }} + — + {{ . }} {{ end }} {{ if eq .Section "post" }} @@ -31,9 +32,9 @@ {{ end }} {{ with .Params.categories }} - | <i class="fas fa-bookmark"></i> + | <i class="fas fa-folder-open"></i> {{ range . }} - {{ $href := print (absURL "tags/") (urlize .) }} + {{ $href := print (absURL "categories/") (urlize .) }} <a class="link underline near-black" href="{{ $href }}">{{ . }}</a> {{ end }} {{ end }} |