From 02b9f69ba5da59cca9ff198b731d63d643fff4db Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 1 Apr 2007 19:59:42 +0000 Subject: * Finally apply the index.html patch, with thanks to everyone who worked on and supported creating it (especially Tumov). This adds a "usedirs" option that makes ikiwiki use foo/index.html instead of foo.html as output page names. It is not yet enabled by default. --- doc/plugins/write.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/plugins/write.mdwn') diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index be5f86924..71239ac82 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -414,6 +414,15 @@ Given a time, formats it for display. This is the standard gettext function, although slightly optimised. +#### `urlto($$)` + +Construct a relative url to the first parameter from the second. + +#### `targetpage($$)` + +Passed a page and an extension, returns the filename that page will be +rendered to. + ## RCS plugins ikiwiki's support for revision control systems also uses pluggable perl -- cgit v1.2.3