|
|
@ -7,13 +7,9 @@ |
|
|
|
<link rel="shortcut icon" href="/theme/img/favicon.png" /> |
|
|
|
<link rel="shortcut icon" href="/theme/img/favicon.png" /> |
|
|
|
<link rel="stylesheet" href="/theme/css/default.css" type="text/css" /> |
|
|
|
<link rel="stylesheet" href="/theme/css/default.css" type="text/css" /> |
|
|
|
<title><%= title %> - Linux во Владивостоке</title> |
|
|
|
<title><%= title %> - Linux во Владивостоке</title> |
|
|
|
% my @styles = qw(default); |
|
|
|
% my @styles = qw(); |
|
|
|
% push @styles, split(/\s+/, stash('styles') || ''); |
|
|
|
% push @styles, split(/\s+/, stash('styles') || ''); |
|
|
|
% |
|
|
|
% |
|
|
|
% my @scripts = qw(jquery); |
|
|
|
|
|
|
|
% push @scripts, split(/\s+/, stash('scripts') || ''); |
|
|
|
|
|
|
|
% push @scripts, 'main'; |
|
|
|
|
|
|
|
% |
|
|
|
|
|
|
|
% foreach my $style (@styles) { |
|
|
|
% foreach my $style (@styles) { |
|
|
|
<%= stylesheet "/theme/css/$style.css" %> |
|
|
|
<%= stylesheet "/theme/css/$style.css" %> |
|
|
|
% } |
|
|
|
% } |
|
|
@ -42,6 +38,10 @@ |
|
|
|
%= content |
|
|
|
%= content |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% my @scripts = qw(jquery); |
|
|
|
|
|
|
|
% push @scripts, split(/\s+/, stash('scripts') || ''); |
|
|
|
|
|
|
|
% push @scripts, 'main'; |
|
|
|
|
|
|
|
% |
|
|
|
% foreach my $script (@scripts) { |
|
|
|
% foreach my $script (@scripts) { |
|
|
|
<%= javascript "/theme/js/$script.js" %> |
|
|
|
<%= javascript "/theme/js/$script.js" %> |
|
|
|
% } |
|
|
|
% } |
|
|
|