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:
parent
93ac4ec582
commit
060e19bfb0
3 changed files with 39 additions and 4 deletions
|
@ -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 %}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue