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:
parent
44e3800e1b
commit
faf2bc3cf2
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user