]> sipb.mit.edu Git - ikiwiki.git/commitdiff
clarify when to use utlto and when to use htmlpage
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 27 Sep 2008 16:54:10 +0000 (12:54 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 27 Sep 2008 16:54:10 +0000 (12:54 -0400)
suggestion from smcv

doc/plugins/write.mdwn

index 349a8a1ed3048915918426b1cd7555f82e88acd8..1cdea6a774b87a7eee6ef1aa2e4a619c312cafb9 100644 (file)
@@ -522,6 +522,9 @@ parameters are passed to `HTML::Template->new`.
 Passed a page name, returns the base name that will be used for a the html
 page created from it. (Ie, it appends ".html".)
 
 Passed a page name, returns the base name that will be used for a the html
 page created from it. (Ie, it appends ".html".)
 
+Use this when constructing the filename of a html file. Use `urlto` when
+generating a link to a page.
+
 #### `add_depends($$)`
 
 Makes the specified page depend on the specified [[ikiwiki/PageSpec]].
 #### `add_depends($$)`
 
 Makes the specified page depend on the specified [[ikiwiki/PageSpec]].