From: elliottcable Date: Sun, 18 May 2008 10:35:49 +0000 (-0800) Subject: More touching up on both templates X-Git-Url: https://repo.or.cz/git-blog.git/commitdiff_plain/3ec05733282506c534cb0cc317cebda064616c64 More touching up on both templates --- diff --git a/prepped/design/index.haml b/prepped/design/index.haml index 1373eae..1564edf 100644 --- a/prepped/design/index.haml +++ b/prepped/design/index.haml @@ -12,7 +12,7 @@ %ol#posts - for post in posts %li - %a{:href => "posts/#{post[:slug]}", :title => post[:title]}= post[:title] + %a{:href => "posts/#{post[:slug]}.xhtml", :title => post[:title]}= post[:title] #footer :markdown powered by [git-blog](http://github.com/elliottcable/git-blog "elliottcable's git-blog on GitHub"), by [elliottcable](http://elliottcable.name "elliottcable") \ No newline at end of file diff --git a/prepped/design/index.haml b/prepped/design/post.haml similarity index 64% copy from prepped/design/index.haml copy to prepped/design/post.haml index 1373eae..930ee83 100644 --- a/prepped/design/index.haml +++ b/prepped/design/post.haml @@ -3,16 +3,13 @@ %html{:xmlns => 'http://www.w3.org/1999/xhtml', :'xml:lang' => 'en'} %head %meta{:'http-equiv' => 'Content-Type', :content => 'application/xhtml+xml;charset=utf-8'} - %title yet another git-blog - %link{:rel => 'stylesheet', :href => 'design/main.css', :type => 'text/css;charset=utf-8'} + %title= title + %link{:rel => 'stylesheet', :href => '../design/main.css', :type => 'text/css;charset=utf-8'} / %link{:rel => 'alternate', :href => '/posts/feed.rss', :type => 'application/rss+xml', :title => 'Feed (RSS 2.0)'} / %link{:rel => 'alternate', :href => '/posts/feed.atom', :type => 'application/atom+xml', :title => 'Feed (Atom)'} %body - %h1 yet another git-blog - %ol#posts - - for post in posts - %li - %a{:href => "posts/#{post[:slug]}", :title => post[:title]}= post[:title] + %h1= title + #content= content #footer :markdown powered by [git-blog](http://github.com/elliottcable/git-blog "elliottcable's git-blog on GitHub"), by [elliottcable](http://elliottcable.name "elliottcable") \ No newline at end of file