]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/po.pm
po: fixed link to homepage from non-translation page
[ikiwiki.git] / IkiWiki / Plugin / po.pm
index 164d35270d986ffd1f110e079ef96f610654e854..42a125808addaa570f4157d2dfa2c089a7ecbfff 100644 (file)
@@ -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}");
        }