1 [[!meta author="spalax"]]
2 [[!template id=plugin name="created_in_future (deprecated)" author="[[Louis|spalax.]]"]]
6 This plugin is deprecated, and can be replaced by function `cdate_geq_today()` in plugin [[datetime_cmp|plugins/contrib/datetime_cmp]].
8 [[!toggle id=old text="Show/Hide old documentation"]]
10 [[!toggleable id=old text="""
13 This plugin provides a `created_in_future()` [[PageSpec|ikiwiki/pagespec/]]
14 function. It matches pages which have a creation date in the future.
16 It also sets the date of the next modification of the page on its creation
17 date, so that the corresponding page (and the pages referring to it) will be
18 rebuilt on the relevant call of `ikiwiki`.
22 It can be used to display a list of upcoming events.
24 \[[!inline pages="events/* and created_in_future()" reverse=yes sorted=meta(date)]]
28 Code and documentation this way: [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Created_in_future]].