diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-05 23:44:45 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-05 23:45:00 +0100 |
commit | 4b76a856b2841fb197acc982ed168bc52db6ea3d (patch) | |
tree | bb92327990d20b262dca7f597453c8ae7bfee16d /layouts/partials/metadata.html | |
parent | f9e5452a0046e6e47425f0c58d438d0f573fece9 (diff) | |
download | hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.gz hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.bz2 hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.zip |
add tailwind and do some replacements
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r-- | layouts/partials/metadata.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index e1408ad..668ac20 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,13 +1,13 @@ {{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default ":date_medium" }} -<div class="f6 lh-copy mv0 ph4 pv2"> +<div class="f6 lh-copy my-0 ph4 py-2"> {{ T "author_by" }} — {{ range .Params.authors }} {{ $name := . }} {{ $path := printf "/%s/%s" "authors" ( $name | urlize ) }} {{ with $.GetPage $path }} {{ if isset .Params "name" }} - <a class="link underline color-inherit" href="{{ .RelPermalink }}"> + <a class="underline color-inherit" href="{{ .RelPermalink }}"> {{- default $name .Params.name -}} </a> {{ else }} @@ -36,11 +36,11 @@ {{ with .GetTerms "tags" }} | - <a href="/tags" class="link w3-text-theme ph1"> + <a href="/tags" class="w3-text-theme px-1"> <i class="fas fa-tags"></i> </a> {{ range . }} - <a class="link underline color-inherit" href="{{ .RelPermalink }}"> + <a class="underline color-inherit" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} @@ -48,11 +48,11 @@ {{ with .GetTerms "categories" }} | - <a href="/categories" class="link w3-text-theme ph1"> + <a href="/categories" class="w3-text-theme px-1"> <i class="fas fa-folder-open"></i> </a> {{ range . }} - <a class="link underline color-inherit" href="{{ .RelPermalink }}"> + <a class="underline color-inherit" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} |