summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-04 22:21:46 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-04 22:21:46 +0200
commitfeb258df10acfa7ed1e356c0cd33c4ab3db3c7a4 (patch)
tree86ece922bc1d346ad91cc44d38190eb31bff2d71
parentce71f187681fb3d0100fb5a98043133f05bc7be1 (diff)
downloadwww-feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4.tar.gz
www-feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4.tar.bz2
www-feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4.zip
try to fix 'read more' issue
-rw-r--r--locale/de/LC_MESSAGES/messages.po31
-rw-r--r--locale/en/LC_MESSAGES/messages.po31
-rw-r--r--locale/es/LC_MESSAGES/messages.po31
-rw-r--r--locale/fr/LC_MESSAGES/messages.po31
-rw-r--r--locale/it/LC_MESSAGES/messages.po31
-rw-r--r--locale/messages.pot30
-rw-r--r--locale/pt/LC_MESSAGES/messages.po31
-rw-r--r--locale/ru/LC_MESSAGES/messages.po31
-rw-r--r--news/index.html.j222
-rw-r--r--template/index.html.j23
10 files changed, 178 insertions, 94 deletions
diff --git a/locale/de/LC_MESSAGES/messages.po b/locale/de/LC_MESSAGES/messages.po
index 7d9f779..516d599 100644
--- a/locale/de/LC_MESSAGES/messages.po
+++ b/locale/de/LC_MESSAGES/messages.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: German (Taler Website)\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: 2020-06-17 11:10+0000\n"
"Last-Translator: Christian Grothoff <christian@grothoff.org>\n"
"Language-Team: German <http://weblate.taler.net/projects/gnu-taler/taler-"
@@ -66,11 +66,20 @@ msgstr "Prinzipien"
msgid "Docs"
msgstr "Dokumente/Links"
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr "Aktuelles"
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid ""
+"News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr "Hier klicken für weitere Informationen"
@@ -1474,7 +1483,7 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-friendly</"
"span> online transactions <span class='tlr'>fast and easy</span>."
@@ -1483,33 +1492,33 @@ msgstr ""
"einfache </span>Geldüberweisen mit <span class='tlr'>Datenschutz und hoher "
"technischer Sicherheit.</span>"
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr "Bezahlen ohne Registrierung"
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr "Datenschutz by default"
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr "Systematisch gesichert gegen Betrug"
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr "Keine neue Währung!"
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr ""
"Freie Software, offenes Protokoll - für alle frei zur Verwendung und "
"Weiterentwicklung"
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr "Demo versuchen!"
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr "Doku lesen"
diff --git a/locale/en/LC_MESSAGES/messages.po b/locale/en/LC_MESSAGES/messages.po
index 3b5f5d2..ff87e51 100644
--- a/locale/en/LC_MESSAGES/messages.po
+++ b/locale/en/LC_MESSAGES/messages.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <LL@li.org>\n"
@@ -61,11 +61,20 @@ msgstr ""
msgid "Docs"
msgstr ""
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr ""
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid ""
+"News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr ""
@@ -1094,37 +1103,37 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-friendly</"
"span> online transactions <span class='tlr'>fast and easy</span>."
msgstr ""
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr ""
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr ""
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr ""
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr ""
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr ""
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr ""
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr ""
diff --git a/locale/es/LC_MESSAGES/messages.po b/locale/es/LC_MESSAGES/messages.po
index 07b857e..d8e43b7 100644
--- a/locale/es/LC_MESSAGES/messages.po
+++ b/locale/es/LC_MESSAGES/messages.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: 2017-08-10 06:24+0200\n"
"Last-Translator: \n"
"Language-Team: es <LL@li.org>\n"
@@ -62,11 +62,20 @@ msgstr ""
msgid "Docs"
msgstr ""
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr ""
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid ""
+"News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr ""
@@ -1095,37 +1104,37 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-friendly</"
"span> online transactions <span class='tlr'>fast and easy</span>."
msgstr ""
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr ""
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr ""
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr ""
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr ""
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr ""
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr ""
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr ""
diff --git a/locale/fr/LC_MESSAGES/messages.po b/locale/fr/LC_MESSAGES/messages.po
index dae2056..d5ab5f5 100644
--- a/locale/fr/LC_MESSAGES/messages.po
+++ b/locale/fr/LC_MESSAGES/messages.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: French (Taler Website)\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: 2020-06-27 08:41+0000\n"
"Last-Translator: pitchum <pitchum@gramaton.org>\n"
"Language-Team: French <http://weblate.taler.net/projects/gnu-taler/taler-"
@@ -66,11 +66,20 @@ msgstr "Principes"
msgid "Docs"
msgstr "Docs"
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr "Actualité"
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid ""
+"News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr "lire la suite"
@@ -1331,7 +1340,7 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-friendly</"
"span> online transactions <span class='tlr'>fast and easy</span>."
@@ -1340,31 +1349,31 @@ msgstr ""
"<span class='tlr'>privées</span>, <span class='tlr'>rapides et faciles</"
"span>."
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr "Paiements sans enregistrer de compte"
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr "Protection des données par défaut"
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr "Fraude impossible par conception"
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr "Ce n'est pas une monnaie !"
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr "Permet aux communautés d'avoir leur propre infrastructure de paiement"
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr "Essayer la démo !"
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr "Lire les docs"
diff --git a/locale/it/LC_MESSAGES/messages.po b/locale/it/LC_MESSAGES/messages.po
index df36556..df72d12 100644
--- a/locale/it/LC_MESSAGES/messages.po
+++ b/locale/it/LC_MESSAGES/messages.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: it <LL@li.org>\n"
@@ -61,11 +61,20 @@ msgstr ""
msgid "Docs"
msgstr ""
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr ""
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid ""
+"News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr ""
@@ -1094,37 +1103,37 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-friendly</"
"span> online transactions <span class='tlr'>fast and easy</span>."
msgstr ""
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr ""
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr ""
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr ""
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr ""
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr ""
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr ""
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr ""
diff --git a/locale/messages.pot b/locale/messages.pot
index ed3921e..7ca20c7 100644
--- a/locale/messages.pot
+++ b/locale/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -65,11 +65,19 @@ msgstr ""
msgid "Docs"
msgstr ""
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr ""
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid "News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr ""
@@ -1112,38 +1120,38 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-"
"friendly</span> online transactions <span class='tlr'>fast and "
"easy</span>."
msgstr ""
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr ""
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr ""
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr ""
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr ""
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr ""
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr ""
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr ""
diff --git a/locale/pt/LC_MESSAGES/messages.po b/locale/pt/LC_MESSAGES/messages.po
index 539c0fd..f2f32a2 100644
--- a/locale/pt/LC_MESSAGES/messages.po
+++ b/locale/pt/LC_MESSAGES/messages.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU taler master\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: 2018-01-28 15:27-0200\n"
"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
"Language-Team: Brazilian Portuguese\n"
@@ -66,11 +66,20 @@ msgstr ""
msgid "Docs"
msgstr ""
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr ""
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid ""
+"News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr ""
@@ -1099,37 +1108,37 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-friendly</"
"span> online transactions <span class='tlr'>fast and easy</span>."
msgstr ""
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr ""
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr ""
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr ""
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr ""
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr ""
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr ""
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr ""
diff --git a/locale/ru/LC_MESSAGES/messages.po b/locale/ru/LC_MESSAGES/messages.po
index df6d1ff..ec90f40 100644
--- a/locale/ru/LC_MESSAGES/messages.po
+++ b/locale/ru/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-06-17 18:55+0200\n"
+"POT-Creation-Date: 2020-07-04 22:21+0200\n"
"PO-Revision-Date: 2017-12-29 11:14+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: ru <LL@li.org>\n"
@@ -67,11 +67,20 @@ msgstr ""
msgid "Docs"
msgstr ""
-#: common/navigation.j2.inc:24 news/index.html.j2:9
+#: common/navigation.j2.inc:24 news/index.html.j2:8
msgid "News"
msgstr ""
-#: inc/news.macro.j2:22
+#: news/index.html.j2:11
+msgid ""
+"News posts about changes related to GNU Taler such as releases and events"
+msgstr ""
+
+#: news/index.html.j2:16
+msgid "subscribe to our RSS feed"
+msgstr ""
+
+#: news/index.html.j2:33
msgid "read more"
msgstr ""
@@ -1100,37 +1109,37 @@ msgstr ""
msgid "Shipment Tracking"
msgstr ""
-#: template/index.html.j2:25
+#: template/index.html.j2:24
msgid ""
"We provide a payment system that makes <span class='tlr'>privacy-friendly</"
"span> online transactions <span class='tlr'>fast and easy</span>."
msgstr ""
-#: template/index.html.j2:29
+#: template/index.html.j2:28
msgid "Payments without registration"
msgstr ""
-#: template/index.html.j2:33
+#: template/index.html.j2:32
msgid "Data protection by default"
msgstr ""
-#: template/index.html.j2:37
+#: template/index.html.j2:36
msgid "Fraud eliminated by design"
msgstr ""
-#: template/index.html.j2:41
+#: template/index.html.j2:40
msgid "Not a new currency!"
msgstr ""
-#: template/index.html.j2:45
+#: template/index.html.j2:44
msgid "Empowers communities to run their own payment infrastructure"
msgstr ""
-#: template/index.html.j2:48
+#: template/index.html.j2:47
msgid "Try Demo!"
msgstr ""
-#: template/index.html.j2:49
+#: template/index.html.j2:48
msgid "Read Docs"
msgstr ""
diff --git a/news/index.html.j2 b/news/index.html.j2
index cffcaf9..207fa80 100644
--- a/news/index.html.j2
+++ b/news/index.html.j2
@@ -1,6 +1,5 @@
{% extends "common/base.j2" %}
{% block body_content %}
- {% import 'inc/news.macro.j2' as news %}
<div class="container-fluid">
<div class="container">
<article>
@@ -9,8 +8,12 @@
<h1>{{ _("News") }}<a name="news"></a></h1>
<section>
<p>
- News posts published by Taler about changes related to
- GNUnet, releases, and events &#8211; <a href="{{ url_localized('rss.xml')}}">subscribe to our RSS feed</a>
+ {% trans %}
+ News posts about changes related to
+ GNU Taler such as releases and events
+ {% endtrans %}
+ &#8211;
+ <a href="{{ url_localized('rss.xml') }}">{{ _("subscribe to our RSS feed") }}</a>
</p>
</section>
</div>
@@ -18,7 +21,18 @@
<div class="row">
{% for item in newsdata %}
<div class="col-lg-4">
- {{ news.newspreview(item) }}
+ <section class="item-preview">
+ <header>
+ <h3>{{ item['title']|e }}</h3>
+ <p class="item-date">
+ {{ item['date'] }}
+ </p>
+ </header>
+ <p class="item-abstract">
+ {{ item['abstract'] }} <br/>
+ [<a href="{{ item['page'] }}" title="{{ item['date']}}">{{ _("read more") }}</a>]
+ </p>
+ </section>
</div>
{% endfor %}
</div>
diff --git a/template/index.html.j2 b/template/index.html.j2
index e74f82c..5720ce2 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -1,6 +1,5 @@
{% extends "common/base.j2" %}
{% block body_content %}
- {% import 'inc/news.macro.j2' as news %}
<div class="container">
<div class="row justify-content-center">
@@ -12,7 +11,7 @@
<div class="row justify-content-center text-center">
<div class="col-8">
{% for item in newsdata[:1] %}
- {{ news.tinylinkpreview(item, prefix="news/") }}
+ <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a>
{% endfor %}
</div>
</div>