aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-14 21:45:22 -0400
committerJoey Hess <joey@kitenet.net>2010-05-14 21:45:54 -0400
commitc8b34aa31c7d146adf4210c6171dfea2988a7688 (patch)
treed25591477f98572fea9e26bff361a6d037b00dff /IkiWiki.pm
parent4c6fa6413fc26ddbb1f8dc2c73f97a105c5002f8 (diff)
downloadikiwiki-c8b34aa31c7d146adf4210c6171dfea2988a7688.tar
ikiwiki-c8b34aa31c7d146adf4210c6171dfea2988a7688.tar.gz
allow misctemplate callers to pass params to suppress actions etc
Suppress disiplay of small search for on search results page, and of Prefrences link on prefs page.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index a42f56bf0..699ad13da 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1745,6 +1745,7 @@ sub misctemplate ($$;@) {
run_hooks(pagetemplate => sub {
shift->(page => "", destpage => "", template => $template);
});
+ templateactions($template, "");
$template->param(
dynamic => 1,
@@ -1755,8 +1756,6 @@ sub misctemplate ($$;@) {
html5 => $config{html5},
@_,
);
-
- templateactions($template, "");
return $template->output;
}