Browse Source

added rss metadata to layouts

unreleased_contents
B Mathis 15 years ago
parent
commit
a72b96142a
  1. 3
      source/_layouts/default.haml
  2. 3
      source/_layouts/post.haml

3
source/_layouts/default.haml

@ -10,7 +10,8 @@ blog_title: My Blog
%meta{:name=>"description", :content=>page.description}/ %meta{:name=>"description", :content=>page.description}/
- if page.respond_to? :keywords - if page.respond_to? :keywords
%meta{:name=>"keywords", :content=>page.keywords}/ %meta{:name=>"keywords", :content=>page.keywords}/
%link{:href=>"/stylesheets/screen.css", :rel=>"stylesheet", :media=>"screen, projection", :type=>"text/css"} %link(href="/stylesheets/screen.css" rel="stylesheet" media="screen projection" type="text/css")
%link(href="/blog/atom.xml" rel="alternate" title="Brandon Mathis - Design Enthusiast" type="application/atom+xml")
%body %body
#header #header
.page_width .page_width

3
source/_layouts/post.haml

@ -6,7 +6,8 @@
%meta{:name=>"description", :content=>page.description}/ %meta{:name=>"description", :content=>page.description}/
- if page.respond_to? :keywords - if page.respond_to? :keywords
%meta{:name=>"keywords", :content=>page.keywords}/ %meta{:name=>"keywords", :content=>page.keywords}/
%link{:href=>"/stylesheets/screen.css", :rel=>"stylesheet", :media=>"screen, projection", :type=>"text/css"} %link(href="/stylesheets/screen.css" rel="stylesheet" media="screen projection" type="text/css")
%link(href="/blog/atom.xml" rel="alternate" title="Brandon Mathis - Design Enthusiast" type="application/atom+xml")
%body %body
#header #header
.page_width .page_width

Loading…
Cancel
Save