summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/blog/templates/index.html')
-rw-r--r--talermerchantdemos/blog/templates/index.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/talermerchantdemos/blog/templates/index.html b/talermerchantdemos/blog/templates/index.html
new file mode 100644
index 0000000..0159779
--- /dev/null
+++ b/talermerchantdemos/blog/templates/index.html
@@ -0,0 +1,40 @@
+{% extends "templates/base.html" %}
+{% block main %}
+ <h1>Essay Shop: Free Software, Free Society</h1>
+ <div style="font-size: smaller;">
+ <p>This is the second 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>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>Chapters</h2>
+ <div>
+ Click on an individual chapter to to purchase it. You can
+ get free, virtual money to buy articles on this page at the <a href="{{ env('TALER_ENV_URL_BANK', '#') }}">bank</a>.
+ </div>
+
+ <div>
+ {% for article in articles %}
+ <div class="notice">
+ <h3><a href="{{ url_for('article', article_name=article.slug) }}">{{article.title}}</a></h3>
+ <p>{{ article.teaser|safe }} <a href="{{ url_for('article', article_name=article.slug) }}">(Pay to read more...)</a></p>
+ </div>
+ {% else %}
+ <em>(No articles available)</em>
+ {% endfor %}
+ </div>
+{% endblock main %}