Revert using the alternative setting to use name instead

This commit is contained in:
Stephen Walsh 2022-06-16 12:03:17 +10:00 committed by GitHub
parent 80b8e7bd8e
commit b0e151acb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
<article class="flex flex-col items-center justify-center h-full mt-10 text-center"> <article class="flex flex-col items-center justify-center h-full mt-10 text-center">
<header class="flex flex-col items-center mb-3"> <header class="flex flex-col items-center mb-3">
{{ with .Site.Author.image }} {{ with .Site.Author.image }}
<img class="mb-2 rounded-full w-36 h-36" src="{{ . | relURL }}" alt="{{ $.Site.Author.alternative }}" /> <img class="mb-2 rounded-full w-36 h-36" src="{{ . | relURL }}" alt="{{ $.Site.Author.name }}" />
{{ end }} {{ end }}
<h1 class="text-4xl font-extrabold dark:text-white"> <h1 class="text-4xl font-extrabold dark:text-white">
{{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }} {{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }}