* Split off an IkiWiki.pm out of ikiwiki and have all the other modules use
[ikiwiki.git] / templates / misc.tmpl
index 442db8c21cafb4589680978500b23ccad83f0018..1f724d3cd70b4da4ef623f801d2918b2c7cacd69 100644 (file)
@@ -2,6 +2,9 @@
  "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" />