blog/source/_layouts/post.haml
2009-10-18 20:10:45 -05:00

25 lines
760 B
Plaintext

!!! 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"}
%body
#header
.page_width
%a.title(href="/")My Blog
%ul#header_nav.nav
%li.alpha
%a(href="/") Home
#page
.page_width
%h2= rp(page.title)
= content
%p.pubdate
Published:
=page.date.strftime("%d %b, %Y")
#footer
.page_width Footer