diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-04 22:21:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-04 22:21:46 +0200 |
commit | feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4 (patch) | |
tree | 86ece922bc1d346ad91cc44d38190eb31bff2d71 /template | |
parent | ce71f187681fb3d0100fb5a98043133f05bc7be1 (diff) | |
download | www-feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4.tar.gz www-feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4.tar.bz2 www-feb258df10acfa7ed1e356c0cd33c4ab3db3c7a4.zip |
try to fix 'read more' issue
Diffstat (limited to 'template')
-rw-r--r-- | template/index.html.j2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/template/index.html.j2 b/template/index.html.j2 index e74f82cd..5720ce23 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> |