From a0aca9f585d3a530dba0739a1ec2e7da8472f94d Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 13 Jul 2007 20:38:31 +0000 Subject: [PATCH] * Fix links to alternate stylesheets when usedirs is enabled. * Use type= not style= in html for alternate stylesheets, which is more correct (but in my testing both epiphany and iceweasel work ok with style=text/css). --- IkiWiki/Plugin/meta.pm | 2 +- debian/changelog | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index f498398a2..fd21432fa 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -90,7 +90,7 @@ sub preprocess (@) { #{{{ $meta{$page}.='\n"; + "\" type=\"text/css\" />\n"; } elsif ($key eq 'openid') { if (exists $params{server}) { diff --git a/debian/changelog b/debian/changelog index 72775cf54..e02b714fa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,9 +7,12 @@ ikiwiki (2.4) UNRELEASED; urgency=low * Support building on systems that lack asprintf. * mercurial getctime is currently broken, apparently by some change in mercurial version 0.9.4. Turn the failing test case into a TODO test case. - * Fix links to stylesheets when usedirs is enabled. + * Fix links to alternate stylesheets when usedirs is enabled. + * Use type= not style= in html for alternate stylesheets, which is more + correct (but in my testing both epiphany and iceweasel work ok with + style=text/css). - -- Joey Hess Fri, 13 Jul 2007 16:18:34 -0400 + -- Joey Hess Fri, 13 Jul 2007 16:28:47 -0400 ikiwiki (2.3) unstable; urgency=low -- 2.44.0