To set a page title within your view:
<h1><%= title "My page title" %></h1>
Then, to output the title within your layout:
<head>
<title>My website<%= title %></title>
</head
By default, this will output a title preceded by a space, ampersand,
and space.
...
I'll probably keep "t" around for A-team fans... but this seems
cleaner. (I like using a single function for reading/writing the page
titles, too.)
Thoughts?
-- Patrick
_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby