diff --git a/templates/404.html.ep b/templates/404.html.ep index 1281806..f507043 100644 --- a/templates/404.html.ep +++ b/templates/404.html.ep @@ -1,6 +1,6 @@ % use Mojo::Util; % use BurguillosInfo::Categories; -% layout 'default', current_slug => undef, categories => BurguillosInfo::Categories->new->Retrieve; +% layout 'default', current_category_slug => undef, categories => BurguillosInfo::Categories->new->Retrieve;

Esta página no existe.

Si un enlace te ha llevado aquí, reporta el error a los administradores.

diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 36491a3..933a05e 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -1,4 +1,6 @@ +% my $categories = stash 'categories'; +% my $current_category_slug = stash 'current_category_slug'; @@ -21,41 +23,8 @@
- - - - +%= include 'page/_desktop_menu', categories => $categories, current_category_slug => $current_category_slug +%= include 'page/_mobile_menu', categories => $categories <%= content %>