summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2011-11-02 10:10:45 +0100
committerChristian Franke <nobody@nowhere.ws>2011-11-02 10:11:01 +0100
commit15a3730dd7ee956cac6b116cae11dfa7c36b96de (patch)
tree59b067031abae0c22181d54004aefda8ad9b87b6
parent0dc1d001215eb9c26f7387428f2dbefeba62737e (diff)
News: moar news
-rw-r--r--scripts/news.py2
-rw-r--r--template/pages/index/content.html1
2 files changed, 2 insertions, 1 deletions
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 ]
</h2>
$latest_news
+<p><a href="neues">alle News</a></p>