Fix incorrect RSS Feed generator
This commit is contained in:
@@ -12,12 +12,11 @@
|
||||
<description> {{ blog_description }} </description>
|
||||
{% endif %}
|
||||
<language>fr</language>
|
||||
<lastBuildDate> {{ last_build_date }} </lastBuildDate>
|
||||
|
||||
|
||||
{% for post in posts %}
|
||||
<item>
|
||||
<title> {{ post.title }} </title>
|
||||
<pubdate> {% if post.last_updated %} {{ post.last_updated }} {% else %} {{ post.time }} {% endif %} </pubdate>
|
||||
<pubdate> {% if post.last_updated %} {{ post.last_updated }} {% else %} {{ post.creation_date }} {% endif %} </pubdate>
|
||||
<link> {{base_url}}/{{ url_for('blog.viewArticle', username=post.author, title_id=post.title_id) }}</link>
|
||||
<guid> {{base_url}}/{{ url_for('blog.viewArticle', username=post.author, title_id=post.title_id) }} </guid>
|
||||
|
||||
@@ -26,7 +25,7 @@
|
||||
</description>
|
||||
|
||||
<content:encoded>
|
||||
{{ post.content | safe }}
|
||||
{{ post.content }}
|
||||
</content:encoded>
|
||||
</item>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user