[typo] Some basic SEO for typo blogs

Kevin Ballard kevin at sb.org
Tue Dec 5 14:54:44 EST 2006


Ok, revision 1318 modifies the prefix setting to allow you to postfix  
the page title instead of prefix. Current prefixes will remain  
prefixes, so nobody's blog titles change unexpectedly.

On Dec 5, 2006, at 4:01 AM, Frederic de Villamil wrote:

> 1/ in the <title></title> field, put the post title before the blog
> title.
>
> You just need to replace the page_title function in app/helpers/
> articles_helper.rb by
>
> def page_title
>      if @page_title
>        # this is where the page title prefix (string) should go
>        @page_title + " - " +  (this_blog.title_prefix ? "#
> {this_blog.blog_name || "Typo"}" : '')
>      else
>        this_blog.blog_name || "Typo"
>      end
>    end

-- 
Kevin Ballard
http://kevin.sb.org
kevin at sb.org
http://www.tildesoft.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20061205/5e7826ab/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2432 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/typo-list/attachments/20061205/5e7826ab/attachment.bin 


More information about the Typo-list mailing list