gnunet-svn
[Top][All Lists]
Advanced

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

[www] 02/19: rm old templates folder.


From: gnunet
Subject: [www] 02/19: rm old templates folder.
Date: Wed, 13 Nov 2019 01:28:34 +0100

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

ng0 pushed a commit to branch master
in repository www.

commit f5f8e193eef587acd7b51a2abb71e946a6f63f1d
Author: ng0 <address@hidden>
AuthorDate: Tue Nov 12 15:52:20 2019 +0000

    rm old templates folder.
---
 templates/feed-atom.py |  4 ----
 templates/feed.atom.j2 | 12 ------------
 templates/feed.xml     | 15 ---------------
 3 files changed, 31 deletions(-)

diff --git a/templates/feed-atom.py b/templates/feed-atom.py
deleted file mode 100644
index 37a596c..0000000
--- a/templates/feed-atom.py
+++ /dev/null
@@ -1,4 +0,0 @@
-import jinja2
-
-env = jinja2.Environment(loader=jinja2.FileSystemLoader("."))
-print(env.get_template("feed.rss.j2").render(items=get_list_of_items()))
diff --git a/templates/feed.atom.j2 b/templates/feed.atom.j2
deleted file mode 100644
index 0a201ff..0000000
--- a/templates/feed.atom.j2
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<feed xmlns="http://www.w3.org/2005/Atom";>
-       <author>Author's name</author</author>
-       <title>Feed title</title>
-       {% for item in items %}
-       <entry>
-               <title>{{ item[0] }}</title>
-               <link href="{{ item[1] }}" />
-               <content type="html">{{ item[2] }}</content>
-       </entry>
-       {% endfor %}
-</feed> 
diff --git a/templates/feed.xml b/templates/feed.xml
deleted file mode 100644
index e509fd1..0000000
--- a/templates/feed.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<rss version="2.0">
-       <channel>
-               <title>{{ title }}</title>
-               <link>{{ site_url }}</link>
-               <description>gnunet.org feed</description>
-               {% for item in items %}
-               <item>
-                       <title>{{ item[0] }}</title>
-                       <link href="{{ item[1] }}" />
-                       <content type="html">{{ item[2] }}</content>
-               </item>
-               {% endfor %}
-       </channel>
-</rss> 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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