summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorolf <olf@subsignal.org>2015-03-17 11:21:51 +0100
committerolf <olf@subsignal.org>2015-03-17 11:21:51 +0100
commit9008ec905bd179d0a4c45da29aafa72e3e555efc (patch)
tree4d56d67d993ecbd3f59584c15a9e8c2aec9cd3a7 /scripts
parent5e00e9c89d11d79b670d3321daa76d81a7776be9 (diff)
latest news, contains only latest 2 news
Diffstat (limited to 'scripts')
-rw-r--r--scripts/news.py2
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