Implement syndication of news
This commit is contained in:
2
templates/news/_feed_description.html
Normal file
2
templates/news/_feed_description.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{% load markup %}
|
||||
{{ obj.body|markdown }}
|
@@ -1,4 +1,5 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load static %}
|
||||
{% load markup %}
|
||||
{% load comments %}
|
||||
|
||||
@@ -13,4 +14,7 @@
|
||||
</div>
|
||||
<div class="commentcount">{% get_comment_count for post as comment_count %}{{comment_count}} comments.</div>
|
||||
{% endfor %}
|
||||
|
||||
{% get_static_prefix as STATIC_PREFIX %}
|
||||
<a href="/news/feed"><img src="{{ STATIC_PREFIX }}/feed.png"/></a>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user