summaryrefslogtreecommitdiff
path: root/talermerchantdemos/templates/blog-index.html.j2
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-04-21 21:07:18 +0200
committerFlorian Dold <florian@dold.me>2021-04-21 21:07:18 +0200
commit2b84f3bd5de3a500b63193924bea2f3dfd0c9afd (patch)
tree08d5a2bd354ab7849d731eabe7b132429b6d2225 /talermerchantdemos/templates/blog-index.html.j2
parent4356540b2eb12b2c307270566b0b4ce969e12c60 (diff)
downloadtaler-merchant-demos-2b84f3bd5de3a500b63193924bea2f3dfd0c9afd.tar.gz
taler-merchant-demos-2b84f3bd5de3a500b63193924bea2f3dfd0c9afd.tar.bz2
taler-merchant-demos-2b84f3bd5de3a500b63193924bea2f3dfd0c9afd.zip
common base template, new logo and lots of cleanup
Diffstat (limited to 'talermerchantdemos/templates/blog-index.html.j2')
-rw-r--r--talermerchantdemos/templates/blog-index.html.j236
1 files changed, 36 insertions, 0 deletions
diff --git a/talermerchantdemos/templates/blog-index.html.j2 b/talermerchantdemos/templates/blog-index.html.j2
new file mode 100644
index 0000000..dd1bced
--- /dev/null
+++ b/talermerchantdemos/templates/blog-index.html.j2
@@ -0,0 +1,36 @@
+{% extends "blog-base.html.j2" %}
+{% block main %}
+ <h2>{{ gettext("Essay Shop: Free Software, Free Society") }} </h2>
+ <div style="font-size: smaller;">
+ <p>{{ gettext("This is the latest edition of <cite>Free Software, Free Society: Selected Essays of Richard M. Stallman.</cite>") }} <br>
+ Free Software Foundation<br>
+ 51 Franklin Street, Fifth Floor<br>
+ Boston, MA 02110-1335
+ <br>
+ Copyright &copy; 2002, 2010 Free Software Foundation, Inc.
+ </p>
+
+ <p>{{ gettext("Verbatim copying and distribution of this entire book are permitted worldwide, without royalty, in any medium, provided this notice is preserved. Permission is granted to copy and distribute translations of this book from the original English into another language provided the translation has been approved by the Free Software Foundation and the copyright notice and this permission notice are preserved on all copies.") }}
+ </p>
+ <p>ISBN 978-0-9831592-0-9</p>
+ </div>
+
+ <h2>{{ gettext("Chapters") }} </h2>
+ <div>
+ {{
+ gettext("Click on an individual chapter to to purchase it with GNU Taler.") +
+ gettext('You can get free, virtual money to buy articles on this page at the <a href="{}")">bank</a>').format(env('TALER_ENV_URL_BANK'))
+ }}
+ </div>
+
+ <div>
+ {% for article in articles %}
+ <div class="notice">
+ <h3><a href="{{ url_for('article', lang=article.lang, article_name=article.slug) }}" class="articleTitle">{{article.title}}</a></h3>
+ <p>{{ article.teaser|safe }} <a href="{{ url_for('article', lang=article.lang, article_name=article.slug) }}">({{ gettext('Pay to read more...') }})</a></p>
+ </div>
+ {% else %}
+ <em>({{ gettext("No articles available in this language.") }})</em>
+ {% endfor %}
+ </div>
+{% endblock main %}