aboutsummaryrefslogtreecommitdiff
path: root/templates/misc.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-21 22:27:02 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-21 22:27:02 +0000
commitcf3021ef3f5cb839195585d601de76df519da510 (patch)
treee239dbfdec8b90f9aa7654b5bd0ce10cdb542611 /templates/misc.tmpl
parent0dc0d8e3b5f2db006ac83d0d7f336c2fda51b4bb (diff)
downloadikiwiki-cf3021ef3f5cb839195585d601de76df519da510.tar
ikiwiki-cf3021ef3f5cb839195585d601de76df519da510.tar.gz
* Fixed a bug with previews of subpages having broken links to top-level
pages. * Change how the stylesheet url is determined in the templates: Remove STYLEURL and add BASEURL to all templates (some already had it). This new more general variable can be used to link to other things (eg, images) from the template, as well as stylesheets.
Diffstat (limited to 'templates/misc.tmpl')
-rw-r--r--templates/misc.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/misc.tmpl b/templates/misc.tmpl
index d50fba423..0376a19f9 100644
--- a/templates/misc.tmpl
+++ b/templates/misc.tmpl
@@ -2,12 +2,10 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
-<TMPL_IF NAME="BASEURL">
<base href="<TMPL_VAR BASEURL>" />
-</TMPL_IF>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><TMPL_VAR TITLE></title>
-<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" />
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
</head>
<body>