Added omnibus feed templates. Without these, the feed seemed to work, but
the description text was not appearing.
This commit is contained in:
parent
9b59b9efe3
commit
f24a2fc033
2 changed files with 11 additions and 0 deletions
10
www/conservancy/templates/feeds/omnibus_description.html
Normal file
10
www/conservancy/templates/feeds/omnibus_description.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% ifequal obj.omnibus_type "news" %}
|
||||
<p><i>A <a href="http://{{ site }}/news/">news item</a> from Software Freedom Conservancy.</i></p>
|
||||
{% endifequal %}
|
||||
{% ifequal obj.omnibus_type "event" %}
|
||||
<p><i>An <a href="http://{{ site }}/events/">upcoming event</a> related to the Software Freedom Conservancy.</i></p>
|
||||
{% endifequal %}
|
||||
{% ifequal obj.omnibus_type "blog" %}
|
||||
<p><i>An <a href="http://{{ site }}/blog/">blog post</a> from Software Freedom Conservancy.</i></p>
|
||||
{% endifequal %}
|
||||
{% include obj.omnibus_feed_description_template %}
|
1
www/conservancy/templates/feeds/omnibus_title.html
Normal file
1
www/conservancy/templates/feeds/omnibus_title.html
Normal file
|
@ -0,0 +1 @@
|
|||
{% include obj.omnibus_feed_title_template %}
|
Loading…
Reference in a new issue