PCM: disable sidebar image (by request).

pull/2/head
Snakes 2022-11-21 01:00:40 -05:00
parent 0095012e02
commit 3724edbd47
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@
{% if sub %}
{% set image=sub.sidebar_url %}
{% else %}
{% set image='/i/' + SITE_NAME + '/sidebar.webp?v=3009' %}
{# set image='/i/' + SITE_NAME + '/sidebar.webp?v=3009' #}
{% endif %}
{% if request.path != '/sidebar' %}
{% if request.path != '/sidebar' and image %}
<a href="{{image}}">
<img class="mb-4" alt="sidebar image" onclick="expandDesktopImage()" loading="lazy" src="{{image}}" width=100%>
</a>