]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/cannot_reliably_use_meta_in_template.mdwn
initial report
[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 Update: This also affects using tags from templates.
8
9 There is a simple fix for this, just add `scan => 1` when registering the
10 preprocess hook for the template plugin.
11
12 However, the overhead of this has to be considered. It means that, on every
13 scan pass, every page containing a template will cause the template to be
14 loaded and filled out. This can be some serious additional overhead.
15
16 --[[Joey]] 
17
18 [[done]]