photoblog/themes/lanyon/templates/base.tmpl

53 lines
1.8 KiB
Cheetah
Raw Permalink Normal View History

2016-10-06 18:57:33 +00:00
## -*- coding: utf-8 -*-
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
### Leave this block alone.
</%block>
${template_hooks['extra_head']()}
</head>
% if lanyon_subtheme:
<body class="${lanyon_subtheme}">
%else:
<body>
%endif
<a href="#content" class="sr-only sr-only-focusable">${messages("Skip to main content")}</a>
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
styles, `#sidebar-checkbox` for behavior. -->
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<div class="sidebar-item">
<p><i>Living our photographies</i> is maybe a way to amplify our living experience. At least, I try to do this photographic experiment.
<a href="https://twitter.com/adulau" target="_blank">@adulau</a>.</p>
</div>
${header.html_navigation_links()}
</div>
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collisions with our real content. -->
<div class="wrap">
<div class="masthead">
<div class="container">
${header.html_site_title()}
</div>
</div>
<div class="container content" id="content">
<%block name="content"></%block>
${footer.html_footer()}
</div>
</div>
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
${body_end}
${template_hooks['body_end']()}
${base.late_load_js()}
<%block name="extra_js"></%block>
</body>
</html>