From 9008ec905bd179d0a4c45da29aafa72e3e555efc Mon Sep 17 00:00:00 2001 From: olf Date: Tue, 17 Mar 2015 11:21:51 +0100 Subject: latest news, contains only latest 2 news --- scripts/news.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/news.py b/scripts/news.py index 01555aa..ddbac7c 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[:5]), + latest_news = ''.join(self._news[:2]), ) return return_value -- cgit v1.2.1