fix last commit

pull/44/head
Aevann1 2022-12-04 03:39:09 +02:00
parent ed834225ae
commit 1bb80046f4
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{% if sub %}
{% set image=sub.sidebar_url %}
{% else %}
{% set image = macros.random_image("sidebar") %}
{% set image = "/i/{{SITE_NAME}}/sidebar/873.webp" %}
{% endif %}
{% 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%>
</a>
{% 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%>
</a>
{% endif %}