summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-11-11 15:01:16 +0100
committerintrigeri <intrigeri@boum.org>2008-11-11 15:06:26 +0100
commitcfe101fff9f4469c4765e81ec5bb0a0b2ca2bec0 (patch)
tree15c297e6f10fc7fcd1e3feb045615cb2a915fbcb /IkiWiki/Plugin
parent6b82ef44b07d19cd17dad3c26fe0a05715ffcb03 (diff)
po: fixed link to homepage from non-translation page
Added testcases for this bug. It remains broken when generated from <TMPL_VAR BASEURL>, though. Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/po.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index 164d35270..42a125808 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -427,7 +427,6 @@ sub myurlto ($$;$) { #{{{
# workaround hard-coded /index.$config{htmlext} in IkiWiki::urlto()
if (! length $to
&& $config{po_link_to} eq "current"
- && istranslation($from)
&& istranslatable('index')) {
return IkiWiki::beautify_urlpath(IkiWiki::baseurl($from) . "index." . lang($from) . ".$config{htmlext}");
}