%= content
% foreach my $script (@scripts) {
<%= javascript "/theme/js/$script.js" %>
% }
% my @styles = qw(default); % push @styles, split(/\s+/, stash('styles') || ''); % % my @scripts = qw(jquery); % push @scripts, split(/\s+/, stash('scripts') || ''); % push @scripts, 'main'; % % foreach my $style (@styles) { <%= stylesheet "/theme/css/$style.css" %> % }