forked from MarseyWorld/MarseyWorld
actually dont hide sidebar images, just display a stock one
parent
e2876f4e1b
commit
89bb78c9fc
|
@ -15,25 +15,25 @@
|
|||
</h5>
|
||||
</a>
|
||||
|
||||
{% if v %}
|
||||
{% if IS_FISTMAS() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
|
||||
{% elif IS_EVENT() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
|
||||
{%- elif v -%}
|
||||
{%- set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") -%}
|
||||
{%- else -%}
|
||||
{%- set image = SITE_FULL_IMAGES ~ '/i/' ~ SITE_NAME ~ '/sidebar.webp?x=7' -%}
|
||||
{%- endif -%}
|
||||
{% if not v %}
|
||||
{% set image = "https://i.watchpeopledie.tv/assets/images/WPD/sidebar/1.webp?x=7" %}
|
||||
{% elif IS_FISTMAS() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
|
||||
{% elif IS_EVENT() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
|
||||
{%- elif v -%}
|
||||
{%- set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") -%}
|
||||
{%- else -%}
|
||||
{%- set image = SITE_FULL_IMAGES ~ '/i/' ~ SITE_NAME ~ '/sidebar.webp?x=7' -%}
|
||||
{%- endif -%}
|
||||
|
||||
{% if request.path != '/sidebar' %}
|
||||
{% if IS_HOMOWEEN() %}
|
||||
{% include "events/homoween/eye_tracking.html" %}
|
||||
{% else %}
|
||||
<a href="{{image}}">
|
||||
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}">
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if request.path != '/sidebar' %}
|
||||
{% if IS_HOMOWEEN() %}
|
||||
{% include "events/homoween/eye_tracking.html" %}
|
||||
{% else %}
|
||||
<a href="{{image}}">
|
||||
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}">
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -14,30 +14,30 @@
|
|||
Current registered users: {{current_registered_users()}}
|
||||
</h5>
|
||||
</a>
|
||||
|
||||
{% if v %}
|
||||
{% if hole and hole.sidebarurls %}
|
||||
{% set image = hole.random_sidebar %}
|
||||
{% elif IS_FISTMAS() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
|
||||
{% elif IS_EVENT() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
|
||||
{% else %}
|
||||
{% set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") %}
|
||||
{% endif %}
|
||||
|
||||
{% if request.path != '/sidebar' %}
|
||||
{% if IS_HOMOWEEN() and not (hole and hole.sidebarurls) %}
|
||||
{% include "events/homoween/eye_tracking.html" %}
|
||||
{% elif v and (v.is_banned or v.chud) %}
|
||||
<a href="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp">
|
||||
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp">
|
||||
</a>
|
||||
{% elif not (hole and hole.name == 'chudrama' and v and not v.can_see_chudrama) %}
|
||||
<a href="{{image}}">
|
||||
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}">
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if not v %}
|
||||
{% set image = "https://i.rdrama.net/assets/images/rDrama/sidebar/63.webp?x=7" %}
|
||||
{% elif hole and hole.sidebarurls %}
|
||||
{% set image = hole.random_sidebar %}
|
||||
{% elif IS_FISTMAS() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
|
||||
{% elif IS_EVENT() %}
|
||||
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
|
||||
{% else %}
|
||||
{% set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") %}
|
||||
{% endif %}
|
||||
|
||||
{% if request.path != '/sidebar' %}
|
||||
{% if IS_HOMOWEEN() and not (hole and hole.sidebarurls) %}
|
||||
{% include "events/homoween/eye_tracking.html" %}
|
||||
{% elif v and (v.is_banned or v.chud) %}
|
||||
<a href="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp">
|
||||
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp">
|
||||
</a>
|
||||
{% elif not (hole and hole.name == 'chudrama' and v and not v.can_see_chudrama) %}
|
||||
<a href="{{image}}">
|
||||
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}">
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue