feat(header): add img_alt attribute for customisable alt text

This commit is contained in:
welpo 2023-09-13 19:44:22 +02:00
parent f1d92a73ce
commit 6f50b0e697
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
6 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@
{%- set image_path = get_url(path=header.img, trailing_slash=false) | safe -%}
{%- endif -%}
<div id="image-container-home">
<img alt="the owner" id="banner-home-img" src="{{ image_path }}" />
<img alt="{{ header.img_alt | default(value="the owner") }}" id="banner-home-img" src="{{ image_path }}" />
</div>
{%- endif -%}
</div>