blog/source/_layouts/default.haml

27 lines
762 B
Plaintext
Raw Normal View History

2009-10-19 01:42:54 +00:00
---
blog_title: My Blog
---
2009-10-19 00:07:36 +00:00
!!! 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}/
%link{:href=>"/stylesheets/screen.css", :rel=>"stylesheet", :media=>"screen, projection", :type=>"text/css"}
2009-10-19 00:07:36 +00:00
%body
#header
.page_width
2009-10-19 01:42:54 +00:00
%a.title(href="/")=page.blog_title
2009-10-19 00:07:36 +00:00
%ul#header_nav.nav
%li.alpha
%a(href="/archives") Archives
%li.omega
%a(href="/atom.xml") Subscribe
2009-10-19 00:07:36 +00:00
#page
.page_width
= content
#footer
.page_width Footer