Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > d8544620e4ac7bee48ddb48c85d55709 > files > 240

ikiwiki-3.20190228-1.mga7.noarch.rpm

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>created_in_future (deprecated) (third party plugin)</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" href="../../style.css" type="text/css" />

<link rel="stylesheet" href="../../local.css" type="text/css" />






<meta name="author" content="spalax" />



</head>
<body>

<div class="page">

<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">

<a href="../../index.html">ikiwiki</a>/ 

<a href="../../plugins.html">plugins</a>/ 

<a href="../contrib.html">contrib</a>/ 

</span>
<span class="title">
created_in_future (deprecated) (third party plugin)

</span>
</span>



</div>









</div>





<div id="pagebody">

<div id="content" role="main">
<p><span class="infobox">
Plugin: created_in_future (deprecated)<br />
Author: <span class="createlink">Louis</span><br />
Included in ikiwiki: no<br />
Enabled by default: no<br />
Included in <a href="../goodstuff.html">goodstuff</a>: no<br />
Currently enabled: no<br />
</span></p>

<h1>Created_in_future</h1>

<p>This plugin is deprecated, and can be replaced by function <code>cdate_geq_today()</code> in plugin <a href="./datetime_cmp.html">datetime cmp</a>.</p>

<p><a class="toggle" href="#plugins-contrib-created-in-future.old">Show/Hide old documentation</a></p>

<div class="toggleable" id="plugins-contrib-created-in-future.old">

<h1>Created_in_future</h1>

<p>This plugin provides a <code>created_in_future()</code> <a href="../../ikiwiki/pagespec.html">PageSpec</a>
function. It matches pages which have a creation date in the future.</p>

<p>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 <code>ikiwiki</code>.</p>

<h2>Usage</h2>

<p>It can be used to display a list of upcoming events.</p>

<pre><code>[[!inline  pages="events/* and created_in_future()" reverse=yes sorted=meta(date)]]
</code></pre>

<h2>Code</h2>

<p>Code and documentation this way: <a href="https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Created_in_future">https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Created_in_future</a>.</p>

</div>

</div>







</div>

<div id="footer" class="pagefooter" role="contentinfo">

<div id="pageinfo">











<div class="pagedate">
Last edited <span class="date">Tue Feb 26 23:01:54 2019</span>
<!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> -->
</div>

</div>


<!-- from ikiwiki -->
</div>

</div>
<script src="../../ikiwiki/ikiwiki.js" type="text/javascript" charset="utf-8"></script>
<script src="../../ikiwiki/toggle.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>