improved starting point
This commit is contained in:
parent
2b4c5948b3
commit
82d0251da1
12 changed files with 839 additions and 3 deletions
20
source/_layouts/default.haml
Normal file
20
source/_layouts/default.haml
Normal 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
20
source/_layouts/post.haml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue