{%- set art_path = "assets/images/WPD/sidebar" -%}
{%- set art_image = "/" + art_path + "/" + listdir('files/' + art_path)|random() + '?v=45' -%}
{% if request.path != '/sidebar' %}
{% endif %}
{% if sub and sub.sidebar_html %}
{{sub.sidebar_html|safe}}
{% endif %}