my face
About Me

Published Posts

All Posts

New Post


View by Tag:

interviewing, code, testing, philosophy, blog, wantmyjob, virtualization, railsmud, heroku, ruby, published, neoarchaeology, railsgame, rails, juggernaut, astrino, cheaptoad, shannaspizza, mongodb, refactorit, devise, rvm, passenger


FeedBurner picture


Online Portfolio

Resume

Profile on LinkedIn

Recommend Me

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!

Previous: Short week, then no week / Next: And keywords and description...

Edit | Destroy | See All Posts

blog comments powered by Disqus