From 40a6ed515514e30d6050643536c5483c6495d3a9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 4 Nov 2022 20:30:56 +0200 Subject: [PATCH] add the subsidiary to the random blurbs --- files/templates/header.html | 2 +- files/templates/journoid_banner.html | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/files/templates/header.html b/files/templates/header.html index 887403e9b..63fe44c0f 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -16,7 +16,7 @@ {% if not err %}
{% if SITE_NAME == 'rDrama' %} - {% if True or range(1,5) | random == 1 %} + {% if range(1,5) | random == 1 %} {% include "journoid_banner.html" %} {% else %} {%- diff --git a/files/templates/journoid_banner.html b/files/templates/journoid_banner.html index 08c848525..ad9cd7e3d 100644 --- a/files/templates/journoid_banner.html +++ b/files/templates/journoid_banner.html @@ -5,6 +5,11 @@ set JOURNOID_BANNERS = [ "https://reddit.com/r/subredditdrama", "" ), + ( + "A subsidiary of Open Society Foundations", + "https://www.opensocietyfoundations.org", + "" + ), ( "As seen on The Independent 📰✨💞", "https://www.independent.co.uk/news/world/americas/us-politics/reddit-conservatives-post-trans-child-fake-b2060803.html", @@ -39,12 +44,6 @@ set JOURNOID_BANNERS = [ -%} {% set journoid = JOURNOID_BANNERS|random %} -{% set journoid = ( - "A subsidiary of Open Society Foundations", - "https://www.opensocietyfoundations.org", - "" -) %} - {{journoid[0]}} {% if journoid[2] %}