projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d7331
)
po: do not override homepage title when it was overridden.
author
intrigeri
<intrigeri@boum.org>
Wed, 22 Dec 2010 11:55:33 +0000
(12:55 +0100)
committer
intrigeri
<intrigeri@boum.org>
Wed, 22 Dec 2010 16:33:57 +0000
(17:33 +0100)
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index a142bb90961f108b2f9b395d69eba26a6b7a394f..9ed4a1adb8352f5bb91eb25a424d9cc5f1e1e212 100644
(file)
--- 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});
}
}