summaryrefslogtreecommitdiff
path: root/themes/erdgeist/templates/base.tmpl
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.local>2015-08-16 16:38:25 +0200
committererdgeist <erdgeist@bauklotz.local>2015-08-16 16:38:25 +0200
commit23f0e1561767dd8a396188e317bae5920d171ea8 (patch)
treea67f44e39ad8a45e42d60634488a65c37f3ad432 /themes/erdgeist/templates/base.tmpl
Initial import of my nikola website
Diffstat (limited to 'themes/erdgeist/templates/base.tmpl')
-rw-r--r--themes/erdgeist/templates/base.tmpl58
1 files changed, 58 insertions, 0 deletions
diff --git a/themes/erdgeist/templates/base.tmpl b/themes/erdgeist/templates/base.tmpl
new file mode 100644
index 0000000..3bdf48d
--- /dev/null
+++ b/themes/erdgeist/templates/base.tmpl
@@ -0,0 +1,58 @@
1## -*- coding: utf-8 -*-
2<%namespace name="base" file="base_helper.tmpl" import="*" />
3<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
4${set_locale(lang)}
5${base.html_headstart()}
6<%block name="extra_head">
7### Leave this block alone.
8</%block>
9${template_hooks['extra_head']()}
10</head>
11<body>
12<a href="#content" class="sr-only sr-only-focusable">${messages("Skip to main content")}</a>
13
14<!-- Menubar -->
15
16<nav class="navbar navbar-fixed-top" role="navigation">
17 <div class="container"><!-- This keeps the margins nice -->
18 <ul class="nav navbar-nav">
19 ${base.html_navigation_links()}
20 ${template_hooks['menu']()}
21 </ul>
22 %if search_form:
23 ${search_form}
24 %endif
25
26 </div><!-- /.container -->
27</nav>
28
29<!-- End of Menubar -->
30
31<div class="container" id="content" role="main">
32 <div class="body-content">
33 <!--Body content-->
34 <div class="row">
35 ${template_hooks['page_header']()}
36 <%block name="content"></%block>
37 </div>
38 <!--End of body content-->
39
40 <footer>
41 ${content_footer}
42 ${template_hooks['page_footer']()}
43 </footer>
44 </div>
45</div>
46
47${base.late_load_js()}
48 <!--script>$('a.image-reference:not(.islink)').colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script -->
49 <%block name="extra_js"></%block>
50 % if annotations and post and not post.meta('noannotations'):
51 ${notes.code()}
52 % elif not annotations and post and post.meta('annotations'):
53 ${notes.code()}
54 % endif
55${body_end}
56${template_hooks['body_end']()}
57</body>
58</html>