summaryrefslogtreecommitdiff
path: root/themes/erdgeist/templates/base.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/erdgeist/templates/base.tmpl')
-rw-r--r--themes/erdgeist/templates/base.tmpl21
1 files changed, 14 insertions, 7 deletions
diff --git a/themes/erdgeist/templates/base.tmpl b/themes/erdgeist/templates/base.tmpl
index 3bdf48d..813b592 100644
--- a/themes/erdgeist/templates/base.tmpl
+++ b/themes/erdgeist/templates/base.tmpl
@@ -37,7 +37,7 @@ ${template_hooks['extra_head']()}
37 </div> 37 </div>
38 <!--End of body content--> 38 <!--End of body content-->
39 39
40 <footer> 40 <footer id="footer">
41 ${content_footer} 41 ${content_footer}
42 ${template_hooks['page_footer']()} 42 ${template_hooks['page_footer']()}
43 </footer> 43 </footer>
@@ -45,13 +45,20 @@ ${template_hooks['extra_head']()}
45</div> 45</div>
46 46
47${base.late_load_js()} 47${base.late_load_js()}
48 <!--script>$('a.image-reference:not(.islink)').colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script --> 48 <!-- fancy dates -->
49 <script>
50 moment.locale("${momentjs_locales[lang]}");
51 fancydates(${date_fanciness}, ${js_date_format});
52 </script>
53 <!-- end fancy dates -->
49 <%block name="extra_js"></%block> 54 <%block name="extra_js"></%block>
50 % if annotations and post and not post.meta('noannotations'): 55 <script>
51 ${notes.code()} 56 baguetteBox.run('div#content', {
52 % elif not annotations and post and post.meta('annotations'): 57 ignoreClass: 'islink',
53 ${notes.code()} 58 captions: function(element) {
54 % endif 59 return element.getElementsByTagName('img')[0].alt;
60 }});
61 </script>
55${body_end} 62${body_end}
56${template_hooks['body_end']()} 63${template_hooks['body_end']()}
57</body> 64</body>