]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/meta.pm
* Add a htmlext config option, this can be used to make ikiwiki generate
[git.ikiwiki.info.git] / IkiWiki / Plugin / meta.pm
index 184146cfee5c558a23426a6b36438f8e681b41f9..fd21432fad09d790c6478b34b6004e0b1b96ff15 100644 (file)
@@ -87,10 +87,10 @@ sub preprocess (@) { #{{{
                if (! length $stylesheet) {
                        return "[[meta ".gettext("stylesheet not found")."]]";
                }
-               $meta{$page}.='<link href="'.$stylesheet.
+               $meta{$page}.='<link href="'.urlto($stylesheet, $page).
                        '" rel="'.encode_entities($rel).
                        '" title="'.encode_entities($title).
-                       "\" style=\"text/css\" />\n";
+                       "\" type=\"text/css\" />\n";
        }
        elsif ($key eq 'openid') {
                if (exists $params{server}) {