Skip to content

Commit

Permalink
🔀 Merge pull request #8 from stphnwlsh/dev
Browse files Browse the repository at this point in the history
Add alternative text to author image
  • Loading branch information
jpanther authored Jun 17, 2022
2 parents d777065 + 6c5b16e commit 0848597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<article class="flex flex-col items-center justify-center h-full mt-10 text-center">
<header class="flex flex-col items-center mb-3">
{{ 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.name }}" />
{{ end }}
<h1 class="text-4xl font-extrabold dark:text-white">
{{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }}
Expand Down

0 comments on commit 0848597

Please # to comment.