aboutsummaryrefslogtreecommitdiff
path: root/source/_layouts/post.haml
blob: 4accb5350d00674f8da86cdb9190b97adeceaa38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
!!! 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