diff options
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r-- | layouts/partials/metadata.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 668ac20..8679be6 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 my-0 ph4 py-2"> +<div class="text-sm my-0 px-8 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="underline color-inherit" href="{{ .RelPermalink }}"> + <a class="underline" href="{{ .RelPermalink }}"> {{- default $name .Params.name -}} </a> {{ else }} @@ -30,17 +30,18 @@ {{ end }} {{ if eq .Section "post" }} - | {{ .ReadingTime }} + | + {{ .ReadingTime }} {{ i18n "minute_read" }} {{ end }} {{ with .GetTerms "tags" }} | - <a href="/tags" class="w3-text-theme px-1"> + <a href="/tags" class="text-lime-500 px-1"> <i class="fas fa-tags"></i> </a> {{ range . }} - <a class="underline color-inherit" href="{{ .RelPermalink }}"> + <a class="underline" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} @@ -48,11 +49,11 @@ {{ with .GetTerms "categories" }} | - <a href="/categories" class="w3-text-theme px-1"> + <a href="/categories" class="text-lime-500 px-1"> <i class="fas fa-folder-open"></i> </a> {{ range . }} - <a class="underline color-inherit" href="{{ .RelPermalink }}"> + <a class="underline" href="{{ .RelPermalink }}"> {{- .Title -}} </a> {{ end }} |