X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=doc%2Ftemplates%2Fdiscussion.mdwn;h=c7115e4d6af1581465a0cdbb3214ace819768d45;hb=f512a20c401c8bf2985e3b6a55c80d9578887c78;hp=4ddc48ac36092949c4edc2f30fca7f9892d41bef;hpb=f398ad035b973608d380c9939ea845d8e2a0cdc2;p=ikiwiki.git diff --git a/doc/templates/discussion.mdwn b/doc/templates/discussion.mdwn index 4ddc48ac3..c7115e4d6 100644 --- a/doc/templates/discussion.mdwn +++ b/doc/templates/discussion.mdwn @@ -7,6 +7,9 @@ note and popups are templates? But they're not in the templates directory, and i > installed there, typically in `/usr/share/ikiwiki/basewiki/templates/` > --[[Joey]] +> > And how am I able to use e.g. links? It's not listed in `/usr/share/ikiwiki/basewiki/templates`. +> > I intend do (mis)use links for a horizontal navigation. Or may I be better off altering page.tmpl? +> > --z3ttacht Is there a list of the TMPL_VAR-Variables that are defined by ikiwiki? @@ -17,3 +20,8 @@ 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]] + +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]] + +I pulled a list of variables and posted it, its in the history for [[templates]] under my name. [[justint]] +