add the subsidiary to the random blurbs

master
Aevann1 2022-11-04 20:30:56 +02:00
parent 3f457333b5
commit 40a6ed5155
2 changed files with 6 additions and 7 deletions

View File

@ -16,7 +16,7 @@
{% if not err %}
<div class="srd">
{% if SITE_NAME == 'rDrama' %}
{% if True or range(1,5) | random == 1 %}
{% if range(1,5) | random == 1 %}
{% include "journoid_banner.html" %}
{% else %}
{%-

View File

@ -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",
""
) %}
<a rel="nofollow noopener" id="srd-link" href="{{journoid[1]}}">{{journoid[0]}}</a>
{% if journoid[2] %}