forked from rDrama/rDrama
parent
7a9305e3fb
commit
e17dbedbde
|
@ -71,8 +71,13 @@
|
||||||
{% set icon_url = macros.random_image('assets/events/fistmas/images/icon/' ~ SITE_NAME) %}
|
{% set icon_url = macros.random_image('assets/events/fistmas/images/icon/' ~ SITE_NAME) %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set icon_url = 'headericon.webp' | asset_siteimg %}
|
{% set icon_url = 'headericon.webp' | asset_siteimg %}
|
||||||
|
{% if SITE_NAME == 'rDrama' %}
|
||||||
|
{% set width="40" %}
|
||||||
|
{% elif SITE_NAME == 'WPD' %}
|
||||||
|
{% set width="45" %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<img loading="lazy" id="header--icon" alt="header icon" {% if sub %}src="{{sub.marsey_url}}"{% else %}src="{{icon_url}}"{% 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 %}>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% if sub %}
|
{% if sub %}
|
||||||
|
|
Loading…
Reference in New Issue