]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/edittemplate.pm
Add shortcut for ohloh projects.
[ikiwiki.git] / IkiWiki / Plugin / edittemplate.pm
index b7651ce02b3c71ac96b4a561f3ef5e22738a6a5b..76c1cd42aed37b24ff3f313a50c0d49cd4112aa7 100644 (file)
@@ -38,10 +38,10 @@ sub preprocess (@) { #{{{
        return "" if $params{page} ne $params{destpage};
 
        if (! exists $params{template} || ! length($params{template})) {
-               return return "[[meta ".gettext("template not specified")."]]";
+               return "[[meta ".gettext("template not specified")."]]";
        }
        if (! exists $params{match} || ! length($params{match})) {
-               return return "[[meta ".gettext("match not specified")."]]";
+               return "[[meta ".gettext("match not specified")."]]";
        }
 
        $pagestate{$params{page}}{edittemplate}{$params{match}}=$params{template};