This confuses me enormously. Perhaps because I am new to ikiwiki, to perl, to Linux, etc.
2008-09-16 08:28:33 +02:00
note and popups are templates? But they're not in the templates directory, and in my readings here, templates are supposed to be in the ../templates directory.
Is there a list of all the available variables somewhere, or do I just grep the source for TMPL_VAR? And is there a way to refer to a variable inside of a wiki page or does it have to be done from a template? Thanks. -- [[AdamShand]]
2011-03-02 07:45:52 +01:00
I pulled a list of variables and posted it, its in the history for [[templates]] under my name. [[justint]]
I am trying to override `page.tmpl` by providing `templates/page.tmpl` in my `srcdir`- this works, but now `templates/page.tmpl` is created in my `destdir` as well! Is this expected? --chenz
> Yes. Every file found in the wiki is treated as either a page (passed through the whole
> rendering pipeline to HTML) or an attachment (copied as-is). --[[smcv]]
Is there a way to avoid this? --chenz
> With the page in your wiki's git repository: not currently.
> You can define a `templatedir` in your setup file and put your overridden page.tmpl