summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/date.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-14 20:25:22 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-14 20:25:22 +0200
commit90896aac9fcd3ce4b44643a3bc2773a831c0c3cf (patch)
treec7fa66ac8dfb7c475244fa1b2c4ddcdb1bc55375 /ikiwiki/directive/date.mdwn
parent6634fec4377c1d358edc87c3819c280a9e273380 (diff)
Sync with ikiwiki 3.20100704.
Diffstat (limited to 'ikiwiki/directive/date.mdwn')
-rw-r--r--ikiwiki/directive/date.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/ikiwiki/directive/date.mdwn b/ikiwiki/directive/date.mdwn
new file mode 100644
index 0000000..b89241e
--- /dev/null
+++ b/ikiwiki/directive/date.mdwn
@@ -0,0 +1,16 @@
+The `date` directive is supplied by the [[!iki plugins/date desc=date]] plugin.
+
+This directive can be used to display a date on a page, using the same
+display method that is used to display the modification date in the page
+footer, and other dates in the wiki. This can be useful for consistency
+of display, or if you want to embed parseable dates into the page source.
+
+Like the dates used by the [[meta]] directive, the date can be entered in
+nearly any format, since it's parsed by [[!cpan TimeDate]].
+
+For example, an update to a page with an embedded date stamp could look
+like:
+
+ Updated \[[!date "Wed, 25 Nov 2009 01:11:55 -0500"]]: mumble mumble
+
+[[!meta robots="noindex, follow"]]