summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/templates/index.html.j2
blob: f231e6f07974a0150cd5b19068edd0301c5ef762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{% extends "templates/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 %}