]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
remove bogus test for empty page
[git.ikiwiki.info.git] / IkiWiki.pm
index 72f416489c1d267df30d5929fd0679f9598c8693..ee1ecb58f36003ec681f64fab13b5038fdfb43ad 100644 (file)
@@ -1401,10 +1401,6 @@ sub filter ($$$) {
        return $content;
 }
 
-sub indexlink () {
-       return "<a href=\"$config{url}\">$config{wikiname}</a>";
-}
-
 sub check_canedit ($$$;$) {
        my $page=shift;
        my $q=shift;
@@ -1751,16 +1747,13 @@ sub misctemplate ($$;@) {
        });
 
        $template->param(
+               dynamic => 1,
+               have_actions => 0, # force off
                title => $title,
                wikiname => $config{wikiname},
                content => $content,
                baseurl => baseurl(),
                html5 => $config{html5},
-               have_actions => 0, # force off
-               parentlinks => [{  # override
-                       url => $config{url},
-                       page => $config{wikiname},
-               }],
                @_,
        );