aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-25 16:16:44 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-25 16:16:44 -0400
commita71b9a1cf1322cd1423971483969d37efa5ebcf8 (patch)
treef726ca780ff8f6f2d7b709ef8bdbfd171aaa1420 /doc
parentaf5299677e3a3bdaef75e72f82ccc4600cbd2f66 (diff)
downloadikiwiki-a71b9a1cf1322cd1423971483969d37efa5ebcf8.tar
ikiwiki-a71b9a1cf1322cd1423971483969d37efa5ebcf8.tar.gz
fix feed urls
The fix for colons involved adding "./" to some urls. Due to the weird way inline called urlto, these snuck into feed urls and permalinks. Fix it by adding an optional third parameter to urlto.
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/write.mdwn5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 3dd8bdaa1..7c28088de 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -582,12 +582,15 @@ time.
This is the standard gettext function, although slightly optimised.
-#### `urlto($$)`
+#### `urlto($$;$)`
Construct a relative url to the first parameter from the page named by the
second. The first parameter can be either a page name, or some other
destination file, as registered by `will_render`.
+If the third parameter is passed and is true, an absolute url will be
+constructed instead of the default relative url.
+
#### `targetpage($$)`
Passed a page and an extension, returns the filename that page will be