🔀 Merge pull request #439 from davidrothera/article-link-fix

Fix a11y issues with article-link
This commit is contained in:
James Panther
2023-01-13 07:47:41 +11:00
committed by GitHub
+2
View File
@@ -10,6 +10,7 @@
{{ else }}
{{ $.RelPermalink }}
{{ end }}"
aria-label="{{ $.Title | emojify }}"
>
<img
class="w-24 rounded-md sm:w-40"
@@ -17,6 +18,7 @@
{{- (.Fill "160x120 smart").RelPermalink }} 160w,
{{- (.Fill "320x240 smart").RelPermalink }} 2x"
src="{{ (.Fill "160x120 smart").RelPermalink }}"
alt=""
/>
</a>
</div>