From cd710363419f5144062707e8cd170278052924fa Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Wed, 6 Sep 2023 23:20:44 +0200 Subject: Author config --- layouts/partials/author_card.html | 8 ++++---- layouts/partials/metadata.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index 25e0701..23d97ae 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -1,12 +1,12 @@
- +
-
{{ .Site.Params.Owner }}
-
{{ .Site.Params.Role }}
+
{{ .Site.Author.name }}
+
{{ .Site.Author.role }}

- {{ .Site.Params.bio }} + {{ .Site.Author.bio }}

diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 77373f9..f4e48e8 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,7 +1,7 @@ {{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} -

By {{ range .Params.authors }} {{ . }} {{ end }} +

By {{ range .Params.author }} {{ . }} {{ end }}
-- cgit v1.2.3