summaryrefslogtreecommitdiff
path: root/design/templates/feed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/feed.xml')
-rw-r--r--design/templates/feed.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/feed.xml b/design/templates/feed.xml
index 7745976..827a783 100644
--- a/design/templates/feed.xml
+++ b/design/templates/feed.xml
@@ -15,8 +15,8 @@
<webMaster>comments@libregraf.net</webMaster>{% for object in object_list %}
<item>
<title>{{object.title|escape}}</title>
- <link>{{SITE_URL}}{{object.get_absolute_url}}</link>
- <guid>{{SITE_URL}}{{object.get_absolute_url}}</guid>
+ <link>{% if object.link_url %}{{object.link_url}}{%else%}{{SITE_URL}}{{object.get_absolute_url}}{%endif%}</link>
+ <guid>{% if object.link_url %}{{object.link_url}}{%else%}{{SITE_URL}}{{object.get_absolute_url}}{%endif%}</guid>
<description>
{{object.body_html|escape}}
</description>