diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-15 05:16:38 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-15 06:16:55 +0200 |
commit | 13573a3dc3bf76f04a77999bbfc9bd3d76931bff (patch) | |
tree | a4a3d099e990b4f5a8aa1b56df051095e1470fb8 /layouts | |
parent | 3a3ea44d52d93fb8b6c7c96c81cea2957b69a07a (diff) | |
download | hugo-minimalist-theme-13573a3dc3bf76f04a77999bbfc9bd3d76931bff.tar.gz hugo-minimalist-theme-13573a3dc3bf76f04a77999bbfc9bd3d76931bff.tar.bz2 hugo-minimalist-theme-13573a3dc3bf76f04a77999bbfc9bd3d76931bff.zip |
Metadata location info
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/metadata.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index baab03a..0b73bc6 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -14,7 +14,14 @@ <time datetime="{{ $dateTime }}"> {{ .PublishDate.Format $dateFormat }} </time> - | {{ .ReadingTime }} mins read + {{ with .Params.location }} + — {{ . }} + {{ end }} + + {{ if eq .Section "post" }} + | {{ .ReadingTime }} mins read + {{ end }} + {{ with .Params.tags }} | <i class="fas fa-tags"></i> {{ range . }} @@ -22,6 +29,7 @@ <a class="link underline near-black" href="{{ $href }}">{{ . }}</a> {{ end }} {{ end }} + {{ with .Params.categories }} | <i class="fas fa-bookmark"></i> {{ range . }} |