Turns out that users with a modified page.tmpl need to modify it on
upgrade, at least to add the FORCEBASEURL (so edit preview works),
so there is no point in trying to retain compatability.
my $title=shift;
my $content=shift;
- my $template=template("misc.tmpl") || template("page.tmpl");
+ my $template=template("page.tmpl");
run_hooks(pagetemplate => sub {
shift->(page => "", destpage => "", template => $template);
* Removed misc.tmpl. Now to theme ikiwiki, you only need to customise
a single template, page.tmpl.
- * misc.tmpl will, however, still be read if a locally modified version
- exists. This is to avoid forcing users to update page.tmpl right now.
+ * If you have a locally customised page.tmpl, it needs to be updated
+ to set <base> when BASEURL or FORCEBAREURL is set.
-- Joey Hess <joeyh@debian.org> Wed, 05 May 2010 18:07:29 -0400
* Enable tagbase by default (so that tag autocreation will work by default).
Note that this is already done for wikis created by `auto-blog.setup`.
* [[tips/html5]] on by default (some day..)
-* stop reading misc.tmpl if it exists (only done in case users have a customized
- version, or an outdated version of page.tmpl that cannot be used by
- misctemplate)
In general, we try to use [[ikiwiki-transition]] or forced rebuilds on
upgrade to deal with changes that break compatability. Some things that