diff --git a/layouts/partials/authorbox.html b/layouts/partials/authorbox.html index 20d6dfec..685272a2 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..d1a476ce 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 diff --git a/layouts/partials/widgets/languages.html b/layouts/partials/widgets/languages.html index e54adb1e..3c20ab11 100644 --- a/layouts/partials/widgets/languages.html +++ b/layouts/partials/widgets/languages.html @@ -1,5 +1,5 @@ {{- $translations := .Site.Home.AllTranslations }} -{{- if and .Site.IsMultiLingual (gt (len $translations) 0) }} +{{- if and hugo.IsMultilingual (gt (len $translations) 0) }}

{{ T "languages_title" }}