You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

53 lines
1.5 KiB

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="mojolicious" />
<meta name="robots" content="noindex,nofollow" />
<link rel="shortcut icon" href="/theme/img/favicon.png" />
<link rel="stylesheet" href="/theme/css/default.css" type="text/css" />
<title><%= title %> - Linux во Владивостоке</title>
% my @styles = qw();
% push @styles, split(/\s+/, stash('styles') || '');
%
% foreach my $style (@styles) {
<%= stylesheet "/theme/css/$style.css" %>
% }
</head>
<body>
<div id="main">
<div id="sidebar">
<a href="/" id="home">
<img src="/theme/img/logo.png" style="border: 0px; margin: 2px 10px;">
</a>
<h5>Навигация:</h5>
<ul id="sidenav" class="ui-block">
<li><a href="/">Главная</a></li>
<li><a href="/articles/">Статьи</a></li>
<li><a href="/events/">События</a></li>
<li><a href="/projects/">Проекты</a></li>
<li><a href="/pages/services/">Сервисы</a></li>
<li><a href="/pages/links/">Ссылки</a></li>
<li><a href="/forum/">Форум</a></li>
</ul>
%= include 'includes/auth_block';
</div>
<div id="content" class="ui-block">
%= content
</div>
% my @scripts = qw(jquery);
% push @scripts, split(/\s+/, stash('scripts') || '');
% push @scripts, 'main';
%
% foreach my $script (@scripts) {
<%= javascript "/theme/js/$script.js" %>
% }
</div>
<div id="footer" class="ui-block">
</div>
</body>
</html>