diff options
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 }} |