summaryrefslogtreecommitdiff
path: root/talerblog/blog/templates/index.html
blob: ef712fc4f462eca67f29969c7951c3a67a0ec993 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{% extends "templates/base.html" %}
{% block main %}
    <h1>Essay Shop</h2>
    <div class="taler-installed-hide warn">
      <p>Taler wallet required for payment!</p>
      <p>This site requires a Taler wallet to pay for articles.
      Please visit our <a href="/landing">landing page</a>
      to install a wallet (and to withdraw digital coins).</p>
    </div>

    <div class="taler-installed-show warn">
      Click on an article 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>

    <h2>Free Software, Free Society</h2>

    <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>
      {% for article in articles %}
      <div class="notice">
      <h3 class="taler-installed-show"><a href="{{ url_for("article", article_name=article.slug) }}">{{article.title}}</a></h3>
      <h3 class="taler-installed-hide">{{article.title}} <span style="font-size: small;">(install wallet to buy/read)</span></h3>
      <p>{{ article.teaser|safe }} <a class=taler-installed-show" href="{{ url_for("article", article_name=article.slug) }}">(Read more...)</a></p>
      </div>
      {% else %}
      <em>(No articles available)</em>
      {% endfor %}
    </div>
{% endblock main %}