2 username="http://smcv.pseudorandom.co.uk/"
4 subject="not supported at the moment"
5 date="2011-01-24T15:17:59Z"
7 This isn't supported, because [[ikiwiki/directive/template]] templates
8 don't run `pagetemplate` hooks (which is how information gets from
9 [[ikiwiki/directive/meta]] into, for instance, `page.tmpl`). The only
10 inputs to the `HTML::Template` are the parameters passed to the
11 directive, plus the `raw_`-prefixed versions of those, plus the extra
12 parameters passed to every `preprocess` hook (currently `page`, `destpage`
15 I think having `pagetemplate` hooks run for this sort of template
16 by default would be rather astonishing, but perhaps some sort of
17 opt-in while defining the template would be reasonable? One problem
18 with that is that the templates used by [[ikiwiki/directive/template]]
19 are just wiki pages, and don't really have any special syntax support.