]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/po.pm
po: do not override homepage title when it was overridden.
[git.ikiwiki.info.git] / IkiWiki / Plugin / po.pm
index a142bb90961f108b2f9b395d69eba26a6b7a394f..9ed4a1adb8352f5bb91eb25a424d9cc5f1e1e212 100644 (file)
@@ -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});
        }
 }