improved starting point

This commit is contained in:
B Mathis 2009-10-18 19:07:36 -05:00
parent 2b4c5948b3
commit 82d0251da1
12 changed files with 839 additions and 3 deletions

View file

@ -0,0 +1,20 @@
!!! 1.1 Transitional
%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en")
%head
%title= page.title
- if page.respond_to? :description
%meta{:name=>"description", :content=>page.description}/
- if page.respond_to? :keywords
%meta{:name=>"keywords", :content=>page.keywords}/
%body
#header
.page_width
%a.title(href="/")Blog
%ul#header_nav.nav
%li.alpha
%a(href="/") Home
#page
.page_width
= content
#footer
.page_width Footer

20
source/_layouts/post.haml Normal file
View file

@ -0,0 +1,20 @@
!!! 1.1 Transitional
%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en")
%head
%title= page.title
- if page.respond_to? :description
%meta{:name=>"description", :content=>page.description}/
- if page.respond_to? :keywords
%meta{:name=>"keywords", :content=>page.keywords}/
%body
#header
.page_width
%a.title(href="/")Page Title
%ul#header_nav.nav
%li.alpha
%a(href="/") Home
#page
.page_width
= content
#footer
.page_width Footer