]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/write.mdwn
Add parameter to displaytime to specify that it is a pubdate, and in html5 mode,...
[ikiwiki.git] / doc / plugins / write.mdwn
index a9ea7db73c2864f406aafbc07aa4f665a9a2f44f..5e7042c3b5d22c9a90a0c63a02a7d8b1615f81d2 100644 (file)
@@ -938,13 +938,16 @@ search for files.
 If the directory name is not absolute, ikiwiki will assume it is in
 the parent directory of the configured underlaydir.
 
-### `displaytime($;$)`
+### `displaytime($;$$)`
 
 Given a time, formats it for display.
 
 The optional second parameter is a strftime format to use to format the
 time.
 
+If the third parameter is true, this is the publication time of a page.
+(Ie, set the html5 pubdate attribute.)
+
 ### `gettext`
 
 This is the standard gettext function, although slightly optimised.