diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-26 22:51:50 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-26 22:51:50 +0100 |
commit | fcaa7f6237ac2b2b372cb26aed136f8a364d6ed5 (patch) | |
tree | 4f5a91489e5939a1f1239aaa0e83b0037e40512b /doc/bugs | |
parent | cf374e97cf571c847a21efce9c26b01315a054a1 (diff) | |
parent | dfc50165dd187968fa9fd27856f3dc952ad783e9 (diff) |
Merge commit 'upstream/master' into prv/po
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/cannot_reliably_use_meta_in_template.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bugs/cannot_reliably_use_meta_in_template.mdwn b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn new file mode 100644 index 000000000..046f40a7e --- /dev/null +++ b/doc/bugs/cannot_reliably_use_meta_in_template.mdwn @@ -0,0 +1,14 @@ +meta title cannot reliably be put inside a template used by the +[[plugins/template]] plugin. Since meta title info is gathered in the scan +pass, which does not look at the template a page includes, it will not be +seen then, and so other pages that use the page title probably won't use +it. (Barring luck with build order.) + +There is a simple fix for this, just add `scan => 1` when registering the +preprocess hook for the template plugin. + +However, the overhead of this has to be considered. It means that, on every +scan pass, every page containing a template will cause the template to be +loaded and filled out. This can be some serious additional overhead. + +--[[Joey]] |