From f9facbcbff5f76f62775bd6009c48276d1bb4e29 Mon Sep 17 00:00:00 2001 From: zPlus Date: Sat, 2 Mar 2019 05:51:27 +0100 Subject: [PATCH] Fix #87 Add postTitle and correct link URL to comments RSS. --- freepost/templates/rss_comments.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/freepost/templates/rss_comments.xml b/freepost/templates/rss_comments.xml index 5537f820..775f31df 100644 --- a/freepost/templates/rss_comments.xml +++ b/freepost/templates/rss_comments.xml @@ -8,11 +8,13 @@ {% for comment in comments %} {# freepost URL of this comment #} - {% set freepost_url = base_url ~ url ('post', hash_id=comment.postHashId) %} + {% set freepost_url = base_url ~ url('post', hash_id=comment.postHashId) ~ '#comment-' ~ comment.hashId %} {{ comment.hashId }} - TITLE + + {{ comment.postTitle }} + {{ comment.text }}