1 [[!template id=plugin name=created_in_future author="[[Louis|spalax]]"]]
5 This plugin provides a `created_in_future()` [[PageSpec|ikiwiki/pagespec/]]
6 function. It matches pages which have a creation date in the future.
8 It also sets the date of the next modification of the page on its creation
9 date, so that the corresponding page (and the pages referring to it) will be
10 rebuilt on the relevant call of `ikiwiki`.
14 It can be used to display a list of upcoming events.
16 \[[!inline pages="events/* and created_in_future()" reverse=yes sorted=meta(date)]]
20 Code and documentation this way: [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Created_in_future]].