fix /h/selfharm video sidebar

master
Aevann 2024-08-11 19:13:47 +03:00
parent eaa05fdb55
commit 707e3e303a
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
{% endif %}
{% if request.path != '/sidebar' %}
{% if SITE_NAME == 'WPD' and hole == 'selfharm' and range(10)|random == 0 %}
{% if SITE_NAME == 'WPD' and hole and hole.name == 'selfharm' and range(10)|random == 0 %}
<video class="mb-4" poster="https://i.watchpeopledie.tv/images/17233922718609142.webp" controls loop preload="none" src="https://videos.watchpeopledie.tv/17233922716448271.mp4"></video>
{% elif IS_HOMOWEEN() %}
{% include "events/homoween/eye_tracking.html" %}