I realized that the only user-visible strings that are in my dancer perl code are the titles for pages. It's because I do stuff like this: template 'foo.tt', { title => 'My Title' }; Is there a way to define title in foo.tt such that the layout template can see it?