2014-07-03 22:21:38 +02:00
|
|
|
[[!meta author="spalax"]]
|
2015-01-14 11:48:11 +01:00
|
|
|
[[!template id=plugin name="created_in_future (deprecated)" author="[[Louis|spalax]]"]]
|
2013-10-28 12:01:18 +01:00
|
|
|
|
2012-06-08 02:00:58 +02:00
|
|
|
# Created_in_future
|
|
|
|
|
2014-06-13 10:59:41 +02:00
|
|
|
This plugin is deprecated, and can be replaced by function `cdate_geq_today()` in plugin [[datetime_cmp|plugins/contrib/datetime_cmp]].
|
|
|
|
|
|
|
|
[[!toggle id=old text="Show/Hide old documentation"]]
|
|
|
|
|
|
|
|
[[!toggleable id=old text="""
|
|
|
|
# Created_in_future
|
|
|
|
|
2012-06-08 02:00:58 +02:00
|
|
|
This plugin provides a `created_in_future()` [[PageSpec|ikiwiki/pagespec/]]
|
|
|
|
function. It matches pages which have a creation date in the future.
|
|
|
|
|
|
|
|
It also sets the date of the next modification of the page on its creation
|
|
|
|
date, so that the corresponding page (and the pages referring to it) will be
|
|
|
|
rebuilt on the relevant call of `ikiwiki`.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
It can be used to display a list of upcoming events.
|
|
|
|
|
|
|
|
\[[!inline pages="events/* and created_in_future()" reverse=yes sorted=meta(date)]]
|
|
|
|
|
|
|
|
## Code
|
|
|
|
|
2023-03-15 22:07:37 +01:00
|
|
|
Code and documentation this way: [[https://spalax.frama.io/gresille-ikiwiki/created_in_future]].
|
2014-06-13 10:59:41 +02:00
|
|
|
"""]]
|