Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use title() helper in <title> element
  • Loading branch information
zoffixznet committed Nov 21, 2015
1 parent d440899 commit 4377db9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/templates/layouts/default.html.ep
Expand Up @@ -5,7 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Perl 6 Modules Directory</title>
<title><%= length(title) ? title() . ' - ' : '' %>Perl 6 Modules
Directory</title>
<link href="http://perl6.org/favicon.ico" rel="shortcut icon">
%= asset "cerulean.css";
%= asset "app.css";
Expand Down

0 comments on commit 4377db9

Please sign in to comment.