Fix fistmas sidebar on WPD #219

Closed
G-tix wants to merge 1 commits from <deleted>:master into master
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@
</h5>
</a>
{% if IS_EVENT() %}
{% if IS_FISTMAS() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
{% elif IS_EVENT() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
{%- elif v -%}
{%- set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") -%}