Improve alt attribute

This commit is contained in:
koirand 2020-03-27 18:03:57 +09:00
parent 82fbc5f92a
commit 9c62a74a90
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<!-- avator -->
<div class="avatar">
<img class="avatarMask" src="/img/{{ .Site.Params.avatar }}" alt="{{ .Site.Params.avatarDescription }}">
<img src="/img/avatar-border.svg" class="avatar-border" alt="avatar-border">
<img src="/img/avatar-border.svg" class="avatar-border" alt="">
</div>
<!-- author -->
<h1 class="author">{{ .Site.Params.Author }}</h1>

View file

@ -2,7 +2,7 @@
<!-- avator -->
<div class="avatar">
<img class="avatarMask" src="{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}" alt="{{ .Site.Params.avatarDescription }}">
<a href="{{ .Site.BaseURL }}"><img class="avatar-border" src="{{ .Site.BaseURL }}/img/avatar-border.svg"></a>
<a href="{{ .Site.BaseURL }}"><img class="avatar-border" src="{{ .Site.BaseURL }}/img/avatar-border.svg" alt=""></a>
</div>
<!-- author -->
<h2><a class="author" href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a></h2>