From 37a0c2d40beaba9ae050a4eddc925b910d739736 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 15 Apr 2010 16:55:20 -0400 Subject: [PATCH] add note if ikiwiki-calendar needs to be run --- doc/examples/blog/archives.mdwn | 5 +++-- 1 file 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. """]] -- 2.26.2