Add alt text to image
This commit is contained in:
parent
d777065d8d
commit
f1b5bebff9
@ -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 }}" />
|
<img class="mb-2 rounded-full w-36 h-36" src="{{ . | relURL }}" alt="{{ $.Site.Author.alternative }}" />
|
||||||
{{ 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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user