From b5d749c64f0b96bbbb70a623693e8091abc37e82 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Thu, 9 Nov 2023 17:49:48 +0100 Subject: Format and styling --- layouts/partials/header.html | 46 ++++++++++++++++++++++++------------------ layouts/partials/metadata.html | 16 +++++++-------- layouts/partials/post.html | 2 +- 3 files changed, 35 insertions(+), 29 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c0418b2..0d777ca 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,27 +1,33 @@ 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" }} -

+

By {{ with .Params.author }} — {{ delimit . ", " }} @@ -27,9 +27,9 @@ {{ range . }} - {{ .Title }} + + {{- .Title -}} + {{ end }} {{ end }} @@ -39,9 +39,9 @@ {{ range . }} - {{ .Title }} + + {{- .Title -}} + {{ end }} {{ end }} -

+
diff --git a/layouts/partials/post.html b/layouts/partials/post.html index ef9f03e..1542235 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -1,6 +1,6 @@
{{ partial "meta_links.html" . }} - +
{{ $image := "" }} {{ if (.Resources.ByType "image").GetMatch "featured*" }} -- cgit v1.2.3