mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
improved starting point
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user