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.
This commit is contained in:
TLSM 2022-04-28 17:58:41 -04:00 committed by GitHub
parent 93ac4ec582
commit 060e19bfb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 4 deletions

View file

@ -21,12 +21,9 @@
{% endif %}
{% if SITE_NAME == 'rDrama' %}
<div class="srd">
<a style="color: white" class="text-small-mobile" href="https://www.independent.co.uk/news/world/americas/us-politics/reddit-conservatives-post-trans-child-fake-b2060803.html">As seen on The Independent 📰✨💞</a>
</div>
{% include "journoid_banner.html" %}
{% endif %}
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0;">
<a href="/" class="navbar-brand mr-auto {% if SITE_NAME in ('PCM','WPD') and not sub %}flex-grow-1{% endif %}">