1
0
mirror of https://github.com/chylex/Blog.git synced 2025-05-14 15:34:05 +02:00

Add image dimensions and aria-label to avatar link in the header

This commit is contained in:
chylex 2022-06-11 13:49:48 +02:00
parent 44e3800e1b
commit faf2bc3cf2
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -20,7 +20,9 @@
<header class="page-header" role="banner">
<h1 class="project-name">
{% if page.titleimg %}
<a href="https://chylex.com/" class="project-name-image"><img src="{{ page.titleimg | relative_url }}" alt=""></a>
<a href="https://chylex.com/" class="project-name-image" aria-label="Visit chylex.com">
<img src="{{ page.titleimg | relative_url }}" alt="" width="120" height="120">
</a>
{% endif %}
<span class="project-name-text">{{ page.title | default: site.title }}</span>
</h1>