mirror of
https://github.com/chylex/Blog.git
synced 2025-06-06 09:34:08 +02:00
Add image dimensions and aria-label to avatar link in the header
This commit is contained in:
parent
44e3800e1b
commit
faf2bc3cf2
@ -20,7 +20,9 @@
|
|||||||
<header class="page-header" role="banner">
|
<header class="page-header" role="banner">
|
||||||
<h1 class="project-name">
|
<h1 class="project-name">
|
||||||
{% if page.titleimg %}
|
{% 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 %}
|
{% endif %}
|
||||||
<span class="project-name-text">{{ page.title | default: site.title }}</span>
|
<span class="project-name-text">{{ page.title | default: site.title }}</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
Loading…
Reference in New Issue
Block a user