From 406485917af781a63607b50414bbf0d2e479da5f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Wed, 22 Dec 2010 12:55:33 +0100 Subject: po: do not override homepage title when it was overridden. --- IkiWiki/Plugin/po.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index a142bb909..9ed4a1adb 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -367,7 +367,8 @@ sub pagetemplate (@) { && $masterpage eq "index") { $template->param('parentlinks' => []); } - if (ishomepage($page) && $template->query(name => "title")) { + if (ishomepage($page) && $template->query(name => "title") + && !$template->param("title_overridden")) { $template->param(title => $config{wikiname}); } } -- cgit v1.2.3