# -*- coding:utf-8 -*- from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 _modified_time = 1433919606.9783826 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' _exports = ['extra_js', 'content', 'sourcelink', 'belowtitle', 'extra_head'] def _mako_get_namespace(context, name): try: return context.namespaces[(__name__, name)] except KeyError: _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'notes')] = ns ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'base')] = ns def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) def extra_js(): return render_extra_js(context._locals(__M_locals)) len = _import_ns.get('len', context.get('len', UNDEFINED)) base = _mako_get_namespace(context, 'base') momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) def extra_head(): return render_extra_head(context._locals(__M_locals)) translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) post = _import_ns.get('post', context.get('post', UNDEFINED)) notes = _mako_get_namespace(context, 'notes') js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') __M_writer(str(set_locale(lang))) __M_writer('\n') __M_writer(str(base.html_headstart())) __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'): context['self'].extra_head(**pageargs) __M_writer('\n') __M_writer(str(template_hooks['extra_head']())) __M_writer('\n\n
\n') __M_writer(str(messages("Skip to main content"))) __M_writer('\n\n\n\n\n\n\n\n