]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/examples/blog/archives.mdwn
add note if ikiwiki-calendar needs to be run
[ikiwiki.git] / 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="""
 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.
 """]]
 """]]