[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.
- [www] branch master updated (076ecac -> 429a2ae), gnunet, 2019/11/12
- [www] 03/19: ignore old/, gnunet, 2019/11/12
- [www] 05/19: add yapf style to bootstrap., gnunet, 2019/11/12
- [www] 04/19: removed help submodule., gnunet, 2019/11/12
- [www] 02/19: rm old templates folder.,
gnunet <=
- [www] 01/19: drop guix-env.scm, no longer maintained., gnunet, 2019/11/12
- [www] 06/19: remove FIXME., gnunet, 2019/11/12
- [www] 09/19: move jinja2 ext to inc., gnunet, 2019/11/12
- [www] 07/19: remove taler flyer, leftover from initial base., gnunet, 2019/11/12
- [www] 15/19: build-system, gnunet, 2019/11/12
- [www] 14/19: add submodule for www_shared -> inc., gnunet, 2019/11/12
- [www] 08/19: minor syntax fixes in engage., gnunet, 2019/11/12
- [www] 16/19: inc, new commits, gnunet, 2019/11/12
- [www] 13/19: move inc to www_shared repo, gnunet, 2019/11/12
- [www] 12/19: inc: more logic to remove code from Makefile. news/index.hmtl.j2: syntax., gnunet, 2019/11/12