aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/contrib/created_in_future.mdwn
blob: 9f77a8a8e90588f0fcaee14da7702c217e6bc711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[[!meta author="spalax"]]
[[!template id=plugin name="created_in_future (deprecated)" author="[[Louis|spalax.]]"]]

# Created_in_future

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

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

Code and documentation this way: [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Created_in_future]].
"""]]