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 }}
- {{ $.Site.Author.name }} avatar + {{ $.Site.Params.Author.name }} 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 -}}
{{ partial "svg/author.svg" (dict "class" "meta__icon") -}} - {{ .Site.Author.name }} + {{ .Site.Params.Author.name }}
{{- end -}} \ No newline at end of file