]> sipb.mit.edu Git - ikiwiki.git/blob - doc/templates/discussion.mdwn
Merge branch 'master' of git://git.ikiwiki.info
[ikiwiki.git] / doc / templates / discussion.mdwn
1 This confuses me enormously. Perhaps because I am new to ikiwiki, to perl, to Linux, etc.
2
3 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. 
4
5 > Ikiwiki has an basewiki underlay that provides wiki files not included in
6 > your personal wiki sources. The note and popup template pages are
7 > installed there, typically in `/usr/share/ikiwiki/basewiki/templates/`
8 > --[[Joey]]
9
10
11 Is there a list of the TMPL_VAR-Variables that are defined by ikiwiki?
12
13 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.
14
15 Am I missing something?  --[[jwalzer]]
16
17 > If there isn't a suitable variable (I don't think there is a list at
18 > the moment), a [[plugin|plugins/write]] to add one would be about 10
19 > lines of perl - you'd just need to define a `pagetemplate` hook. --[[smcv]]