From e990b132016f231ef150085597d02e2eb4883a1f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 14 Oct 2010 13:38:43 +0200 Subject: Sync with ikiwiki 3.20100926. --- ikiwiki/directive/date.mdwn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ikiwiki/directive/date.mdwn (limited to 'ikiwiki/directive/date.mdwn') 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"]] -- cgit v1.2.3