From d354f4a6bd0a002a995f221a66afb4697be78145 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 23 Oct 2023 08:28:50 +0200 Subject: Hero about personal uses author role not subtitle This way I can keep in sync with author card --- layouts/partials/author_card.html | 2 +- layouts/partials/hero.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index fdc8926..22d60e0 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -12,7 +12,7 @@ {{ .name }} {{ end }} -
{{ .role }}
+
{{ .role | markdownify }}

{{ .bio }}

diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 93edc74..9ff5329 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -20,6 +20,12 @@ {{ .Title }} + {{ if .Params.personal }} +

+ {{ .Site.Author.role | markdownify }} +

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

{{ . | markdownify }} -- cgit v1.2.3