aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-15 15:45:22 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-15 15:45:22 +0200
commitd0200f3f07604edab12d647838feebfd82423f67 (patch)
tree3165fcea9f25686ae2676a5bb40a31703bc3190d /layouts/partials
parenta8382f9a13d0f6fa40c34a75928cabe749cee5f8 (diff)
downloadhugo-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.html7
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 }}
- &mdash; {{ . }}
+ &mdash;
+ {{ . }}
{{ 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 }}