* Fix links to stylesheets when usedirs is enabled.

master
joey 2007-07-13 20:19:34 +00:00
parent a323aabd9a
commit eabe03fb5b
3 changed files with 4 additions and 3 deletions

View File

@ -87,7 +87,7 @@ 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";

3
debian/changelog vendored
View File

@ -7,8 +7,9 @@ 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.
-- Joey Hess <joeyh@debian.org> Wed, 11 Jul 2007 12:23:41 -0400
-- Joey Hess <joeyh@debian.org> Fri, 13 Jul 2007 16:18:34 -0400
ikiwiki (2.3) unstable; urgency=low

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-07-11 12:49-0400\n"
"POT-Creation-Date: 2007-07-13 16:19-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"