|
|
|
<!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(default);
|
|
|
|
% push @styles, split(/\s+/, stash('styles') || '');
|
|
|
|
%
|
|
|
|
% my @scripts = qw(jquery);
|
|
|
|
% push @scripts, split(/\s+/, stash('scripts') || '');
|
|
|
|
% push @scripts, 'main';
|
|
|
|
%
|
|
|
|
% 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>
|
|
|
|
|
|
|
|
% foreach my $script (@scripts) {
|
|
|
|
<%= javascript "/theme/js/$script.js" %>
|
|
|
|
% }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="footer" class="ui-block">
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|