gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www] 01/02: fix RSS generation, include full body


From: gnunet
Subject: [www] 01/02: fix RSS generation, include full body
Date: Tue, 11 May 2021 18:51:22 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository www.

commit 3d1c49b2a32c4dba24edead1fdae5c50fe8dbf0b
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue May 11 18:48:56 2021 +0200

    fix RSS generation, include full body
---
 common/header.j2.inc | 2 +-
 inc                  | 2 +-
 template/rss.xml.j2  | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/common/header.j2.inc b/common/header.j2.inc
index 9d797fe..b97c9ee 100644
--- a/common/header.j2.inc
+++ b/common/header.j2.inc
@@ -55,7 +55,7 @@
       <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
     <![endif]-->
 
-    <link rel="alternate" type="application/rss+xml" title="GNUnet.org rss" 
href="{{ url_localized('news/rss.xml') }}" />
+    <link rel="alternate" type="application/rss+xml" title="GNUnet.org rss" 
href="{{ url_localized('rss.xml') }}" />
 
     <!-- opengraph -->
     <!--
diff --git a/inc b/inc
index 9e9363e..ebfd9c6 160000
--- a/inc
+++ b/inc
@@ -1 +1 @@
-Subproject commit 9e9363ec2797fcb51f998ce6e388eb9877e8788c
+Subproject commit ebfd9c60d0e59f6373309ac96d8abf6094ceefb9
diff --git a/template/rss.xml.j2 b/template/rss.xml.j2
index 3ffe6d3..d0197c0 100644
--- a/template/rss.xml.j2
+++ b/template/rss.xml.j2
@@ -35,9 +35,9 @@
         <title>{{ newspostitem['title']|e }}</title>
         <description>
           <![CDATA[
-           <article>
-             {{ get_abstract(newspostitem['page'], 1000) }}
-           </article>
+             {% filter extract_body %}
+             {% include (newspostitem['page'] + ".j2") %}
+             {% endfilter %}
            ]]>
         </description>
       </item>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]