mirror of https://gitlab.com/tildes/tildes.git
Browse Source
TEMP: Add some hacky coronavirus "views"
TEMP: Add some hacky coronavirus "views"
This adds two links at the top of the home page that go to different "views" - one includes only topics related to the coronavirus, while the other filters out all coronavirus topics. For the purposes of these views, a "coronavirus topic" is one that is either in the ~health.coronavirus group, or has coronaviruses.covid19 tag. This is very hacky and will only work on the main tildes.net site due to hardcoded group name and tag. I'm okay with that.merge-requests/110/head
Deimos
5 years ago
5 changed files with 65 additions and 2 deletions
-
4tildes/scss/themes/_theme_base.scss
-
2tildes/tildes/request_methods.py
-
18tildes/tildes/templates/home.jinja2
-
4tildes/tildes/templates/topic_listing.jinja2
-
39tildes/tildes/views/topic.py
Write
Preview
Loading…
Cancel
Save
Reference in new issue