clarify when to use utlto and when to use htmlpage

suggestion from smcv
master
Joey Hess 2008-09-27 12:54:10 -04:00
parent f181962dfc
commit dddf5d55fd
1 changed files with 3 additions and 0 deletions

View 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 Passed a page name, returns the base name that will be used for a the html
page created from it. (Ie, it appends ".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($$)` #### `add_depends($$)`
Makes the specified page depend on the specified [[ikiwiki/PageSpec]]. Makes the specified page depend on the specified [[ikiwiki/PageSpec]].