From de099f27f293ad1d482303644e02fb458f3f3502 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Thu, 9 Jan 2025 18:34:49 +0100 Subject: [FIX] Hero blockquote spacing --- layouts/partials/hero.html | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 8ed0b62..3b27d80 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -5,7 +5,7 @@ , url('{{ .RelPermalink }}') center {{ end }};" > -
+
{{ if eq .Type "authors" }} {{ $avatar := index .Params.images 1 }} {{ if hasPrefix $avatar "http" }} @@ -20,27 +20,22 @@ alt="" /> {{ end }} -

- {{ .Params.Name }} -

+
+

{{ .Params.Name }}

+

{{ .Params.role | markdownify }}

-

- {{ .Params.role | markdownify }} -

- - {{ with .Params.Subtitle }} -

- {{ . | markdownify }} -

- {{ end }} + {{ with .Params.Subtitle }} +

{{ . | markdownify }}

+ {{ end }} -
- {{ partial "social_links" .Params }} +
+ {{ partial "social_links" .Params }} +
{{ else }} -

{{ .Title }}

+

{{ .Title }}

{{ .Content }} {{ end }}
-- cgit v1.2.3