From 3e8e299fb8f4303795f02f545df53ad9c75c3d72 Mon Sep 17 00:00:00 2001 From: TLSM <104547575+TLSM@users.noreply.github.com> Date: Thu, 28 Apr 2022 17:58:41 -0400 Subject: [PATCH] Add dynamic journoid banner text. (#232) The .srd header banner currently has fixed text. However, there have been many gayops which have made the news. journoid_banner.html is a dynamic template which selects a random one to present. Also, stylesheets and markup for the banner have been unslurred. --- files/templates/header.html | 5 +---- files/templates/journoid_banner.html | 30 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 files/templates/journoid_banner.html diff --git a/files/templates/header.html b/files/templates/header.html index 2d2844238..e2a179408 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -21,12 +21,9 @@ {% endif %} {% if SITE_NAME == 'rDrama' %} -
- As seen on The Independent 📰✨💞 -
+ {% include "journoid_banner.html" %} {% endif %} -