From c52b26f4049f306576a0241754a0d68489100668 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 20 May 2021 16:12:24 -0700 Subject: [PATCH] Moves rss templates to base level directory --- .../templates/{snippets/rss_content.html => rss/content.html} | 0 .../templates/{snippets/rss_title.html => rss/title.html} | 0 bookwyrm/views/rss_feed.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename bookwyrm/templates/{snippets/rss_content.html => rss/content.html} (100%) rename bookwyrm/templates/{snippets/rss_title.html => rss/title.html} (100%) diff --git a/bookwyrm/templates/snippets/rss_content.html b/bookwyrm/templates/rss/content.html similarity index 100% rename from bookwyrm/templates/snippets/rss_content.html rename to bookwyrm/templates/rss/content.html diff --git a/bookwyrm/templates/snippets/rss_title.html b/bookwyrm/templates/rss/title.html similarity index 100% rename from bookwyrm/templates/snippets/rss_title.html rename to bookwyrm/templates/rss/title.html diff --git a/bookwyrm/views/rss_feed.py b/bookwyrm/views/rss_feed.py index f1678b7f..f3613a09 100644 --- a/bookwyrm/views/rss_feed.py +++ b/bookwyrm/views/rss_feed.py @@ -7,8 +7,8 @@ from .helpers import get_user_from_username, privacy_filter class RssFeed(Feed): """serialize user's posts in rss feed""" - description_template = "snippets/rss_content.html" - title_template = "snippets/rss_title.html" + description_template = "rss/content.html" + title_template = "rss/title.html" def get_object(self, request, username): """the user who's posts get serialized"""