add note if ikiwiki-calendar needs to be run

master
Joey Hess 2010-04-15 16:55:20 -04:00
parent adbbd014dc
commit 37a0c2d40b
1 changed files with 3 additions and 2 deletions

View 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="""
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.
"""]]