I use nifty_generator's "nifty_layout" which provides with a title variable which I can call then on the page using:
<% title "Title of page" %>
I can also user <% title "Title of page", false %>
to have the title just show in browser title and not in the page itself.