diff --git a/layouts/_default/about.html b/layouts/_default/about.html index 4d74524..8070801 100644 --- a/layouts/_default/about.html +++ b/layouts/_default/about.html @@ -2,7 +2,7 @@ {{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
- {{ with .Site.Author.image }} + {{ with .Site.Params.Author.image }} {{ $authorImage := resources.Get . }} {{ if $authorImage }} {{ if not $disableImageOptimization }} @@ -12,13 +12,13 @@ class="mb-2 rounded-full h-36 w-36" width="144" height="144" - alt="{{ $.Site.Author.name | default "Author" }}" + alt="{{ $.Site.Params.Author.name | default "Author" }}" src="{{ $authorImage.RelPermalink }}" /> {{ end }} {{ end }}

- {{ .Site.Author.name | default .Site.Title }} + {{ .Site.Params.Author.name | default .Site.Title }}

{{ partialCached "author-links.html" . }} diff --git a/layouts/partials/home/custom.html b/layouts/partials/home/custom.html index f4617c8..18fb377 100644 --- a/layouts/partials/home/custom.html +++ b/layouts/partials/home/custom.html @@ -1,7 +1,7 @@ {{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
- {{ with .Site.Author.image }} + {{ with .Site.Params.Author.image }} {{ $authorImage := resources.Get . }} {{ if $authorImage }} {{ if not $disableImageOptimization }} @@ -11,15 +11,15 @@ class="mb-2 rounded-full h-36 w-36" width="144" height="144" - alt="{{ $.Site.Author.name | default "Author" }}" + alt="{{ $.Site.Params.Author.name | default "Author" }}" src="{{ $authorImage.RelPermalink }}" /> {{ end }} {{ end }}

- {{ .Site.Author.name | default .Site.Title }} + {{ .Site.Params.Author.name | default .Site.Title }}

- {{ with .Site.Author.headline }} + {{ with .Site.Params.Author.headline }}

{{ . | markdownify | emojify }}