aboutsummaryrefslogtreecommitdiff
path: root/doc/ikiwiki/directive
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-09-01 08:56:46 +0100
committerSimon McVittie <smcv@debian.org>2014-09-01 08:58:12 +0100
commit6806ddfdff5e17ec85683d38bad814a46ffa4efe (patch)
tree5041ab142db7f3261a946f2678e7b86e43c18bf8 /doc/ikiwiki/directive
parent9adee0a222277733dd98bc433ef240e25e438242 (diff)
downloadikiwiki-6806ddfdff5e17ec85683d38bad814a46ffa4efe.tar
ikiwiki-6806ddfdff5e17ec85683d38bad814a46ffa4efe.tar.gz
Only provide time, not formatted_time, to edittemplate templates
I'm not sure what the use-case is for formatted_time, and chrysn pointed out that for display in HTML, [[!date "<TMPL_VAR time>"]] would be nicer.
Diffstat (limited to 'doc/ikiwiki/directive')
-rw-r--r--doc/ikiwiki/directive/edittemplate.mdwn5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/ikiwiki/directive/edittemplate.mdwn b/doc/ikiwiki/directive/edittemplate.mdwn
index 22767de43..13e282c11 100644
--- a/doc/ikiwiki/directive/edittemplate.mdwn
+++ b/doc/ikiwiki/directive/edittemplate.mdwn
@@ -29,7 +29,7 @@ something like:
The template page can also contain [[!cpan HTML::Template]] directives,
like other ikiwiki [[templates]].
-Four variables might be set:
+These variables might be set:
* `<TMPL_VAR name>` is replaced with the name of the page being
created.
@@ -40,7 +40,4 @@ Four variables might be set:
* `<TMPL_VAR time>` is replaced with the current (template generation)
time, using a fixed format, `%Y-%m-%d %H:%M:%S`.
-* `<TMPL_VAR formatted_time` is replaced with the current (template
- generation) time, formatted by IkiWiki.
-
[[!meta robots="noindex, follow"]]