diff options
author | olf <olf@subsignal.org> | 2015-03-17 11:21:51 +0100 |
---|---|---|
committer | olf <olf@subsignal.org> | 2015-03-17 11:21:51 +0100 |
commit | 9008ec905bd179d0a4c45da29aafa72e3e555efc (patch) | |
tree | 4d56d67d993ecbd3f59584c15a9e8c2aec9cd3a7 | |
parent | 5e00e9c89d11d79b670d3321daa76d81a7776be9 (diff) |
latest news, contains only latest 2 news
-rw-r--r-- | scripts/news.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |