home » zplus/freepost.git
Author zPlus <zplus@peers.community> 2019-03-02 04:51:27
Committer zPlus <zplus@peers.community> 2019-03-02 04:51:27
Commit f9facbc (patch)
Tree 48339ba
Parent(s)

Fix #87 Add postTitle and correct link URL to comments RSS.


commits diff: fc7c6d2..f9facbc
1 file changed, 4 insertions, 2 deletionsdownload


Diffstat
-rw-r--r-- freepost/templates/rss_comments.xml 6

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+4/-2 M   freepost/templates/rss_comments.xml
index 5537f82..775f31d
old size: 1K - new size: 1K
@@ -8,11 +8,13 @@
8 8
9 9 {% for comment in comments %}
10 10 {# freepost URL of this comment #}
11 - {% set freepost_url = base_url ~ url ('post', hash_id=comment.postHashId) %}
11 + {% set freepost_url = base_url ~ url('post', hash_id=comment.postHashId) ~ '#comment-' ~ comment.hashId %}
12 12
13 13 <item>
14 14 <guid isPermaLink="false">{{ comment.hashId }}</guid>
15 - <title>TITLE</title>
15 + <title>
16 + {{ comment.postTitle }}
17 + </title>
16 18 <description>
17 19 <![CDATA[
18 20 <p>{{ comment.text }}</p>