From f24a2fc033a33dca6db318502204742762398544 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Tue, 5 Oct 2010 10:52:05 -0400 Subject: [PATCH] Added omnibus feed templates. Without these, the feed seemed to work, but the description text was not appearing. --- .../templates/feeds/omnibus_description.html | 10 ++++++++++ www/conservancy/templates/feeds/omnibus_title.html | 1 + 2 files changed, 11 insertions(+) create mode 100644 www/conservancy/templates/feeds/omnibus_description.html create mode 100644 www/conservancy/templates/feeds/omnibus_title.html diff --git a/www/conservancy/templates/feeds/omnibus_description.html b/www/conservancy/templates/feeds/omnibus_description.html new file mode 100644 index 00000000..aac9ae16 --- /dev/null +++ b/www/conservancy/templates/feeds/omnibus_description.html @@ -0,0 +1,10 @@ +{% ifequal obj.omnibus_type "news" %} +

A news item from Software Freedom Conservancy.

+{% endifequal %} +{% ifequal obj.omnibus_type "event" %} +

An upcoming event related to the Software Freedom Conservancy.

+{% endifequal %} +{% ifequal obj.omnibus_type "blog" %} +

An blog post from Software Freedom Conservancy.

+{% endifequal %} +{% include obj.omnibus_feed_description_template %} diff --git a/www/conservancy/templates/feeds/omnibus_title.html b/www/conservancy/templates/feeds/omnibus_title.html new file mode 100644 index 00000000..06b62e8c --- /dev/null +++ b/www/conservancy/templates/feeds/omnibus_title.html @@ -0,0 +1 @@ +{% include obj.omnibus_feed_title_template %}