From: Joey Hess Date: Wed, 5 May 2010 22:42:18 +0000 (-0400) Subject: allow search form visibility to be controlled on the template X-Git-Tag: 3.20100515~93 X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=5971a731e98b9b6543d78572c181ffc1bb7e1dd1;ds=sidebyside allow search form visibility to be controlled on the template hide extrafooter from misctemplate display per default --- diff --git a/IkiWiki.pm b/IkiWiki.pm index d20a3709c..54271becc 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1757,7 +1757,6 @@ sub misctemplate ($$;@) { baseurl => baseurl(), html5 => $config{html5}, have_actions => 0, # force off - searchform => 0, # ditto parentlinks => [{ # override url => $config{url}, page => $config{wikiname}, diff --git a/templates/page.tmpl b/templates/page.tmpl index f5257058c..eb76cafa6 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -52,9 +52,11 @@ + + @@ -184,8 +186,8 @@ Last edited - +