X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/19c58ac7c139eb3509f190e9ce746bd9f6237c90..3fb80f3900ce116d8c2c240afb5d70151b5cfbd6:/doc/templates/discussion.mdwn?ds=sidebyside diff --git a/doc/templates/discussion.mdwn b/doc/templates/discussion.mdwn index cbf56fa81..96e6ea25f 100644 --- a/doc/templates/discussion.mdwn +++ b/doc/templates/discussion.mdwn @@ -1,16 +1,16 @@ -I was wondering what the best way to customise the templates is. +This confuses me enormously. Perhaps because I am new to ikiwiki, to perl, to Linux, etc. -Would it be best to copy them all into the wiki under version control or have them seperate? +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. -Thanks +> Ikiwiki has an basewiki underlay that provides wiki files not included in +> your personal wiki sources. The note and popup template pages are +> installed there, typically in `/usr/share/ikiwiki/basewiki/templates/` +> --[[Joey]] -john -> Either way would work ok. From a security standpoint, keeping the templates under version control isn't entirely safe, if you have anonymous untrusted svn committers. Web commits won't be able to touch them though, so that's ok. --[[Joey]] +Is there a list of the TMPL_VAR-Variables that are defined by ikiwiki? +What I'm trying to achieve is to print the URL of every page on the page itself and therefore I would need the corresponding value in the Template. -Couldn't the [[templates/plugin]] template replace the "included" parameter -with the same check used for "third-party plugin"? Don't "third-party plugin" -and "included in ikiwiki" form precisely complementary sets? --[[JoshTriplett]] +Am I missing something? --[[jwalzer]] -> Yes, can be done..