forked from rDrama/rDrama
fix last commit
parent
ed834225ae
commit
1bb80046f4
|
@ -3,7 +3,7 @@
|
||||||
{% if sub %}
|
{% if sub %}
|
||||||
{% set image=sub.sidebar_url %}
|
{% set image=sub.sidebar_url %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set image = macros.random_image("sidebar") %}
|
{% set image = "/i/{{SITE_NAME}}/sidebar/873.webp" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if request.path != '/sidebar' %}
|
{% if request.path != '/sidebar' %}
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="/i/{{SITE_NAME}}/sidebar2.webp" width=100%>
|
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="/i/{{SITE_NAME}}/sidebar2.webp" width=100%>
|
||||||
</a>
|
</a>
|
||||||
{% elif not (sub and sub.name == 'chudrama' and v and not v.can_see_chudrama) %}
|
{% elif not (sub and sub.name == 'chudrama' and v and not v.can_see_chudrama) %}
|
||||||
<a href="/i/{{SITE_NAME}}/sidebar/873.webp">
|
<a href="{{image}}">
|
||||||
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="{{image}}" width=100%>
|
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="{{image}}" width=100%>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue