fix prev commit

remotes/1719271479679251571/master
Aevann 2024-02-25 01:27:29 +02:00
parent 9c881b4f1c
commit ac31a3e7d5
1 changed files with 6 additions and 5 deletions

View File

@ -137,13 +137,14 @@
{% set width = 45 %} {% set width = 45 %}
{% endif %} {% endif %}
{% endif %} {% endif %}
<img loading="lazy" id="header--icon" alt="/h/{{hole}} icon" <img loading="lazy" id="header--icon"
{%- if hole and hole.marseyurl -%} {%- if hole and hole.marseyurl -%}
src="{{hole.marseyurl}}" alt="/h/{{hole}} icon" src="{{hole.marseyurl}}"
{%- else -%} {%- else -%}
{% if icons %} alt="header icon"
{% set icon_url = "/e/" ~icons|random~ ".webp" %} {%- if icons -%}
{% endif %} {%- set icon_url = "/e/" ~icons|random~ ".webp" -%}
{%- endif -%}
src="{{icon_url}}" src="{{icon_url}}"
{%- if width -%} {%- if width -%}
width="{{width}}" width="{{width}}"