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.

45 lines
1.3 KiB

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="statocles" />
<link rel="shortcut icon" href="/theme/img/favicon.png" />
<link rel="stylesheet" href="/theme/css/hljs.css" type="text/css" />
<link rel="stylesheet" href="/theme/css/default.css" type="text/css" />
<title><%= $self->title ? $self->title . ' - ' : '' %><%= $site->title %></title>
% for my $link ($self->links('feed')) {
<link rel="alternate" href="<%= $link->href %>" type="<%= $link->type %>" />
% }
</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">
% my @nav_links = $site->nav('main');
% for my $nav (@nav_links) {
<li><a href="<%= $nav->href %>"><%= $nav->text %></a></li>
% }
</ul>
</div>
<div id="content" class="ui-block">
% if ($self->title) {
<h1><%= $self->title %></h1>
% }
%= $content
</div>
</div>
<div id="footer" class="ui-block">
</div>
<script type="text/javascript" src="/theme/js/jquery.js"></script>
<script type="text/javascript" src="/theme/js/highlight.js"></script>
<script type="text/javascript" src="/theme/js/main.js"></script>
</body>
</html>