summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-15 16:55:20 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-15 16:55:20 -0400
commit37a0c2d40beaba9ae050a4eddc925b910d739736 (patch)
tree1573a0915000803ec3aa48ee5ae5f6ae55b000c1 /doc/examples
parentadbbd014dc76f334ed897f6801afa4cb0b483864 (diff)
add note if ikiwiki-calendar needs to be run
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.
"""]]