diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index f1baf41..eb01318 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -6,10 +6,10 @@
<%= title %> - Linux во Владивостоке
% my @styles = qw(default);
-% push @styles, split(/\s+/, stash('styles'));
+% push @styles, split(/\s+/, stash('styles') || '');
%
% my @scripts = ();
-% push @scripts, split(/\s+/, stash('scripts'));
+% push @scripts, split(/\s+/, stash('scripts') || '');
%
% foreach my $style (@styles) {
<%= stylesheet "/css/$style.css" %>