new bug report

master
Joey Hess 2009-01-26 14:21:49 -05:00
parent 96073d77af
commit 309719de76
1 changed files with 14 additions and 0 deletions

View File

@ -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]]