summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog/templates/index.html
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-09-06 18:47:50 +0200
committerChristian Grothoff <christian@grothoff.org>2020-09-06 18:47:50 +0200
commitd6459ab53ef80f1c799324ea5fa9709f6652db38 (patch)
treefc73e49fbeb78d4ee003b9e93685cc9a53504191 /talermerchantdemos/blog/templates/index.html
parentb0f3d60fec149ffee23872bd0e9290bebdf679e3 (diff)
downloadtaler-merchant-demos-d6459ab53ef80f1c799324ea5fa9709f6652db38.tar.gz
taler-merchant-demos-d6459ab53ef80f1c799324ea5fa9709f6652db38.tar.bz2
taler-merchant-demos-d6459ab53ef80f1c799324ea5fa9709f6652db38.zip
towards supporting language switching
Diffstat (limited to 'talermerchantdemos/blog/templates/index.html')
-rw-r--r--talermerchantdemos/blog/templates/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/talermerchantdemos/blog/templates/index.html b/talermerchantdemos/blog/templates/index.html
index 0159779..0702bf7 100644
--- a/talermerchantdemos/blog/templates/index.html
+++ b/talermerchantdemos/blog/templates/index.html
@@ -24,14 +24,15 @@
<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>.
+ 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>
+ <h3><a href="{{ url_for('article', lang=article.lang, article_name=article.slug) }}">{{article.title}}</a></h3>
+ <p>{{ article.teaser|safe }} <a href="{{ url_for('article', lang=article.lang, article_name=article.slug) }}">(Pay to read more...)</a></p>
</div>
{% else %}
<em>(No articles available)</em>