-[[!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.
"""]]