]> sipb.mit.edu Git - ikiwiki.git/commitdiff
limit feeds for tag pages to including ten posts
authorJoey Hess <joey@kitenet.net>
Sat, 1 May 2010 19:32:30 +0000 (15:32 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 1 May 2010 19:32:30 +0000 (15:32 -0400)
With archive=yes, feeds default to including all, but that is expensive
for automatically created tag pages.

templates/autotag.tmpl

index f670982b63ef489f16409f5c62ee6aeb16f92620..6bc809d22f9e510fe296c9b427bd8aca6bd86b2c 100644 (file)
@@ -1,3 +1,4 @@
 [[!meta title="tag <TMPL_VAR TAGNAME>"]]
 
-[[!inline pages="tagged(<TMPL_VAR TAG>)" actions="no" archive="yes"]]
+[[!inline pages="tagged(<TMPL_VAR TAG>)" actions="no" archive="yes"
+feedshow=10]]