page titles are now formatted "Title - Blog Title"

This commit is contained in:
B Mathis 2009-10-20 09:16:14 -05:00
parent fd32bcaba0
commit 6c8b67d069

View File

@ -6,13 +6,13 @@ root_url:
!!! 1.1 Transitional !!! 1.1 Transitional
%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en") %html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en")
%head %head
%title= page.title %title= "#{page.title} - #{page.blog_title}"
- if page.respond_to? :description - if page.respond_to? :description
%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="#{page.root_url}/stylesheets/screen.css" rel="stylesheet" media="screen projection" type="text/css") %link(href="#{page.root_url}/stylesheets/screen.css" rel="stylesheet" media="screen projection" type="text/css")
%link(href="#{page.root_url}/atom.xml" rel="alternate" title="##{page.blog_title}" type="application/atom+xml") %link(href="#{page.root_url}/atom.xml" rel="alternate" title="#{page.blog_title}" type="application/atom+xml")
%body %body
#header #header
.page_width .page_width