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