default xhtml strict doctype

This commit is contained in:
tdreyno 2009-11-10 11:41:17 -08:00
parent 516d523cce
commit 2ecf558232
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,6 @@
require 'rubygems' require 'rubygems'
require 'rake' require 'rake'
require 'cucumber/rake/task'
begin begin
require 'jeweler' require 'jeweler'
@ -23,6 +24,7 @@ begin
gem.add_dependency("compass") gem.add_dependency("compass")
gem.add_development_dependency("rspec") gem.add_development_dependency("rspec")
gem.add_development_dependency("sdoc") gem.add_development_dependency("sdoc")
gem.add_development_dependency("cucumber")
end end
Jeweler::GemcutterTasks.new Jeweler::GemcutterTasks.new

View file

@ -1,7 +1,11 @@
%html !!! Strict
%html{ :xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en", :lang => "en" }
%head %head
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
// Comment in layout // Comment in layout
= stylesheet_link_tag "site.css" = stylesheet_link_tag "site.css"
:javascript
// Comment in javascript
= yield_content :head = yield_content :head
%body{ :class => page_classes } %body{ :class => page_classes }