summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/blog/archives.mdwn5
1 files changed, 3 insertions, 2 deletions
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.
"""]]