diff options
author | intrigeri <intrigeri@boum.org> | 2010-12-22 12:55:33 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-12-22 17:33:57 +0100 |
commit | 406485917af781a63607b50414bbf0d2e479da5f (patch) | |
tree | 9a432bf83ef989ce6743b425686feb50a50f7640 /IkiWiki/Plugin | |
parent | a8d733130e99c3b611605d2b3d0db9a9ca8f98f7 (diff) | |
download | ikiwiki-406485917af781a63607b50414bbf0d2e479da5f.tar ikiwiki-406485917af781a63607b50414bbf0d2e479da5f.tar.gz |
po: do not override homepage title when it was overridden.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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}); } } |