From ca901e4b99a037553a5afe1beeb50255aeecb27c Mon Sep 17 00:00:00 2001
From: ng0
Date: Tue, 10 Dec 2019 00:47:36 +0000
Subject: merge new website generation.
---
template/bibliography.html.j2 | 92 ++++++++++++++++++++++---------------------
template/docs.html.j2 | 32 +++++++--------
template/features.html.j2 | 14 +++----
template/index.html.j2 | 20 +++++-----
template/news.html.j2 | 20 ----------
template/old-news.html.j2 | 44 ---------------------
template/principles.html.j2 | 18 ++++-----
7 files changed, 90 insertions(+), 150 deletions(-)
delete mode 100644 template/news.html.j2
delete mode 100644 template/old-news.html.j2
(limited to 'template')
diff --git a/template/bibliography.html.j2 b/template/bibliography.html.j2
index af91b8d6..10654830 100644
--- a/template/bibliography.html.j2
+++ b/template/bibliography.html.j2
@@ -1,48 +1,50 @@
{% extends "common/base.j2" %}
{% block body_content %}
-
-
{{ _("GNU Taler Bibliography")}}
-
-
The GNU Taler System: Practical and Provably Secure Electronic Payments
-
-
-{{_("by")}} Florian Dold
-PhD Thesis, 2019
-
-
-
Blind Signatures for Untraceable Payments
-
-
-{{_("by")}} David Chaum
-CRYPTO '82
-
-
-
The One-More-RSA-Inversion Problems and the Security of Chaum's Blind Signature Scheme
-
-
-{{_("by")}} M. Bellare, C. Namprempre, D. Pointcheval {{ _("and") }} M. Semanko
-Financial Cryptography '01
-
-
-
Enabling Secure Web Payments with GNU Taler
-
-
-{{_("by")}} Jeff Burdges, Florian Dold, Christian Grothoff {{ _("and") }} Marcello Stanisci
-SPACE 2016
-
-
-
Digital cash and privacy: What are the alternatives to Libra?
-
-
-{{_("by")}} Christian Grothoff {{ _("and") }} Alex Pentland
-MIT Media Lab, 2019
-
-
-
Refreshing Coins for Giving Change and Refunds in Chaum-style Anonymous Payment Systems
-
-{{_("by")}} Florian Dold, Sree Harsha Totakura, Benedikt Müller, Jeff Burdges {{ _("and") }} Christian Grothoff
-{{_("available upon request")}}
-
-
-
+
+
+ {{ _("GNU Taler Bibliography")}}
+
+
+
+ {% for item in conf["paperslist"] %}
+
+
+
+
+
+ {% if item['url_pdf'] %}
+
+
+
+ {% endif %}
+ {% if item['url_html'] %}
+
+
+
+ {% endif %}
+ {{_("by")}}
+ {% if item['authors'] %}
+ {% for name in item['authors'] %}
+ {{ name|e }}
+ {% if not loop.last %}
+ ,
+ {% elif loop.revindex0 == 1 %}
+ {{ _("and") }}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+
+ {% if item['kind'] %} {{ item['kind']|e }} {% endif %}
+ {% if item['year'] %} ({{ item['year'] }}) {% endif %}
+ {% if item['comment'] %}
{{ item['comment'] }} {% endif %}
+
+
+
+
+ {% endfor %}
+
+
+
{% endblock body_content %}
diff --git a/template/docs.html.j2 b/template/docs.html.j2
index 83fa2e53..2b9c1b0e 100644
--- a/template/docs.html.j2
+++ b/template/docs.html.j2
@@ -1,6 +1,6 @@
{% extends "common/base.j2" %}
{% block body_content %}
-
+{% for siteconfitem in siteconf %}
@@ -33,7 +33,7 @@
-
+
{{ _("Exchange")}}
{% trans %}
- Operator's manual for the GNU Taler exchange.
+ Operator's manual for the GNU Taler exchange.
Also available as
{% endtrans %}
-
PDF.
+
PDF.
@@ -87,7 +87,7 @@
@@ -113,7 +113,7 @@
-
+
{{ _("Onboarding")}}
@@ -131,7 +131,7 @@
Description of our taler.net setup and how to contribute.
Also available as
{% endtrans %}
-
PDF.
+
PDF.
@@ -199,5 +199,5 @@
-
+{% endfor %}
{% endblock body_content %}
diff --git a/template/features.html.j2 b/template/features.html.j2
index e4c44485..c97517ee 100644
--- a/template/features.html.j2
+++ b/template/features.html.j2
@@ -42,7 +42,7 @@
When making a payment, customers only need a charged wallet.
A merchant can accept payments
without making their customers register
- on the merchant's Website.
+ on the merchant's Website.
{% endtrans %}
@@ -57,7 +57,7 @@
-
+
@@ -71,7 +71,7 @@
{% trans %}
To pay with Taler, customers install an electronic wallet
on their device. Before the first payment, the desired currency
- must be added to the wallet's balance
+ must be added to the wallet's balance
by some other means of payment.
{% endtrans %}
@@ -97,8 +97,8 @@
To receive Taler payments, a merchant needs a bank account
in the desired currency. We provide supporting software
in various programming languages to make the integration painless.
- The merchant's backend for Taler transaction processing can run
- on the merchant's premises or be hosted by a third party.
+ The merchant's backend for Taler transaction processing can run
+ on the merchant's premises or be hosted by a third party.
{% endtrans %}
@@ -144,7 +144,7 @@
Taler does not introduce a new currency. Taler
uses a digital wallet storing coins and payment service
providers with escrow accounts in existing currencies.
- Thus, Taler's cryptographic coins correspond to existing
+ Thus, Taler's cryptographic coins correspond to existing
currencies, such as US Dollars, Euros or even Bitcoins.
{% endtrans %}
@@ -170,7 +170,7 @@
{% trans %}
- When using Taler, merchant's revenue is transparent for tax
+ When using Taler, merchant's revenue is transparent for tax
collection authorities. Unlike cash and most digital currencies,
Taler helps prevent black markets. Taler is not suitable for
illegal activities.
diff --git a/template/index.html.j2 b/template/index.html.j2
index 59937c6a..e74f82cd 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -1,17 +1,19 @@
{% extends "common/base.j2" %}
{% block body_content %}
-
+ {% import 'inc/news.macro.j2' as news %}
-
+
diff --git a/template/news.html.j2 b/template/news.html.j2
deleted file mode 100644
index 311f4c15..00000000
--- a/template/news.html.j2
+++ /dev/null
@@ -1,20 +0,0 @@
-{% extends "common/base.j2" %}
-{% block body_content %}
-
-
-
-
{{ _("News")}}
-
- {% include "news/2018-04.inc" %}
- {% include "news/2017-10.inc" %}
- {# include "news/2017-08.inc" #}
- {# include "news/2017-04.inc" #}
- {# include "news/2017-03.inc" #}
- {# include "news/2017-02.inc" #}
- {% include "news/2017-01.inc" %}
-
-
{{ _("More news")}}
-
-
-
-{% endblock body_content %}
diff --git a/template/old-news.html.j2 b/template/old-news.html.j2
deleted file mode 100644
index 611b4ae8..00000000
--- a/template/old-news.html.j2
+++ /dev/null
@@ -1,44 +0,0 @@
-{% extends "common/base.j2" %}
-{% block body_content %}
-
-
-
-
{{ _("Older News") }}
-
-
- {% trans %}
- This page documents the GNU Taler history.
- {% endtrans %}
-
-
-
-
-
-
-
-
-
- {#
- {% include "news/2016-12.inc" %}
- #}
- {% include "news/2016-10.inc" %}
- {% include "news/2016-09.inc" %}
- {% include "news/2016-08.inc" %}
- {% include "news/2016-06.inc" %}
- {% include "news/2015-12.inc" %}
-
- {#
- {% include "news/2015-11.inc" %}
- #}
-
- {% include "news/2015-02.inc" %}
- {#
- {% include "news/2014-12.inc" %}
- #}
- {% include "news/2014-11.inc" %}
-
-
-
-
-
-{% endblock body_content %}
diff --git a/template/principles.html.j2 b/template/principles.html.j2
index f81c01b8..d16a8fb6 100644
--- a/template/principles.html.j2
+++ b/template/principles.html.j2
@@ -30,7 +30,7 @@
{{ _("1. Free Software implementation") }}
-
+
{% trans %}
@@ -55,7 +55,7 @@
{{ _("2. Protect the privacy of buyers") }}
-
+
{% trans %}
Privacy should be guaranteed via technical measures, as opposed to mere
@@ -80,7 +80,7 @@
{{ _("3. Enable the state to tax income and crack down on illegal business activities") }}
-
+
{% trans %}
As a payment system must still be legal to operate and use, it must comply
@@ -94,7 +94,7 @@
{{ _("4. Prevent payment fraud") }}
-
+
{% trans %}
This imposes requirements on the security of the system, as well as on the
@@ -107,7 +107,7 @@
{{ _("5. Only disclose the minimal amount of information necessary") }}
-
+
{% trans %}
The reason behind this goal is similar to (2). The privacy of buyers is given
@@ -120,7 +120,7 @@
{{ _("6. Be usable") }}
-
+
{% trans %}
Specifically it must be usable for non-expert customers. Usability also
@@ -134,7 +134,7 @@
{{ _("7. Be efficient")}}
-
+
{% trans %}
Approaches such as proof-of-work are ruled out by this
@@ -147,7 +147,7 @@
{{ _("8. Fault-tolerant design")}}
-
+
{% trans %}
Taler should tolerate failure of individual components and systems,
@@ -161,7 +161,7 @@
{{ _("9. Foster competition")}}
-
+
{% trans %}
It must be relatively easy for competitors to join the systems. While the
--
cgit v1.2.3