exclude holes with custom marseys from last commit

master
Aevann 2023-05-02 22:02:38 +03:00
parent e17dbedbde
commit 35970a08f3
1 changed files with 10 additions and 1 deletions

View File

@ -77,7 +77,16 @@
{% set width="45" %}
{% endif %}
{% endif %}
<img loading="lazy" id="header--icon" alt="header icon" {% if sub %}src="{{sub.marsey_url}}"{% else %}src="{{icon_url}}"{% endif %} {% if width %}width="{{width}}"{% endif %}>
<img loading="lazy" id="header--icon" alt="header icon"
{%- if sub and sub.marseyurl -%}
src="{{sub.marseyurl}}"
{%- else -%}
src="{{icon_url}}"
{%- if width -%}
width="{{width}}"
{%- endif -%}
{%- endif -%}
>
</a>
{% if sub %}