]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/misc.tmpl
po: remove all dependencies on nicepagetitle
[git.ikiwiki.info.git] / templates / misc.tmpl
index 442db8c21cafb4589680978500b23ccad83f0018..7f65217d124b0423d523814d2964d18e0d24952f 100644 (file)
@@ -1,17 +1,26 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
+<TMPL_IF NAME="FORCEBASEURL">
+<base href="<TMPL_VAR FORCEBASEURL>" />
+<TMPL_ELSE>
+<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" />
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
+<TMPL_IF NAME="FAVICON">
+<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
+</TMPL_IF>
 </head>
 <body>
 
-<div id="header">
-<h1>
+<div class="header">
+<span>
 <TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE>
-</h1>
+</span>
 </div>
 
 <div id="content">