mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
default xhtml strict doctype
This commit is contained in:
parent
516d523cce
commit
2ecf558232
2 changed files with 7 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -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
|
||||||
|
|
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue