www.duckland.org/themes/blogtxt/templates/base.tmpl
2015-06-09 22:50:31 -05:00

63 lines
2.2 KiB
Cheetah

## -*- coding: utf-8 -*-
<%namespace name="base" file="base_helper.tmpl" import="*"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
### Leave this block alone.
</%block>
${template_hooks['extra_head']()}
</head>
<body>
<div id="wrapper">
<div id="container">
<div id="content">
<div id="header">
<h1 id="blog-title">
<a href="${blog_url}" title="${blog_title}">${blog_title}</a>
</h1>
<%block name="belowtitle">
%if len(translations) > 1:
<small>
${messages("Also available in:")}&nbsp;
%for langname in translations.keys():
%if langname != lang:
<a href="${_link("index", None, langname)}">${messages[langname]["LANGUAGE"]}</a>
%endif
%endfor
</small>
%endif
</%block>
</div>
<div class="hfeed">
<!--Body content-->
<%block name="content"></%block>
<!--End of body content-->
</div><!-- .hfeed -->
</div><!-- #content -->
</div><!-- #container -->
<div id="primary" class="theme_sidebar">
<ul>
%for url, text in navigation_links[lang]:
<li><h3><a href="${rel_link(permalink, url)}">${text}</a></h3>
${template_hooks['menu']()}
${template_hooks['menu_alt']()}
%endfor
<li>${license}
<li>${search_form}
</ul>
</div><!-- #primary .theme_sidebar -->
<div id="footer">
<span id="theme-link"><a href="http://www.plaintxt.org/themes/blogtxt/" title="blog.txt theme for WordPress" rel="follow designer">blog.txt</a> 'theme by <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span></span>
<small>${content_footer}
${template_hooks['page_footer']()}
</small><p>
</div><!-- #footer -->
</div><!-- #wrapper -->
${body_end}
${template_hooks['body_end']()}
${base.late_load_js()}
</body>
</html>