mirror of
https://github.com/welpo/tabi.git
synced 2026-02-16 08:07:19 +01:00
Remove CLS from headshot load
This commit is contained in:
parent
afc2b82c2a
commit
37b11b7605
1 changed files with 10 additions and 9 deletions
|
|
@ -14,7 +14,8 @@
|
|||
{%- set image_path = get_url(path=header.img, trailing_slash=false) | safe -%}
|
||||
{%- endif -%}
|
||||
<div id="image-container-home">
|
||||
<img fetchpriority="high" alt="{{ header.img_alt | default(value="the owner") }}" id="banner-home-img" src="{{ image_path }}" />
|
||||
{% set meta = get_image_metadata(path=header.img, allow_missing=true) %}
|
||||
<img fetchpriority="high" alt="{{ header.img_alt | default(value="the owner") }}" id="banner-home-img" src="{{ image_path }}" {% if meta.width %}width="{{ meta.width }}" {% endif %} {% if meta.height %}height="{{ meta.height }}" {% endif %} />
|
||||
</div>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue