]> scripts.mit.edu Git - www/ikiwiki.git/commitdiff
add note if ikiwiki-calendar needs to be run
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 15 Apr 2010 20:55:20 +0000 (16:55 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 15 Apr 2010 20:55:20 +0000 (16:55 -0400)
doc/examples/blog/archives.mdwn

index 14686cdfe30b4117223408ae73dac39b211f2357..d07b73b740705e60f19293153b9fcf3b1df2d700 100644 (file)
@@ -1,7 +1,8 @@
-[[!if test="enabled(calendar)" then="""
+[[!if test="archives/*" then="""
 Browse through blog archives by year:
 [[!map pages="./archives/* and !./archives/*/* and !*/Discussion"]]
 """
 else="""
-Calendar based archives are not enabled. See [[posts]] for a full list of posts.
+You need to use the `ikiwiki-calendar` program to generate calendar-based
+archive pages.
 """]]