Added alt text for GitHub avatar
This commit is contained in:
Родитель
ede150fdd1
Коммит
f8c175bed8
|
@ -12,7 +12,7 @@ module Jekyll
|
||||||
|
|
||||||
<<~GITHUBAUTHORBLOCK
|
<<~GITHUBAUTHORBLOCK
|
||||||
<div class="github-contributor">
|
<div class="github-contributor">
|
||||||
<img class="github-avatar" src="https://avatars.githubusercontent.com/#{author}?s=60&v=4"/>
|
<img class="github-avatar" alt="@#{author} on Twitter" src="https://avatars.githubusercontent.com/#{author}?s=60&v=4"/>
|
||||||
<span>
|
<span>
|
||||||
<a href="http://github.com/#{author}">@#{author}</a>
|
<a href="http://github.com/#{author}">@#{author}</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -26,4 +26,4 @@ module Jekyll
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Liquid::Template.register_tag('githubauthor', Jekyll::GithubAuthorTag)
|
Liquid::Template.register_tag('githubauthor', Jekyll::GithubAuthorTag)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче