diff --git a/.doit.db b/.doit.db index 5381b347..4bd13266 100644 Binary files a/.doit.db and b/.doit.db differ diff --git a/cache/.mako.tmp/__pycache__/annotation_helper.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/annotation_helper.tmpl.cpython-34.pyc index ac70294c..767c5830 100644 Binary files a/cache/.mako.tmp/__pycache__/annotation_helper.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/annotation_helper.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc index a4805827..957daf70 100644 Binary files a/cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/base_helper.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/base_helper.tmpl.cpython-34.pyc index 88cbab4f..5961567d 100644 Binary files a/cache/.mako.tmp/__pycache__/base_helper.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/base_helper.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper.tmpl.cpython-34.pyc index ddad4239..c1b4f2b4 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper_disqus.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper_disqus.tmpl.cpython-34.pyc index b50b7768..c3aa5556 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper_disqus.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper_disqus.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper_facebook.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper_facebook.tmpl.cpython-34.pyc index 9b9881e7..ab9cca3c 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper_facebook.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper_facebook.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper_googleplus.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper_googleplus.tmpl.cpython-34.pyc index 63fde6f9..88e5aaa3 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper_googleplus.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper_googleplus.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper_intensedebate.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper_intensedebate.tmpl.cpython-34.pyc index 5153af86..1a7c47dd 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper_intensedebate.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper_intensedebate.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper_isso.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper_isso.tmpl.cpython-34.pyc index 5c204904..c8933658 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper_isso.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper_isso.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper_livefyre.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper_livefyre.tmpl.cpython-34.pyc index d4463015..9658b304 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper_livefyre.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper_livefyre.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/comments_helper_muut.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/comments_helper_muut.tmpl.cpython-34.pyc index dc7bfe31..9cdebd7a 100644 Binary files a/cache/.mako.tmp/__pycache__/comments_helper_muut.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/comments_helper_muut.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/crumbs.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/crumbs.tmpl.cpython-34.pyc index f877f2c6..1e668818 100644 Binary files a/cache/.mako.tmp/__pycache__/crumbs.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/crumbs.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/index.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/index.tmpl.cpython-34.pyc index 66114ea1..9b27e126 100644 Binary files a/cache/.mako.tmp/__pycache__/index.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/index.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/index_helper.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/index_helper.tmpl.cpython-34.pyc index 1f4b35a2..a32c060b 100644 Binary files a/cache/.mako.tmp/__pycache__/index_helper.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/index_helper.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc index 3f71f930..3c4008be 100644 Binary files a/cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/list_post.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/list_post.tmpl.cpython-34.pyc index 0707787d..dfabafff 100644 Binary files a/cache/.mako.tmp/__pycache__/list_post.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/list_post.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/listing.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/listing.tmpl.cpython-34.pyc index 531ae8d9..8bb5210d 100644 Binary files a/cache/.mako.tmp/__pycache__/listing.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/listing.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc index dc94e003..935c0f38 100644 Binary files a/cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/post_header.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/post_header.tmpl.cpython-34.pyc index c87b2c09..9623b729 100644 Binary files a/cache/.mako.tmp/__pycache__/post_header.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/post_header.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/post_helper.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/post_helper.tmpl.cpython-34.pyc index b0450269..a3107e34 100644 Binary files a/cache/.mako.tmp/__pycache__/post_helper.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/post_helper.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/story.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/story.tmpl.cpython-34.pyc index 49edddde..0c8544c1 100644 Binary files a/cache/.mako.tmp/__pycache__/story.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/story.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc index 6975e88c..05d778f8 100644 Binary files a/cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc index b1fe7130..3404f96c 100644 Binary files a/cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc and b/cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc differ diff --git a/cache/.mako.tmp/annotation_helper.tmpl.py b/cache/.mako.tmp/annotation_helper.tmpl.py index 37b6489a..b2f29a82 100644 --- a/cache/.mako.tmp/annotation_helper.tmpl.py +++ b/cache/.mako.tmp/annotation_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.38916 +_modified_time = 1433980809.1526814 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl' _template_uri = 'annotation_helper.tmpl' _source_encoding = 'ascii' -_exports = ['code', 'css'] +_exports = ['css', 'code'] def render_body(context,**pageargs): @@ -24,16 +24,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_code(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n \n \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_css(context): __M_caller = context.caller_stack._push_frame() try: @@ -44,8 +34,18 @@ def render_css(context): context.caller_stack._pop_frame() +def render_code(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n \n \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "source_encoding": "ascii"} +{"source_encoding": "ascii", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index 80f0137d..5fe9a333 100644 --- a/cache/.mako.tmp/base.tmpl.py +++ b/cache/.mako.tmp/base.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.3156745 +_modified_time = 1433980809.0779314 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'content', 'extra_js', 'belowtitle', 'extra_head'] +_exports = ['content', 'extra_head', 'extra_js', 'sourcelink', 'belowtitle'] def _mako_get_namespace(context, name): @@ -32,37 +32,37 @@ def render_body(context,**pageargs): _import_ns = {} _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) - logo_url = _import_ns.get('logo_url', context.get('logo_url', 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)) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - base = _mako_get_namespace(context, 'base') - len = _import_ns.get('len', context.get('len', UNDEFINED)) - lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) - def belowtitle(): - return render_belowtitle(context._locals(__M_locals)) + notes = _mako_get_namespace(context, 'notes') def extra_js(): return render_extra_js(context._locals(__M_locals)) - template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - def content(): - return render_content(context._locals(__M_locals)) - content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) - momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) - set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) - notes = _mako_get_namespace(context, 'notes') - body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) + post = _import_ns.get('post', context.get('post', UNDEFINED)) + date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) + annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) + def belowtitle(): + return render_belowtitle(context._locals(__M_locals)) + set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + base = _mako_get_namespace(context, 'base') + blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) def extra_head(): return render_extra_head(context._locals(__M_locals)) + content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) + 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)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) + logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) + def content(): + return render_content(context._locals(__M_locals)) + lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) + momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -158,20 +158,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def sourcelink(): - return render_sourcelink(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -186,43 +172,6 @@ def render_content(context,**pageargs): 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, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._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, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - base = _mako_get_namespace(context, 'base') - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - len = _import_ns.get('len', context.get('len', 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() - - def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -238,8 +187,59 @@ def render_extra_head(context,**pageargs): 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, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def extra_js(): + return render_extra_js(context) + __M_writer = context.writer() + 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, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def sourcelink(): + return render_sourcelink(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, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + base = _mako_get_namespace(context, 'base') + len = _import_ns.get('len', context.get('len', UNDEFINED)) + def belowtitle(): + return render_belowtitle(context) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + __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 -{"uri": "base.tmpl", "filename": "themes/bootstrap3/templates/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, "215": 45, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "218": 47, "150": 89, "161": 51, "219": 47, "220": 49, "226": 6, "175": 66, "216": 46, "189": 85, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "203": 45, "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, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 47, "126": 66, "127": 71}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "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": 85, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "218": 45, "150": 89, "230": 45, "161": 66, "241": 235, "175": 6, "184": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 51, "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}, "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py index 78d01225..e47ad815 100644 --- a/cache/.mako.tmp/base_helper.tmpl.py +++ b/cache/.mako.tmp/base_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.356259 +_modified_time = 1433980809.1188588 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_translations', 'html_feedlinks', 'late_load_js', 'html_stylesheets', 'html_navigation_links', 'html_headstart'] +_exports = ['html_translations', 'html_headstart', 'html_stylesheets', 'late_load_js', 'html_navigation_links', 'html_feedlinks'] def render_body(context,**pageargs): @@ -32,10 +32,10 @@ def render_body(context,**pageargs): def render_html_translations(context): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) lang = context.get('lang', UNDEFINED) - translations = context.get('translations', UNDEFINED) _link = context.get('_link', UNDEFINED) + translations = context.get('translations', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') for langname in translations.keys(): @@ -52,181 +52,32 @@ def render_html_translations(context): context.caller_stack._pop_frame() -def render_html_feedlinks(context): - __M_caller = context.caller_stack._push_frame() - try: - rss_link = context.get('rss_link', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - translations = context.get('translations', UNDEFINED) - len = context.get('len', UNDEFINED) - _link = context.get('_link', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if rss_link: - __M_writer(' ') - __M_writer(str(rss_link)) - __M_writer('\n') - elif generate_rss: - if len(translations) > 1: - for language in translations: - __M_writer(' \n') - else: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_late_load_js(context): - __M_caller = context.caller_stack._push_frame() - try: - lang = context.get('lang', UNDEFINED) - colorbox_locales = context.get('colorbox_locales', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) - social_buttons_code = context.get('social_buttons_code', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if use_bundles: - if use_cdn: - __M_writer(' \n \n \n') - else: - __M_writer(' \n') - else: - if use_cdn: - __M_writer(' \n \n') - else: - __M_writer(' \n \n \n \n') - __M_writer(' \n') - if colorbox_locales[lang]: - __M_writer(' \n') - __M_writer(' ') - __M_writer(str(social_buttons_code)) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_stylesheets(context): - __M_caller = context.caller_stack._push_frame() - try: - notes = context.get('notes', UNDEFINED) - annotations = context.get('annotations', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - has_custom_css = context.get('has_custom_css', UNDEFINED) - post = context.get('post', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if use_bundles: - if use_cdn: - __M_writer(' \n \n') - else: - __M_writer(' \n') - else: - if use_cdn: - __M_writer(' \n') - else: - __M_writer(' \n') - __M_writer(' \n \n \n \n') - if has_custom_css: - __M_writer(' \n') - if annotations and post and not post.meta('noannotations'): - __M_writer(' ') - __M_writer(str(notes.css())) - __M_writer('\n') - elif not annotations and post and post.meta('annotations'): - __M_writer(' ') - __M_writer(str(notes.css())) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_navigation_links(context): - __M_caller = context.caller_stack._push_frame() - try: - tuple = context.get('tuple', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - isinstance = context.get('isinstance', UNDEFINED) - navigation_links = context.get('navigation_links', UNDEFINED) - lang = context.get('lang', UNDEFINED) - rel_link = context.get('rel_link', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - for url, text in navigation_links[lang]: - if isinstance(url, tuple): - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') - else: - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_headstart(context): __M_caller = context.caller_stack._push_frame() try: - comment_system_id = context.get('comment_system_id', UNDEFINED) + prevlink = context.get('prevlink', UNDEFINED) + description = context.get('description', UNDEFINED) + comment_system = context.get('comment_system', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + extra_head_data = context.get('extra_head_data', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + mathjax_config = context.get('mathjax_config', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) + twitter_card = context.get('twitter_card', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) def html_feedlinks(): return render_html_feedlinks(context) - permalink = context.get('permalink', UNDEFINED) - twitter_card = context.get('twitter_card', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - extra_head_data = context.get('extra_head_data', UNDEFINED) - lang = context.get('lang', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - prevlink = context.get('prevlink', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) + title = context.get('title', UNDEFINED) + favicons = context.get('favicons', UNDEFINED) def html_stylesheets(): return render_html_stylesheets(context) - favicons = context.get('favicons', UNDEFINED) - comment_system = context.get('comment_system', UNDEFINED) + lang = context.get('lang', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) nextlink = context.get('nextlink', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) - description = context.get('description', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - is_rtl = context.get('is_rtl', UNDEFINED) - title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n\n \n') + else: + __M_writer(' \n') + else: + if use_cdn: + __M_writer(' \n') + else: + __M_writer(' \n') + __M_writer(' \n \n \n \n') + if has_custom_css: + __M_writer(' \n') + if annotations and post and not post.meta('noannotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + elif not annotations and post and post.meta('annotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_late_load_js(context): + __M_caller = context.caller_stack._push_frame() + try: + use_bundles = context.get('use_bundles', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) + colorbox_locales = context.get('colorbox_locales', UNDEFINED) + lang = context.get('lang', UNDEFINED) + social_buttons_code = context.get('social_buttons_code', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if use_bundles: + if use_cdn: + __M_writer(' \n \n \n') + else: + __M_writer(' \n') + else: + if use_cdn: + __M_writer(' \n \n') + else: + __M_writer(' \n \n \n \n') + __M_writer(' \n') + if colorbox_locales[lang]: + __M_writer(' \n') + __M_writer(' ') + __M_writer(str(social_buttons_code)) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_navigation_links(context): + __M_caller = context.caller_stack._push_frame() + try: + navigation_links = context.get('navigation_links', UNDEFINED) + rel_link = context.get('rel_link', UNDEFINED) + isinstance = context.get('isinstance', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + lang = context.get('lang', UNDEFINED) + tuple = context.get('tuple', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + for url, text in navigation_links[lang]: + if isinstance(url, tuple): + __M_writer('
  • ') + __M_writer(str(text)) + __M_writer('\n') + else: + __M_writer('
  • ') + __M_writer(str(text)) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_feedlinks(context): + __M_caller = context.caller_stack._push_frame() + try: + len = context.get('len', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) + rss_link = context.get('rss_link', UNDEFINED) + translations = context.get('translations', UNDEFINED) + _link = context.get('_link', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if rss_link: + __M_writer(' ') + __M_writer(str(rss_link)) + __M_writer('\n') + elif generate_rss: + if len(translations) > 1: + for language in translations: + __M_writer(' \n') + else: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 147, "64": 147, "65": 148, "66": 149, "67": 149, "68": 149, "69": 150, "70": 151, "71": 152, "72": 153, "73": 153, "74": 153, "75": 153, "76": 153, "77": 155, "78": 156, "79": 156, "80": 156, "86": 67, "95": 67, "96": 68, "97": 69, "98": 70, "99": 73, "100": 74, "101": 76, "102": 77, "103": 78, "104": 80, "105": 81, "106": 86, "107": 88, "108": 89, "109": 89, "110": 89, "111": 91, "112": 91, "113": 91, "119": 95, "129": 95, "130": 96, "131": 97, "132": 98, "133": 100, "134": 101, "135": 103, "136": 104, "137": 105, "138": 106, "139": 107, "140": 109, "141": 113, "142": 114, "143": 117, "144": 118, "145": 118, "146": 118, "147": 119, "148": 120, "149": 120, "150": 120, "156": 124, "166": 124, "167": 125, "168": 126, "169": 127, "170": 127, "171": 127, "172": 129, "173": 130, "174": 131, "175": 131, "176": 131, "177": 131, "178": 131, "179": 132, "180": 133, "181": 133, "182": 133, "183": 133, "184": 133, "185": 136, "186": 137, "187": 138, "188": 139, "189": 139, "190": 139, "191": 139, "192": 139, "193": 140, "194": 141, "195": 141, "196": 141, "197": 141, "198": 141, "204": 3, "231": 3, "232": 7, "233": 8, "234": 9, "235": 10, "236": 12, "237": 13, "238": 15, "239": 16, "240": 18, "241": 21, "242": 22, "243": 25, "244": 25, "245": 25, "246": 28, "247": 29, "248": 29, "249": 29, "250": 31, "251": 32, "252": 32, "253": 32, "254": 32, "255": 34, "256": 34, "257": 35, "258": 35, "259": 36, "260": 37, "261": 37, "262": 37, "263": 39, "264": 40, "265": 41, "266": 42, "267": 42, "268": 42, "269": 42, "270": 42, "271": 42, "272": 42, "273": 45, "274": 46, "275": 47, "276": 47, "277": 47, "278": 49, "279": 50, "280": 51, "281": 51, "282": 51, "283": 53, "284": 54, "285": 54, "286": 54, "287": 56, "288": 57, "289": 57, "290": 58, "291": 59, "292": 60, "293": 61, "294": 61, "295": 61, "296": 63, "297": 64, "298": 64, "304": 298}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 3, "82": 3, "83": 7, "84": 8, "85": 9, "86": 10, "87": 12, "88": 13, "89": 15, "90": 16, "91": 18, "92": 21, "93": 22, "94": 25, "95": 25, "96": 25, "97": 28, "98": 29, "99": 29, "100": 29, "101": 31, "102": 32, "103": 32, "104": 32, "105": 32, "106": 34, "107": 34, "108": 35, "109": 35, "110": 36, "111": 37, "112": 37, "113": 37, "114": 39, "115": 40, "116": 41, "117": 42, "118": 42, "119": 42, "120": 42, "121": 42, "122": 42, "123": 42, "124": 45, "125": 46, "126": 47, "127": 47, "128": 47, "129": 49, "130": 50, "131": 51, "132": 51, "133": 51, "134": 53, "135": 54, "136": 54, "137": 54, "138": 56, "139": 57, "140": 57, "141": 58, "142": 59, "143": 60, "144": 61, "145": 61, "146": 61, "147": 63, "148": 64, "149": 64, "155": 95, "165": 95, "166": 96, "167": 97, "168": 98, "169": 100, "170": 101, "171": 103, "172": 104, "173": 105, "174": 106, "175": 107, "176": 109, "177": 113, "178": 114, "179": 117, "180": 118, "181": 118, "182": 118, "183": 119, "184": 120, "185": 120, "186": 120, "192": 67, "201": 67, "202": 68, "203": 69, "204": 70, "205": 73, "206": 74, "207": 76, "208": 77, "209": 78, "210": 80, "211": 81, "212": 86, "213": 88, "214": 89, "215": 89, "216": 89, "217": 91, "218": 91, "219": 91, "225": 124, "235": 124, "236": 125, "237": 126, "238": 127, "239": 127, "240": 127, "241": 129, "242": 130, "243": 131, "244": 131, "245": 131, "246": 131, "247": 131, "248": 132, "249": 133, "250": 133, "251": 133, "252": 133, "253": 133, "254": 136, "255": 137, "256": 138, "257": 139, "258": 139, "259": 139, "260": 139, "261": 139, "262": 140, "263": 141, "264": 141, "265": 141, "266": 141, "267": 141, "273": 147, "282": 147, "283": 148, "284": 149, "285": 149, "286": 149, "287": 150, "288": 151, "289": 152, "290": 153, "291": 153, "292": 153, "293": 153, "294": 153, "295": 155, "296": 156, "297": 156, "298": 156, "304": 298}, "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper.tmpl.py b/cache/.mako.tmp/comments_helper.tmpl.py index 16602b4f..ff969613 100644 --- a/cache/.mako.tmp/comments_helper.tmpl.py +++ b/cache/.mako.tmp/comments_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2309415 +_modified_time = 1433980808.9926398 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl' _template_uri = 'comments_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def _mako_get_namespace(context, name): @@ -19,8 +19,11 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'muut')] = ns + ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'googleplus')] = ns + + ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'intensedebate')] = ns ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'facebook')] = ns @@ -28,17 +31,14 @@ def _mako_generate_namespaces(context): ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'isso')] = ns + ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'livefyre')] = ns + ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'disqus')] = ns - ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'googleplus')] = ns - - ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'intensedebate')] = ns - - ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'livefyre')] = ns + ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'muut')] = ns def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() @@ -61,63 +61,17 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - muut = _mako_get_namespace(context, 'muut') - comment_system = context.get('comment_system', UNDEFINED) - googleplus = _mako_get_namespace(context, 'googleplus') - isso = _mako_get_namespace(context, 'isso') - disqus = _mako_get_namespace(context, 'disqus') - facebook = _mako_get_namespace(context, 'facebook') - livefyre = _mako_get_namespace(context, 'livefyre') - intensedebate = _mako_get_namespace(context, 'intensedebate') - __M_writer = context.writer() - __M_writer('\n') - if comment_system == 'disqus': - __M_writer(' ') - __M_writer(str(disqus.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'livefyre': - __M_writer(' ') - __M_writer(str(livefyre.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'intensedebate': - __M_writer(' ') - __M_writer(str(intensedebate.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'muut': - __M_writer(' ') - __M_writer(str(muut.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'googleplus': - __M_writer(' ') - __M_writer(str(googleplus.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'facebook': - __M_writer(' ') - __M_writer(str(facebook.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'isso': - __M_writer(' ') - __M_writer(str(isso.comment_form(url, title, identifier))) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: - muut = _mako_get_namespace(context, 'muut') - comment_system = context.get('comment_system', UNDEFINED) googleplus = _mako_get_namespace(context, 'googleplus') - isso = _mako_get_namespace(context, 'isso') - disqus = _mako_get_namespace(context, 'disqus') + muut = _mako_get_namespace(context, 'muut') facebook = _mako_get_namespace(context, 'facebook') - livefyre = _mako_get_namespace(context, 'livefyre') intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) + isso = _mako_get_namespace(context, 'isso') + livefyre = _mako_get_namespace(context, 'livefyre') + disqus = _mako_get_namespace(context, 'disqus') __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -156,14 +110,14 @@ def render_comment_link_script(context): def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: - muut = _mako_get_namespace(context, 'muut') - comment_system = context.get('comment_system', UNDEFINED) googleplus = _mako_get_namespace(context, 'googleplus') - isso = _mako_get_namespace(context, 'isso') - disqus = _mako_get_namespace(context, 'disqus') + muut = _mako_get_namespace(context, 'muut') facebook = _mako_get_namespace(context, 'facebook') - livefyre = _mako_get_namespace(context, 'livefyre') intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) + isso = _mako_get_namespace(context, 'isso') + livefyre = _mako_get_namespace(context, 'livefyre') + disqus = _mako_get_namespace(context, 'disqus') __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -199,8 +153,54 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') + facebook = _mako_get_namespace(context, 'facebook') + intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) + isso = _mako_get_namespace(context, 'isso') + livefyre = _mako_get_namespace(context, 'livefyre') + disqus = _mako_get_namespace(context, 'disqus') + __M_writer = context.writer() + __M_writer('\n') + if comment_system == 'disqus': + __M_writer(' ') + __M_writer(str(disqus.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'livefyre': + __M_writer(' ') + __M_writer(str(livefyre.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'intensedebate': + __M_writer(' ') + __M_writer(str(intensedebate.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'muut': + __M_writer(' ') + __M_writer(str(muut.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'googleplus': + __M_writer(' ') + __M_writer(str(googleplus.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'facebook': + __M_writer(' ') + __M_writer(str(facebook.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'isso': + __M_writer(' ') + __M_writer(str(isso.comment_form(url, title, identifier))) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 6, "25": 8, "28": 9, "31": 3, "34": 7, "37": 5, "40": 4, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"22": 7, "25": 5, "28": 8, "31": 9, "34": 4, "37": 3, "40": 6, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_disqus.tmpl.py b/cache/.mako.tmp/comments_helper_disqus.tmpl.py index 9c475ac4..704f96b6 100644 --- a/cache/.mako.tmp/comments_helper_disqus.tmpl.py +++ b/cache/.mako.tmp/comments_helper_disqus.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2554495 +_modified_time = 1433980809.017299 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl' _template_uri = 'comments_helper_disqus.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] import json @@ -29,38 +29,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system_id: - __M_writer('
    \n \n \n Comments powered by Disqus\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: @@ -93,8 +61,40 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + lang = context.get('lang', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if comment_system_id: + __M_writer('
    \n \n \n Comments powered by Disqus\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 40, "69": 40, "70": 41, "71": 42, "72": 42, "73": 42, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_facebook.tmpl.py b/cache/.mako.tmp/comments_helper_facebook.tmpl.py index 0de5f6f2..b3c4a6b2 100644 --- a/cache/.mako.tmp/comments_helper_facebook.tmpl.py +++ b/cache/.mako.tmp/comments_helper_facebook.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2924345 +_modified_time = 1433980809.0544398 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl' _template_uri = 'comments_helper_facebook.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,21 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n
    \n\n\n
    \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: @@ -65,8 +50,23 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n
    \n\n\n
    \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 28, "43": 32, "15": 0, "48": 32, "49": 46, "50": 46, "20": 26, "21": 30, "22": 62, "56": 28, "68": 62, "28": 2, "61": 29, "62": 29}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 28, "60": 8, "45": 28, "46": 29, "15": 0, "59": 8, "20": 26, "21": 30, "22": 62, "58": 2, "47": 29, "28": 32, "61": 25, "62": 25, "53": 2}, "uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py index 10487262..70e3d6d8 100644 --- a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py +++ b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2865725 +_modified_time = 1433980809.0485616 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl' _template_uri = 'comments_helper_googleplus.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,18 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n\n
    \n
    \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: @@ -59,8 +47,20 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n\n
    \n
    \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "line_map": {"32": 2, "33": 5, "34": 5, "54": 11, "40": 16, "44": 16, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 2, "62": 56}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"32": 16, "54": 2, "38": 11, "42": 11, "43": 12, "44": 12, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 16, "62": 56}, "uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py index b1b9aa2a..10ed9585 100644 --- a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py +++ b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2732468 +_modified_time = 1433980809.0352032 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl' _template_uri = 'comments_helper_intensedebate.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,23 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer("\n\n\n\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: @@ -73,8 +56,25 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer("\n\n\n\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "line_map": {"64": 14, "65": 16, "66": 16, "67": 17, "68": 17, "69": 18, "70": 18, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 24, "49": 24, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 13, "43": 13, "44": 14, "45": 14, "46": 14, "47": 14, "48": 16, "49": 16, "50": 17, "51": 17, "52": 18, "53": 18, "59": 2}, "uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_isso.tmpl.py b/cache/.mako.tmp/comments_helper_isso.tmpl.py index 55faf8dd..5bafca45 100644 --- a/cache/.mako.tmp/comments_helper_isso.tmpl.py +++ b/cache/.mako.tmp/comments_helper_isso.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.300327 +_modified_time = 1433980809.062371 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl' _template_uri = 'comments_helper_isso.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,25 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system_id: - __M_writer('
    \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: @@ -76,8 +57,27 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if comment_system_id: + __M_writer('
    \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "line_map": {"64": 9, "69": 9, "70": 10, "71": 11, "72": 11, "73": 11, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 16, "52": 16, "53": 17, "54": 18, "55": 18, "56": 18, "57": 18, "58": 18}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 9, "50": 9, "51": 10, "52": 11, "53": 11, "54": 11, "60": 2}, "uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py index f424a135..3dd97e24 100644 --- a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py +++ b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2655675 +_modified_time = 1433980809.0274823 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl' _template_uri = 'comments_helper_livefyre.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,21 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n
    \n\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: @@ -67,8 +52,23 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n
    \n\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "line_map": {"64": 25, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 24, "43": 31, "63": 25, "15": 0, "59": 24, "20": 21, "21": 28, "22": 33, "58": 23, "47": 31, "28": 2, "61": 25, "62": 25, "53": 23}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"32": 31, "64": 11, "70": 64, "38": 23, "60": 2, "43": 23, "44": 24, "45": 24, "46": 25, "15": 0, "48": 25, "49": 25, "20": 21, "21": 28, "22": 33, "55": 2, "47": 25, "28": 31, "61": 7, "62": 7, "63": 11}, "uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_muut.tmpl.py b/cache/.mako.tmp/comments_helper_muut.tmpl.py index 5ba721bf..9598917b 100644 --- a/cache/.mako.tmp/comments_helper_muut.tmpl.py +++ b/cache/.mako.tmp/comments_helper_muut.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2808666 +_modified_time = 1433980809.042847 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl' _template_uri = 'comments_helper_muut.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_form', 'comment_link_script', 'comment_link'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -26,23 +26,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n ') - __M_writer(str(comment_system_id)) - __M_writer(' forums\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: @@ -63,8 +46,25 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n ') + __M_writer(str(comment_system_id)) + __M_writer(' forums\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 11, "15": 0, "50": 11, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "60": 7, "29": 3}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"33": 11, "66": 60, "54": 3, "39": 7, "57": 4, "43": 7, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 11}, "uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/crumbs.tmpl.py b/cache/.mako.tmp/crumbs.tmpl.py index 596b5eae..71e83a64 100644 --- a/cache/.mako.tmp/crumbs.tmpl.py +++ b/cache/.mako.tmp/crumbs.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.4275453 +_modified_time = 1433980809.1911926 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl' _template_uri = 'crumbs.tmpl' @@ -52,6 +52,6 @@ def render_bar(context,crumbs): """ __M_BEGIN_METADATA -{"uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py index 168ce845..27274fb5 100644 --- a/cache/.mako.tmp/index.tmpl.py +++ b/cache/.mako.tmp/index.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.1950305 +_modified_time = 1433980808.9563863 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl' _template_uri = 'index.tmpl' _source_encoding = 'utf-8' -_exports = ['content', 'content_header', 'extra_head'] +_exports = ['content', 'extra_head', 'content_header'] def _mako_get_namespace(context, name): @@ -32,21 +32,21 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - index_teasers = context.get('index_teasers', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') - index_file = context.get('index_file', UNDEFINED) site_has_comments = context.get('site_has_comments', UNDEFINED) - posts = context.get('posts', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - parent = context.get('parent', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') - def content(): - return render_content(context._locals(__M_locals)) - def content_header(): - return render_content_header(context._locals(__M_locals)) def extra_head(): return render_extra_head(context._locals(__M_locals)) + parent = context.get('parent', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + index_teasers = context.get('index_teasers', UNDEFINED) + def content(): + return render_content(context._locals(__M_locals)) + index_file = context.get('index_file', UNDEFINED) + posts = context.get('posts', UNDEFINED) + def content_header(): + return render_content_header(context._locals(__M_locals)) + date_format = context.get('date_format', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -69,16 +69,16 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - comments = _mako_get_namespace(context, 'comments') site_has_comments = context.get('site_has_comments', UNDEFINED) - posts = context.get('posts', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') + index_teasers = context.get('index_teasers', UNDEFINED) def content(): return render_content(context) + posts = context.get('posts', UNDEFINED) def content_header(): return render_content_header(context) - index_teasers = context.get('index_teasers', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'): @@ -130,26 +130,15 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() -def render_content_header(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - def content_header(): - return render_content_header(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: - parent = context.get('parent', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - index_file = context.get('index_file', UNDEFINED) - posts = context.get('posts', UNDEFINED) def extra_head(): return render_extra_head(context) + index_file = context.get('index_file', UNDEFINED) + parent = context.get('parent', UNDEFINED) + posts = context.get('posts', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) __M_writer = context.writer() __M_writer('\n ') __M_writer(str(parent.extra_head())) @@ -163,8 +152,19 @@ def render_extra_head(context,**pageargs): context.caller_stack._pop_frame() +def render_content_header(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + def content_header(): + return render_content_header(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "line_map": {"133": 14, "144": 6, "22": 2, "25": 3, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"133": 6, "143": 6, "144": 7, "145": 7, "146": 8, "147": 9, "148": 9, "149": 9, "22": 2, "25": 3, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index_helper.tmpl.py b/cache/.mako.tmp/index_helper.tmpl.py index 866b54a5..6a3c91a1 100644 --- a/cache/.mako.tmp/index_helper.tmpl.py +++ b/cache/.mako.tmp/index_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.2136624 +_modified_time = 1433980808.9751673 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl' _template_uri = 'index_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['mathjax_script', 'html_pager'] +_exports = ['html_pager', 'mathjax_script'] def render_body(context,**pageargs): @@ -24,24 +24,11 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_mathjax_script(context,posts): - __M_caller = context.caller_stack._push_frame() - try: - any = context.get('any', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if any(post.is_mathjax for post in posts): - __M_writer(' \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_pager(context): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) prevlink = context.get('prevlink', UNDEFINED) + messages = context.get('messages', UNDEFINED) nextlink = context.get('nextlink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') @@ -65,8 +52,21 @@ def render_html_pager(context): context.caller_stack._pop_frame() +def render_mathjax_script(context,posts): + __M_caller = context.caller_stack._push_frame() + try: + any = context.get('any', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if any(post.is_mathjax for post in posts): + __M_writer(' \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 2, "34": 2, "35": 3, "36": 4, "37": 6, "38": 7, "39": 8, "40": 8, "41": 8, "42": 8, "43": 11, "44": 12, "45": 13, "46": 13, "47": 13, "48": 13, "49": 16, "55": 21, "60": 21, "61": 22, "62": 23}, "uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py index c28912cc..d7fbe134 100644 --- a/cache/.mako.tmp/list.tmpl.py +++ b/cache/.mako.tmp/list.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.4479828 +_modified_time = 1433980809.2122707 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl' _template_uri = 'list.tmpl' @@ -27,11 +27,11 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - messages = context.get('messages', UNDEFINED) - items = context.get('items', UNDEFINED) + title = context.get('title', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - title = context.get('title', UNDEFINED) + items = context.get('items', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -47,11 +47,11 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) - items = context.get('items', UNDEFINED) + title = context.get('title', UNDEFINED) def content(): return render_content(context) - title = context.get('title', UNDEFINED) + items = context.get('items', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

    ') __M_writer(str(title)) @@ -77,6 +77,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py index 235c95cb..00317800 100644 --- a/cache/.mako.tmp/list_post.tmpl.py +++ b/cache/.mako.tmp/list_post.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.4626 +_modified_time = 1433980809.2264178 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl' _template_uri = 'list_post.tmpl' @@ -27,12 +27,12 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) posts = context.get('posts', UNDEFINED) - title = context.get('title', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -48,12 +48,12 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) def content(): return render_content(context) posts = context.get('posts', UNDEFINED) - title = context.get('title', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

    ') __M_writer(str(title)) @@ -85,6 +85,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py index 8e1c8a3a..730ff6d6 100644 --- a/cache/.mako.tmp/listing.tmpl.py +++ b/cache/.mako.tmp/listing.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.4160452 +_modified_time = 1433980809.1795197 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'content'] +_exports = ['content', 'sourcelink'] def _mako_get_namespace(context, name): @@ -31,17 +31,17 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) - files = _import_ns.get('files', context.get('files', UNDEFINED)) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - code = _import_ns.get('code', context.get('code', UNDEFINED)) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - ui = _mako_get_namespace(context, 'ui') + files = _import_ns.get('files', context.get('files', UNDEFINED)) + code = _import_ns.get('code', context.get('code', UNDEFINED)) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) - crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) + ui = _mako_get_namespace(context, 'ui') + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n\n') @@ -60,40 +60,18 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - __M_writer = context.writer() - __M_writer('\n') - if source_link: - __M_writer('
  • \n ') - __M_writer(str(messages("Source"))) - __M_writer('\n
  • \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, 'ui')._populate(_import_ns, ['bar']) + crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) files = _import_ns.get('files', context.get('files', UNDEFINED)) code = _import_ns.get('code', context.get('code', UNDEFINED)) - ui = _mako_get_namespace(context, 'ui') def content(): return render_content(context) - crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) + ui = _mako_get_namespace(context, 'ui') __M_writer = context.writer() __M_writer('\n') __M_writer(str(ui.bar(crumbs))) @@ -122,8 +100,30 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + def sourcelink(): + return render_sourcelink(context) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) + __M_writer = context.writer() + __M_writer('\n') + if source_link: + __M_writer('
  • \n ') + __M_writer(str(messages("Source"))) + __M_writer('\n
  • \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py index 9874045c..233491e7 100644 --- a/cache/.mako.tmp/post.tmpl.py +++ b/cache/.mako.tmp/post.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.4902296 +_modified_time = 1433980809.2543309 _enable_loop = True _template_filename = 'themes/bootstrap/templates/post.tmpl' _template_uri = 'post.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'content', 'extra_head'] +_exports = ['content', 'extra_head', 'sourcelink'] def _mako_get_namespace(context, name): @@ -19,15 +19,15 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'pheader')] = ns - ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'helper')] = ns ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'comments')] = ns + ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'pheader')] = ns + def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'base.tmpl', _template_uri) @@ -35,20 +35,20 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - pheader = _mako_get_namespace(context, 'pheader') - comments = _mako_get_namespace(context, 'comments') - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) site_has_comments = context.get('site_has_comments', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) - parent = context.get('parent', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') helper = _mako_get_namespace(context, 'helper') - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - def content(): - return render_content(context._locals(__M_locals)) def extra_head(): return render_extra_head(context._locals(__M_locals)) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) + parent = context.get('parent', UNDEFINED) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + def content(): + return render_content(context._locals(__M_locals)) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -74,38 +74,17 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - def sourcelink(): - return render_sourcelink(context) - post = context.get('post', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if show_sourcelink: - __M_writer('
  • \n ') - __M_writer(str(messages("Source"))) - __M_writer('\n
  • \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - pheader = _mako_get_namespace(context, 'pheader') - comments = _mako_get_namespace(context, 'comments') site_has_comments = context.get('site_has_comments', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') helper = _mako_get_namespace(context, 'helper') def content(): return render_content(context) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    ') + __M_writer(str(messages("Source"))) + __M_writer('\n

  • \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl", "line_map": {"128": 45, "129": 45, "130": 47, "131": 47, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 3, "151": 10, "152": 10, "25": 2, "154": 13, "155": 13, "28": 4, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "153": 12, "66": 48, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 27, "169": 20, "110": 27, "111": 28, "112": 28, "113": 29, "114": 29, "115": 31, "116": 31, "117": 35, "118": 35, "119": 36, "120": 36, "121": 39, "122": 40, "123": 41, "124": 41, "125": 42, "126": 42, "127": 45}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"128": 9, "129": 10, "130": 10, "131": 10, "132": 12, "133": 13, "134": 13, "135": 13, "136": 15, "137": 15, "138": 15, "139": 16, "140": 17, "141": 17, "142": 17, "143": 17, "144": 17, "145": 19, "146": 20, "147": 20, "148": 20, "149": 20, "22": 2, "151": 22, "152": 22, "25": 4, "154": 23, "155": 23, "28": 3, "157": 24, "150": 20, "34": 0, "163": 50, "156": 24, "172": 50, "173": 51, "174": 52, "175": 53, "176": 53, "177": 53, "178": 53, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 7, "153": 22, "125": 7, "126": 8, "127": 8}, "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py index 15269558..00bbd842 100644 --- a/cache/.mako.tmp/post_header.tmpl.py +++ b/cache/.mako.tmp/post_header.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.5541227 +_modified_time = 1433980809.3186772 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl' _template_uri = 'post_header.tmpl' _source_encoding = 'utf-8' -_exports = ['html_title', 'html_translations', 'html_post_header', 'html_sourcelink'] +_exports = ['html_post_header', 'html_translations', 'html_title', 'html_sourcelink'] def _mako_get_namespace(context, name): @@ -41,66 +41,20 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_html_title(context): - __M_caller = context.caller_stack._push_frame() - try: - post = context.get('post', UNDEFINED) - title = context.get('title', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if title and not post.meta('hidetitle'): - __M_writer('

    ') - __M_writer(filters.html_escape(str(post.title()))) - __M_writer('

    \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - lang = context.get('lang', UNDEFINED) - translations = context.get('translations', UNDEFINED) - len = context.get('len', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(post.translated_to) > 1: - __M_writer('
    \n

    ') - __M_writer(str(messages("Also available in:"))) - __M_writer('

    \n') - for langname in translations.keys(): - if langname != lang and post.is_translation_available(langname): - __M_writer('

    ') - __M_writer(str(messages("LANGUAGE", langname))) - __M_writer('

    \n') - __M_writer('
    \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - def html_translations(post): - return render_html_translations(context,post) + site_has_comments = context.get('site_has_comments', UNDEFINED) comments = _mako_get_namespace(context, 'comments') + post = context.get('post', UNDEFINED) def html_title(): return render_html_title(context) - site_has_comments = context.get('site_has_comments', UNDEFINED) - post = context.get('post', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', UNDEFINED) def html_sourcelink(): return render_html_sourcelink(context) + def html_translations(post): + return render_html_translations(context,post) + date_format = context.get('date_format', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n ') __M_writer(str(html_title())) @@ -140,12 +94,58 @@ def render_html_post_header(context): context.caller_stack._pop_frame() +def render_html_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + len = context.get('len', UNDEFINED) + lang = context.get('lang', UNDEFINED) + messages = context.get('messages', UNDEFINED) + translations = context.get('translations', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(post.translated_to) > 1: + __M_writer('
    \n

    ') + __M_writer(str(messages("Also available in:"))) + __M_writer('

    \n') + for langname in translations.keys(): + if langname != lang and post.is_translation_available(langname): + __M_writer('

    ') + __M_writer(str(messages("LANGUAGE", langname))) + __M_writer('

    \n') + __M_writer('
    \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_title(context): + __M_caller = context.caller_stack._push_frame() + try: + title = context.get('title', UNDEFINED) + post = context.get('post', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if title and not post.meta('hidetitle'): + __M_writer('

    ') + __M_writer(filters.html_escape(str(post.title()))) + __M_writer('

    \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_sourcelink(context): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) show_sourcelink = context.get('show_sourcelink', UNDEFINED) post = context.get('post', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if show_sourcelink: @@ -161,6 +161,6 @@ def render_html_sourcelink(context): """ __M_BEGIN_METADATA -{"uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 41, "129": 41, "130": 41, "131": 43, "132": 44, "133": 44, "134": 44, "135": 46, "136": 47, "137": 47, "162": 156, "143": 24, "22": 2, "151": 25, "152": 26, "25": 3, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 11, "70": 11, "71": 12, "72": 13, "73": 14, "74": 14, "75": 15, "76": 16, "77": 17, "78": 17, "79": 17, "80": 17, "81": 17, "82": 17, "83": 17, "84": 20, "153": 26, "90": 30, "105": 30, "106": 32, "107": 32, "108": 34, "109": 34, "110": 35, "111": 35, "112": 35, "113": 35, "114": 35, "115": 35, "116": 35, "117": 35, "118": 36, "119": 37, "120": 37, "121": 37, "122": 39, "123": 39, "124": 39, "125": 40, "126": 41, "127": 41}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"131": 5, "132": 6, "133": 7, "134": 7, "135": 7, "136": 7, "137": 7, "143": 24, "22": 2, "151": 25, "152": 26, "25": 3, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 30, "162": 156, "59": 30, "60": 32, "61": 32, "62": 34, "63": 34, "64": 35, "65": 35, "66": 35, "67": 35, "68": 35, "69": 35, "70": 35, "71": 35, "72": 36, "73": 37, "74": 37, "75": 37, "76": 39, "77": 39, "78": 39, "79": 40, "80": 41, "81": 41, "82": 41, "83": 41, "84": 41, "85": 43, "86": 44, "87": 44, "88": 44, "89": 46, "90": 47, "91": 47, "97": 11, "105": 11, "106": 12, "107": 13, "108": 14, "109": 14, "110": 15, "111": 16, "112": 17, "113": 17, "114": 17, "115": 17, "116": 17, "117": 17, "118": 17, "119": 20, "153": 26, "125": 5}, "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index fe53d5ad..6c0ab8a3 100644 --- a/cache/.mako.tmp/post_helper.tmpl.py +++ b/cache/.mako.tmp/post_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433977207.5218465 +_modified_time = 1433980809.2861545 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl' _template_uri = 'post_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['open_graph_metadata', 'twitter_card_information', 'mathjax_script', 'meta_translations', 'html_pager', 'html_tags'] +_exports = ['html_tags', 'html_pager', 'mathjax_script', 'meta_translations', 'twitter_card_information', 'open_graph_metadata'] def render_body(context,**pageargs): @@ -29,47 +29,85 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_open_graph_metadata(context,post): +def render_html_tags(context,post): __M_caller = context.caller_stack._push_frame() try: - blog_title = context.get('blog_title', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - lang = context.get('lang', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) + hidden_tags = context.get('hidden_tags', UNDEFINED) + _link = context.get('_link', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - if use_open_graph: - __M_writer(' \n \n \n') - if post.description(): - __M_writer(' \n') - else: - __M_writer(' \n') - if post.previewimage: - __M_writer(' \n') - __M_writer(' \n') - if post.date.isoformat(): - __M_writer(' \n') - if post.tags: - for tag in post.tags: - __M_writer(' \n') + for tag in post.tags: + if tag not in hidden_tags: + __M_writer('
  • \n') + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_pager(context,post): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if post.prev_post or post.next_post: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_mathjax_script(context,post): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + if post.is_mathjax: + __M_writer(' \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_meta_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + len = context.get('len', UNDEFINED) + lang = context.get('lang', UNDEFINED) + translations = context.get('translations', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(translations) > 1: + for langname in translations.keys(): + if langname != lang and post.is_translation_available(langname): + __M_writer(' \n') return '' finally: @@ -107,86 +145,48 @@ def render_twitter_card_information(context,post): context.caller_stack._pop_frame() -def render_mathjax_script(context,post): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - if post.is_mathjax: - __M_writer(' \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_meta_translations(context,post): +def render_open_graph_metadata(context,post): __M_caller = context.caller_stack._push_frame() try: + striphtml = context.get('striphtml', UNDEFINED) + blog_title = context.get('blog_title', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) lang = context.get('lang', UNDEFINED) - translations = context.get('translations', UNDEFINED) - len = context.get('len', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - if len(translations) > 1: - for langname in translations.keys(): - if langname != lang and post.is_translation_available(langname): - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_pager(context,post): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if post.prev_post or post.next_post: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_tags(context,post): - __M_caller = context.caller_stack._push_frame() - try: - hidden_tags = context.get('hidden_tags', UNDEFINED) - _link = context.get('_link', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if post.tags: - __M_writer('