aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/metadata.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-11-09 17:49:48 +0100
committerOscar Najera <hi@oscarnajera.com>2023-11-09 17:49:48 +0100
commitb5d749c64f0b96bbbb70a623693e8091abc37e82 (patch)
tree8b728388f88dee6590514801acab91afcb18b2f4 /layouts/partials/metadata.html
parent4a826ff2748eafdbf63dd0547706ed7dc7ed3d76 (diff)
downloadhugo-minimalist-theme-b5d749c64f0b96bbbb70a623693e8091abc37e82.tar.gz
hugo-minimalist-theme-b5d749c64f0b96bbbb70a623693e8091abc37e82.tar.bz2
hugo-minimalist-theme-b5d749c64f0b96bbbb70a623693e8091abc37e82.zip
Format and styling
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r--layouts/partials/metadata.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index 7756667..b2136bc 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -1,6 +1,6 @@
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
-<p class="f6 lh-copy mv0 ph4 pv2">
+<div class="f6 lh-copy mv0 ph4 pv2">
By
{{ with .Params.author }}
<span class="author"> &mdash; {{ delimit . ", " }} </span>
@@ -27,9 +27,9 @@
<i class="fas fa-tags"></i>
</a>
{{ range . }}
- <a class="link underline color-inherit" href="{{ .RelPermalink }}"
- >{{ .Title }}</a
- >
+ <a class="link underline color-inherit" href="{{ .RelPermalink }}">
+ {{- .Title -}}
+ </a>
{{ end }}
{{ end }}
@@ -39,9 +39,9 @@
<i class="fas fa-folder-open"></i>
</a>
{{ range . }}
- <a class="link underline color-inherit" href="{{ .RelPermalink }}"
- >{{ .Title }}</a
- >
+ <a class="link underline color-inherit" href="{{ .RelPermalink }}">
+ {{- .Title -}}
+ </a>
{{ end }}
{{ end }}
-</p>
+</div>