summaryrefslogtreecommitdiff
path: root/template/news
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-07 13:23:13 +0200
committerFlorian Dold <florian@dold.me>2021-05-07 13:23:13 +0200
commitaaf8e383ff6017e8cb57d1070c0042b68bdc026d (patch)
tree9b5895a5a46f9e199410ab91b857f9c08c1b7da7 /template/news
parentefc06787a90652112e1446e349c72d2c30c7dd7a (diff)
downloadwww-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.gz
www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.bz2
www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.zip
use generic site generation, use teaser helpers
Diffstat (limited to 'template/news')
-rw-r--r--template/news/index.html.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2
index 207fa80..65b44ad 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>