We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all,
the pages on http://perldancer.org/ currently all share the same <title> element, but it should be different for each page and meaningful.
Regards,
-- Shlomi Fish
The text was updated successfully, but these errors were encountered:
Most of the pages are autogenerated from their templates. I am not sure how to set their titles.
Sorry, something went wrong.
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.
No branches or pull requests
Hi all,
the pages on http://perldancer.org/ currently all share the same <title> element, but it should be different for each page and meaningful.
Regards,
-- Shlomi Fish
The text was updated successfully, but these errors were encountered: