{{calc_users()}}
{% if SITE_NAME == 'rDrama' %}
- {% if not hasattr(g, "loggedin_counter") or not g.loggedin_counter or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %}
+ {% if not hasattr(g, "loggedin_counter") or not g.loggedin_counter or (range(1,5)|random == 1 and not (v and v.truescore > 1000)) %}
{% include "journoid_banner.html" %}
{% else %}
{% if IS_DKD() %}
diff --git a/files/templates/home.html b/files/templates/home.html
index eae4381cb..852efbea9 100644
--- a/files/templates/home.html
+++ b/files/templates/home.html
@@ -8,7 +8,7 @@
Kongrama
{# DELETE_ME_PLS #}
{% elif v %}
-
{{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES|random()}}{% endif %}
+
{{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES|random}}{% endif %}
{% else %}
{{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES[0]}}{% endif %}
{% endif %}
diff --git a/files/templates/root.html b/files/templates/root.html
index 2c3b07248..5e285299f 100644
--- a/files/templates/root.html
+++ b/files/templates/root.html
@@ -36,9 +36,9 @@
{% if IS_HOMOWEEN() and ((v and v.jumpscare) or request.path.startswith('/shop/')) %}
- {% set image_src = SITE_FULL_IMAGES ~ "/assets/events/homoween/images/jumpscares/" ~ listdir("files/assets/events/homoween/images/jumpscares")|random() ~ "?x=45" %}
+ {% set image_src = SITE_FULL_IMAGES ~ "/assets/events/homoween/images/jumpscares/" ~ listdir("files/assets/events/homoween/images/jumpscares")|random ~ "?x=45" %}
- {% set audio_src = "/assets/events/homoween/audio/jumpscares/" ~ listdir("files/assets/events/homoween/audio/jumpscares")|random() ~ "?x=45" %}
+ {% set audio_src = "/assets/events/homoween/audio/jumpscares/" ~ listdir("files/assets/events/homoween/audio/jumpscares")|random ~ "?x=45" %}
{% endif %}
diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html
index 5f0d78cf1..a047dbb26 100644
--- a/files/templates/util/macros.html
+++ b/files/templates/util/macros.html
@@ -8,7 +8,7 @@
{% if request.path.startswith('/post/') and p %}
{{- SITE_FULL_IMAGES ~ "/" ~ path ~ "/" ~ listdir('files/' ~ path)|seeded_random(p.id) ~ '?x=7' -}}
{% else %}
- {{- SITE_FULL_IMAGES ~ "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=7' -}}
+ {{- SITE_FULL_IMAGES ~ "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random ~ '?x=7' -}}
{% endif %}
{%- endmacro -%}