]> sipb.mit.edu Git - ikiwiki.git/commitdiff
suggest `newpageformat` parameter for calendar directive
authorhttp://christian.amsuess.com/chrysn <chrysn@web>
Thu, 18 Apr 2013 19:29:34 +0000 (15:29 -0400)
committeradmin <admin@branchable.com>
Thu, 18 Apr 2013 19:29:34 +0000 (15:29 -0400)
doc/todo/calendar_with___34__create__34___links.mdwn [new file with mode: 0644]

diff --git a/doc/todo/calendar_with___34__create__34___links.mdwn b/doc/todo/calendar_with___34__create__34___links.mdwn
new file mode 100644 (file)
index 0000000..9fe6c43
--- /dev/null
@@ -0,0 +1,10 @@
+the [[ikiwiki/directive/calendar]] directive is well usable without ikiwiki-calendar (eg for articles about meetings), but in such situations, it might be useful to have page creating links at the days.
+
+a [[!taglink patch]] to address this [[!taglink wishlist]] item is [[attached|incomplete_patch.pl]].
+
+from the new documentation (also in the patch):
+
+> * `newpageformat` - In month mode, if no articles match the query, the value of
+>   `newpageformat` will be used to strformat the date in question. A good value
+>   is `newpageformat="meetings/%Y-%m-%d"`. It might be a good idea to have
+>   `\[[!meta date="<TMPL_VAR name>"]]` in the edittemplate of `meetings/*`