forked from rDrama/rDrama
1
0
Fork 0

Revert "stop headericon from making page jump"

This reverts commit a2405304e9.
master
Aevann 2023-05-02 21:07:27 +03:00
parent d1904eface
commit 7a9305e3fb
1 changed files with 1 additions and 6 deletions

View File

@ -71,13 +71,8 @@
{% 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 %} {% if width %}width="{{width}}"{% endif %}>
<img loading="lazy" id="header--icon" alt="header icon" {% if sub %}src="{{sub.marsey_url}}"{% else %}src="{{icon_url}}"{% endif %}>
</a>
{% if sub %}