commit | 29c0b1d2c58fee1f7e87431fd430bed2df363ffe | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Thu Nov 13 21:14:17 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Thu Nov 13 21:14:17 2014 +0000 |
tree | 2bd5d822430ffa920b26cdd3fe2c8494bbaa23bd | |
parent | ec591a08be63042cc468145ccea149c5ff45939b [diff] [blame] |
Added test suite in tutorial
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index a35bbab..ac376e3 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep
@@ -4,7 +4,9 @@ <body> %# Background-image -<% unless (param('q')) { %><div id="crab-bg"></div><% } %> +% if (!param('q') && current_route eq 'index') { +<div id="crab-bg"></div> +% }; % my $location; % my $search_route;