Author: dylan
Date: 2005-01-08 20:06:59 -0500 (Sat, 08 Jan 2005)
New Revision: 551
Modified:
trunk/web/Makefile
trunk/web/index.thtml
trunk/web/templates/page
Log:
[% META transitional = 1 %] works now.
Modified: trunk/web/Makefile
===================================================================
--- trunk/web/Makefile 2005-01-09 00:54:51 UTC (rev 550)
+++ trunk/web/Makefile 2005-01-09 01:06:59 UTC (rev 551)
@@ -1,7 +1,5 @@
# $Id$
-
-
# BEGIN CONFIG
T = templates
DEPENDS = $T/init $T/config bin/tt bin/fixhtml \
Modified: trunk/web/index.thtml
===================================================================
--- trunk/web/index.thtml 2005-01-09 00:54:51 UTC (rev 550)
+++ trunk/web/index.thtml 2005-01-09 01:06:59 UTC (rev 551)
@@ -1,7 +1,7 @@
[% META
title = "Home"
author = "Dylan Hardison"
- date = '2004-04-25'
+ date = '2004-04-25'
%]
[% WRAPPER "page" %]
Modified: trunk/web/templates/page
===================================================================
--- trunk/web/templates/page 2005-01-09 00:54:51 UTC (rev 550)
+++ trunk/web/templates/page 2005-01-09 01:06:59 UTC (rev 551)
@@ -1,5 +1,11 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
[%# vim: set syntax=template: %]
+[% UNLESS page.transitional %]
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+[% ELSE %]
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+[% END %]
<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
<head>
<title>$config.title: $page.title</title>