]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/cannot_reliably_use_meta_in_template.mdwn
046f40a7eaca5df04247de7bcf6bd59dca74808b
[ikiwiki.git] / doc / bugs / cannot_reliably_use_meta_in_template.mdwn
1 meta title cannot reliably be put inside a template used by the
2 [[plugins/template]] plugin. Since meta title info is gathered in the scan
3 pass, which does not look at the template a page includes, it will not be
4 seen then, and so other pages that use the page title probably won't use
5 it. (Barring luck with build order.)
6
7 There is a simple fix for this, just add `scan => 1` when registering the
8 preprocess hook for the template plugin.
9
10 However, the overhead of this has to be considered. It means that, on every
11 scan pass, every page containing a template will cause the template to be
12 loaded and filled out. This can be some serious additional overhead.
13
14 --[[Joey]]