PCM: disable sidebar image (by request).
parent
0095012e02
commit
3724edbd47
|
@ -40,10 +40,10 @@
|
||||||
{% if sub %}
|
{% if sub %}
|
||||||
{% set image=sub.sidebar_url %}
|
{% set image=sub.sidebar_url %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set image='/i/' + SITE_NAME + '/sidebar.webp?v=3009' %}
|
{# set image='/i/' + SITE_NAME + '/sidebar.webp?v=3009' #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if request.path != '/sidebar' %}
|
{% if request.path != '/sidebar' and image %}
|
||||||
<a href="{{image}}">
|
<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>
|
||||||
|
|
Loading…
Reference in New Issue