From 15a3730dd7ee956cac6b116cae11dfa7c36b96de Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Wed, 2 Nov 2011 10:10:45 +0100 Subject: News: moar news --- scripts/news.py | 2 +- template/pages/index/content.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/news.py b/scripts/news.py index 1f291c7..01555aa 100644 --- a/scripts/news.py +++ b/scripts/news.py @@ -19,7 +19,7 @@ class NewsPlugin: template = string.Template(content) return_value[filename] = template.safe_substitute( news = ''.join(self._news), - latest_news = ''.join(self._news[:3]), + latest_news = ''.join(self._news[:5]), ) return return_value diff --git a/template/pages/index/content.html b/template/pages/index/content.html index f7b2811..d8e8a12 100644 --- a/template/pages/index/content.html +++ b/template/pages/index/content.html @@ -28,3 +28,4 @@ [ Neues ] $latest_news +

alle News

-- cgit v1.2.1