X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a7ec4582daa95b5b2d2b59ed98fc79fb7071bd50..cf5b767777bf922ef55cdc51adef024436d2171e:/doc/templates/discussion.mdwn diff --git a/doc/templates/discussion.mdwn b/doc/templates/discussion.mdwn index 0ac1c9fa7..4ddc48ac3 100644 --- a/doc/templates/discussion.mdwn +++ b/doc/templates/discussion.mdwn @@ -1,3 +1,19 @@ This confuses me enormously. Perhaps because I am new to ikiwiki, to perl, to Linux, etc. -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 +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. + +> 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]] + + +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. + +Am I missing something? --[[jwalzer]] + +> If there isn't a suitable variable (I don't think there is a list at +> the moment), a [[plugin|plugins/write]] to add one would be about 10 +> lines of perl - you'd just need to define a `pagetemplate` hook. --[[smcv]]