From 8617c1c9bab68c2c2508d8aa8c194ba6b5bc7d79 Mon Sep 17 00:00:00 2001
From: JuliusLongmind <5893405+JuliusLongmind@users.noreply.github.com>
Date: Wed, 9 Oct 2024 20:19:08 +0200
Subject: [PATCH] Deprecated Author taxonomy is used due depretiation
---
layouts/partials/authorbox.html | 10 +++++-----
layouts/partials/post_meta/author.html | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/layouts/partials/authorbox.html b/layouts/partials/authorbox.html
index 20d6dfec..48ce0c4f 100644
--- a/layouts/partials/authorbox.html
+++ b/layouts/partials/authorbox.html
@@ -1,21 +1,21 @@
{{- if .Param "authorbox" }}
- {{- if and (not .Site.Author.avatar) (not .Site.Author.name) (not .Site.Author.bio) }}
+ {{- if and (not .Site.Params.Author.avatar) (not .Site.Params.Author.name) (not .Site.Params.Author.bio) }}
WARNING: Authorbox is activated, but [Author] parameters are not specified.
{{- end }}
- {{- with .Site.Author.avatar }}
+ {{- with .Site.Params.Author.Avatar }}
{{- end }}
- {{- with .Site.Author.name }}
+ {{- with .Site.Params.Author.name }}
{{ T "authorbox_name" (dict "Name" .) }}
{{- end }}
- {{- with .Site.Author.bio }}
+ {{- with .Site.Params.Author.bio }}
{{ . | markdownify }}
diff --git a/layouts/partials/post_meta/author.html b/layouts/partials/post_meta/author.html
index 0ee0fc93..1de6382c 100644
--- a/layouts/partials/post_meta/author.html
+++ b/layouts/partials/post_meta/author.html
@@ -1,6 +1,6 @@
-{{- if .Site.Author.name -}}
+{{- if .Site.Params.Author.Name -}}