Post titles in the blog
Posted: 14 months ago (2009-06-22 17:30:55 UTC ) / Updated: 14 months ago (2009-06-22 17:31:21 UTC )
I'd been noticing that I was getting very little traction with Google. Then, because I am a bright boy, I looked up at the title bar. Hey, look -- no page titles!
That has been fixed, via an @title variable in my layout file. When @title is defined, I prefix the title with it. When not, not. Now I can use code like this in my Posts controller:
@title = @post.title
Also, hello again!
