X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/fe733e2a424f50227e4a501c3efbf1ce43e07352..dcd57dd5c9f3265bb7a78a5696b90976698c43aa:/doc/examples/blog/archives.mdwn?ds=sidebyside

diff --git a/doc/examples/blog/archives.mdwn b/doc/examples/blog/archives.mdwn
index 14686cdfe..d07b73b74 100644
--- a/doc/examples/blog/archives.mdwn
+++ b/doc/examples/blog/archives.mdwn
@@ -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.
 """]]