diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-05 18:43:49 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-05 18:46:35 -0400 |
commit | 83b907c35e3a03d097c004b0d66cc37f45a4410d (patch) | |
tree | 4a844b8731cc090059b4a106764051013a8ffa41 /IkiWiki.pm | |
parent | 5971a731e98b9b6543d78572c181ffc1bb7e1dd1 (diff) | |
download | ikiwiki-83b907c35e3a03d097c004b0d66cc37f45a4410d.tar ikiwiki-83b907c35e3a03d097c004b0d66cc37f45a4410d.tar.gz |
remove misc.tmpl checking
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.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 54271becc..72f416489 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1744,7 +1744,7 @@ sub misctemplate ($$;@) { 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); |