summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/templates/base.html.j2
blob: c4935f1ed036261ff9d43eada43b39cce812d9ee (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
51
52
<!DOCTYPE html>
<!--
  This file is part of GNU TALER.
  Copyright (C) 2014, 2015, 2016, 2020 Taler Systems SA

  TALER is free software; you can redistribute it and/or modify it under the
  terms of the GNU Lesser General Public License as published by the Free Software
  Foundation; either version 2.1, or (at your option) any later version.

  TALER is distributed in the hope that it will be useful, but WITHOUT ANY
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License along with
  TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
-->

<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  {% block meta %}{% endblock %}
  <title>{{ gettext("GNU Taler Demo: Essay Shop") }}</title>
  <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='pure.css') }}" />
  <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='demo.css') }}" />
  <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='navbar.css') }}" />
  <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='torsten.css') }}" />
  {% block styles %}{% endblock %}
  {% block scripts %}{% endblock %}
</head>

<body>
  <header class="demobar" style="display: flex; flex-direction: column;">
    <h1><span class="tt adorn-brackets">{{ gettext("Taler Demo")}}</span><br/>
        <span class="it"><a href="{{ env('TALER_ENV_URL_MERCHANT_BLOG') }}">{{ gettext("Essay shop") }}</a></span></h1>
    <p>{{
      gettext("On this page you can buy articles using an imaginary currency.") + "<br>" +
      gettext("The articles are chapters from Richard Stallman's book &quot;Free Software, Free Society&quot;.") + "<br>" +
      gettext('The book is <a href="{shop}">published by the FSF</a> and available gratis at <a href="{gnu}">gnu.org</a>.').format(shop="https://shop.fsf.org/product/free-software-free-society-2", gnu="https://www.gnu.org")
      }}
    </p>
  </header>
  {% from 'templates/menu.html.j2' import menu with context %} {{ menu('blog') }}

  <section id="main" class="content">
    {% block main %}
      This is the main content of the page.
    {% endblock %}
    {% include 'templates/footer.html.j2' %}
  </section>
</body>
</html>