Revert "Revert "stop headericon from making page jump""
This reverts commit 7a9305e3fb
.
pull/143/head
parent
7a9305e3fb
commit
e17dbedbde
|
@ -71,8 +71,13 @@
|
|||
{% set icon_url = macros.random_image('assets/events/fistmas/images/icon/' ~ SITE_NAME) %}
|
||||
{% else %}
|
||||
{% set icon_url = 'headericon.webp' | asset_siteimg %}
|
||||
{% if SITE_NAME == 'rDrama' %}
|
||||
{% set width="40" %}
|
||||
{% elif SITE_NAME == 'WPD' %}
|
||||
{% 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 %}>
|
||||
<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>
|
||||
|
||||
{% if sub %}
|
||||
|
|
Loading…
Reference in New Issue