forked from rDrama/rDrama
actually dont hide sidebar images, just display a stock one
parent
e2876f4e1b
commit
89bb78c9fc
|
@ -15,8 +15,9 @@
|
|||
</h5>
|
||||
</a>
|
||||
|
||||
{% if v %}
|
||||
{% if IS_FISTMAS() %}
|
||||
{% 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") %}
|
||||
|
@ -35,7 +36,6 @@
|
|||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<p class="text-center text-md mb-4">
|
||||
<a class="sidebar-link d-md-none" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="top" title="Leaderboard"><i class="fas fa-trophy"></i></a>
|
||||
|
|
|
@ -15,8 +15,9 @@
|
|||
</h5>
|
||||
</a>
|
||||
|
||||
{% if v %}
|
||||
{% if hole and hole.sidebarurls %}
|
||||
{% 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 ) %}
|
||||
|
@ -39,7 +40,6 @@
|
|||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<p class="text-center text-md mb-4">
|
||||
<a class="sidebar-link d-md-none" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="top" title="Leaderboard"><i class="fas fa-trophy"></i></a>
|
||||
|
|
Loading…
Reference in New Issue