diff options
author | Florian Dold <florian@dold.me> | 2021-05-07 13:23:13 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-07 13:23:13 +0200 |
commit | aaf8e383ff6017e8cb57d1070c0042b68bdc026d (patch) | |
tree | 9b5895a5a46f9e199410ab91b857f9c08c1b7da7 /template/news/index.html.j2 | |
parent | efc06787a90652112e1446e349c72d2c30c7dd7a (diff) | |
download | www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.gz www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.bz2 www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.zip |
use generic site generation, use teaser helpers
Diffstat (limited to 'template/news/index.html.j2')
-rw-r--r-- | template/news/index.html.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2 index 207fa801..65b44add 100644 --- a/template/news/index.html.j2 +++ b/template/news/index.html.j2 @@ -29,8 +29,8 @@ </p> </header> <p class="item-abstract"> - {{ item['abstract'] }} <br/> - [<a href="{{ item['page'] }}" title="{{ item['date']}}">{{ _("read more") }}</a>] + {{ get_abstract(item['page'], 1000) }} <br/> + [<a href="{{ url(item['page']) }}" title="{{ item['date']}}">{{ _("read more") }}</a>] </p> </section> </div> |