]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/discussion.mdwn
(no commit message)
[ikiwiki.git] / doc / templates / discussion.mdwn
index 220d3645571befa3e353c3c869723f4bdf6b0901..4ddc48ac36092949c4edc2f30fca7f9892d41bef 100644 (file)
@@ -6,3 +6,14 @@ note and popups are templates? But they're not in the templates directory, and i
 > 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]]