lib/kharites/templates/article/views/layout.haml in Kharites-tools-0.1.1 vs lib/kharites/templates/article/views/layout.haml in Kharites-tools-0.2.0
- old
+ new
@@ -1,6 +1,19 @@
-!!!
-%html
+!!! Strict
+%html{:xmlns => "http://www.w3.org/1999/xhtml"}
%head
- %title Kharites
+ %title= @title
+ %meta{:content => "en", "http-equiv" => "content-language"}/
+ %meta{:content => "text/html; charset=utf-8", "http-equiv" => "content-type"}/
+ %meta{:content => "text/javascript", "http-equiv" => "content-script-type"}/
+ %meta{:content => "text/css", "http-equiv" => "content-style-type"}/
+ %meta{:content => "no", "http-equiv" => "imagetoolbar"}/
+ %meta{:content => "en", :name => "language"}/
+ %meta{:content => "7 days", :name => "revisit-after"}/
+ %meta{:content => "index,follow", :name => "robots"}/
+ %meta{:content => "#{Kharites::Configuration.kharites.author}", :name => "publisher"}/
+ %meta{:content => "Copyright #{Kharites::Configuration.kharites.author}, #{Date.today.year}", :name => "copyright"}/
+ %meta{:content => "#{Kharites::Configuration.kharites.author}, supported by #{Kharites::Configuration.kharites.author} #{Kharites::Configuration.url_base}", :name => "author"}/
+ %link{:rel => 'stylesheet', :type => 'text/css', :href => "/stylesheets/hello_world.css"}
%body
+
= yield
\ No newline at end of file