|
|
@ -7,18 +7,16 @@ |
|
|
|
<link rel="shortcut icon" href="/theme/img/favicon.ico" /> |
|
|
|
<link rel="shortcut icon" href="/theme/img/favicon.ico" /> |
|
|
|
<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 = (); |
|
|
|
% my @styles = qw(default); |
|
|
|
% push @styles, split(/\s+/, stash('styles') || ''); |
|
|
|
% push @styles, split(/\s+/, stash('styles') || ''); |
|
|
|
% |
|
|
|
% |
|
|
|
% my @scripts = (); |
|
|
|
% my @scripts = qw(jquery); |
|
|
|
% push @scripts, split(/\s+/, stash('scripts') || ''); |
|
|
|
% 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" %> |
|
|
|
% } |
|
|
|
% } |
|
|
|
% foreach my $script (@scripts) { |
|
|
|
|
|
|
|
<%= javascript "/theme/js/$script.js" %> |
|
|
|
|
|
|
|
% } |
|
|
|
|
|
|
|
</head> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<body> |
|
|
|
<div id="main"> |
|
|
|
<div id="main"> |
|
|
@ -44,6 +42,9 @@ |
|
|
|
%= content |
|
|
|
%= content |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% foreach my $script (@scripts) { |
|
|
|
|
|
|
|
<%= javascript "/theme/js/$script.js" %> |
|
|
|
|
|
|
|
% } |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div id="footer" class="ui-block"> |
|
|
|
<div id="footer" class="ui-block"> |
|
|
|