Open shlomif opened 9 years ago
Most of the pages are autogenerated from their templates. I am not sure how to set their titles.
ack gave me:
views/layouts/main.tt
5: <title><% if title %><% title %><% else %>Dancer - Perl Web Framework for easy and fun webapp development<% end %></title>
So I think the place to add it is lib/PerlDancer.pm under:
# Add last tweet to template params
hook before_template_render => sub {
my $t = shift;
$t->{last_tweet} = latest_tweet();
$t->{this_year} = 1900 + (localtime)[5];
};
Maybe there's a better way.
Hi all,
the pages on http://perldancer.org/ currently all share the same
Regards,
-- Shlomi Fish