# -*- 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 = 1433970007.490189 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' _exports = ['sourcelink', 'extra_head', 'content', 'extra_js', 'belowtitle'] 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, ['*']) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) len = _import_ns.get('len', context.get('len', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) def extra_js(): return render_extra_js(context._locals(__M_locals)) content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) def extra_head(): return render_extra_head(context._locals(__M_locals)) base = _mako_get_namespace(context, 'base') template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) post = _import_ns.get('post', context.get('post', UNDEFINED)) blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) notes = _mako_get_namespace(context, 'notes') search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) def belowtitle(): return render_belowtitle(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
\n
\n \n
\n ') __M_writer(str(template_hooks['page_header']())) __M_writer('\n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): context['self'].content(**pageargs) __M_writer('\n
\n \n\n \n
\n
\n\n') __M_writer(str(base.late_load_js())) __M_writer('\n \n \n \n \n ') if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_js'): context['self'].extra_js(**pageargs) __M_writer('\n') if annotations and post and not post.meta('noannotations'): __M_writer(' ') __M_writer(str(notes.code())) __M_writer('\n') elif not annotations and post and post.meta('annotations'): __M_writer(' ') __M_writer(str(notes.code())) __M_writer('\n') __M_writer(str(body_end)) __M_writer('\n') __M_writer(str(template_hooks['body_end']())) __M_writer('\n\n\n') return '' finally: context.caller_stack._pop_frame() def render_sourcelink(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def sourcelink(): return render_sourcelink(context) __M_writer = context.writer() return '' finally: context.caller_stack._pop_frame() def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def extra_head(): return render_extra_head(context) __M_writer = context.writer() __M_writer('\n') return '' finally: context.caller_stack._pop_frame() def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def content(): return render_content(context) __M_writer = context.writer() return '' finally: context.caller_stack._pop_frame() def render_extra_js(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def extra_js(): return render_extra_js(context) __M_writer = context.writer() return '' finally: context.caller_stack._pop_frame() def render_belowtitle(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) len = _import_ns.get('len', context.get('len', UNDEFINED)) base = _mako_get_namespace(context, 'base') translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) def belowtitle(): return render_belowtitle(context) __M_writer = context.writer() __M_writer('\n') if len(translations) > 1: __M_writer('
  • ') __M_writer(str(base.html_translations())) __M_writer('
  • \n') __M_writer(' ') return '' finally: context.caller_stack._pop_frame() """ __M_BEGIN_METADATA {"source_encoding": "utf-8", "uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "190": 66, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "218": 45, "150": 89, "230": 45, "161": 51, "241": 235, "175": 6, "184": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 85, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "233": 47, "234": 47, "231": 46, "235": 49, "109": 49, "110": 50, "111": 51, "232": 47, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "filename": "themes/bootstrap3/templates/base.tmpl"} __M_END_METADATA """