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