diff --git a/.doit.db b/.doit.db index 466862d1..ca385df0 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 dcabbd67..2c21265b 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 c75210fe..e3555539 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 c7ad7efa..18ab1cc4 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 5e878a34..6b93f40c 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 14a12ac1..5753bb98 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 5572ad7b..88906ee5 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 66d6fe34..6382cabd 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 1aa5fe8a..7e2780ad 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 5ce10c58..3b440e30 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 4aede3c5..ca38b01f 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 144d164a..173e3bfa 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 d9abca89..d69e4cbc 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 e0dbf916..3ab534f5 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 978d158a..c3e6ea77 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 0c61deba..59429041 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 a0b25812..947cada8 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 a5741b45..d7631650 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 37afa4e7..a05a4e7d 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 bc876d16..516d25c7 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 0d1ad20b..db4844ca 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 b52a8ac1..3f6481c6 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 c9ad85b2..95491fdb 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 9f4e1cd6..ab347556 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 fd702a03..ddf294d8 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 = 1434052807.1067142 +_modified_time = 1434056407.4150703 _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", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "source_encoding": "ascii", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"} +{"uri": "annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "source_encoding": "ascii"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index 1bc7ef27..3c8594de 100644 --- a/cache/.mako.tmp/base.tmpl.py +++ b/cache/.mako.tmp/base.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434052807.0327053 +_modified_time = 1434056407.3407903 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' @@ -19,50 +19,50 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'base')] = ns - ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'notes')] = ns + ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'base')] = ns + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - base = _mako_get_namespace(context, 'base') - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) - annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - def extra_js(): - return render_extra_js(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)) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + notes = _mako_get_namespace(context, 'notes') + blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) + template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + base = _mako_get_namespace(context, 'base') set_locale = _import_ns.get('set_locale', context.get('set_locale', 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)) + js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - notes = _mako_get_namespace(context, 'notes') - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) - len = _import_ns.get('len', context.get('len', UNDEFINED)) - body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) + def extra_js(): + return render_extra_js(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) - template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) + show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) + abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) + post = _import_ns.get('post', context.get('post', UNDEFINED)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -162,8 +162,8 @@ 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, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def extra_js(): return render_extra_js(context) __M_writer = context.writer() @@ -176,13 +176,13 @@ 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') + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def belowtitle(): return render_belowtitle(context) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + base = _mako_get_namespace(context, 'base') len = _import_ns.get('len', context.get('len', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') if len(translations) > 1: @@ -199,8 +199,8 @@ 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, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def sourcelink(): return render_sourcelink(context) __M_writer = context.writer() @@ -213,8 +213,8 @@ def render_content(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, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def content(): return render_content(context) __M_writer = context.writer() @@ -227,8 +227,8 @@ def render_extra_head(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, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def extra_head(): return render_extra_head(context) __M_writer = context.writer() @@ -240,6 +240,6 @@ def render_extra_head(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "190": 47, "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, "150": 89, "161": 85, "198": 51, "226": 6, "175": 45, "187": 45, "188": 46, "189": 47, "153": 91, "191": 47, "192": 49, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 66, "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, "126": 66, "127": 71}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base.tmpl"} +{"uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "190": 47, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "150": 89, "161": 85, "198": 51, "226": 6, "175": 45, "187": 45, "188": 46, "189": 47, "153": 91, "191": 47, "192": 49, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 66, "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, "126": 66, "127": 71}, "filename": "themes/bootstrap3/templates/base.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py index 0aa520b3..331e09e4 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 = 1434052807.07361 +_modified_time = 1434056407.3821802 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_translations', 'late_load_js', 'html_headstart', 'html_navigation_links', 'html_feedlinks', 'html_stylesheets'] +_exports = ['html_headstart', 'html_translations', 'html_stylesheets', 'html_feedlinks', 'late_load_js', 'html_navigation_links'] def render_body(context,**pageargs): @@ -29,88 +29,32 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_html_translations(context): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - _link = context.get('_link', UNDEFINED) - translations = context.get('translations', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - for langname in translations.keys(): - if langname != lang: - __M_writer('
  • ') - __M_writer(str(messages("LANGUAGE", langname))) - __M_writer('
  • \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_late_load_js(context): - __M_caller = context.caller_stack._push_frame() - try: - social_buttons_code = context.get('social_buttons_code', UNDEFINED) - lang = context.get('lang', UNDEFINED) - colorbox_locales = context.get('colorbox_locales', UNDEFINED) - use_bundles = context.get('use_bundles', 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_headstart(context): __M_caller = context.caller_stack._push_frame() try: - is_rtl = context.get('is_rtl', UNDEFINED) + twitter_card = context.get('twitter_card', UNDEFINED) comment_system = context.get('comment_system', UNDEFINED) - description = context.get('description', UNDEFINED) - def html_feedlinks(): - return render_html_feedlinks(context) - favicons = context.get('favicons', UNDEFINED) - nextlink = context.get('nextlink', UNDEFINED) def html_stylesheets(): return render_html_stylesheets(context) - url_replacer = context.get('url_replacer', UNDEFINED) - comment_system_id = context.get('comment_system_id', UNDEFINED) - extra_head_data = context.get('extra_head_data', UNDEFINED) - lang = context.get('lang', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) - blog_title = context.get('blog_title', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - prevlink = context.get('prevlink', UNDEFINED) - twitter_card = context.get('twitter_card', UNDEFINED) - title = context.get('title', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) use_cdn = context.get('use_cdn', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + blog_title = context.get('blog_title', UNDEFINED) + mathjax_config = context.get('mathjax_config', UNDEFINED) + favicons = context.get('favicons', UNDEFINED) + nextlink = context.get('nextlink', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + extra_head_data = context.get('extra_head_data', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) permalink = context.get('permalink', UNDEFINED) + def html_feedlinks(): + return render_html_feedlinks(context) + description = context.get('description', UNDEFINED) + prevlink = context.get('prevlink', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + lang = context.get('lang', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') + __M_writer(str(messages("LANGUAGE", langname))) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_stylesheets(context): + __M_caller = context.caller_stack._push_frame() + try: + use_bundles = context.get('use_bundles', UNDEFINED) + 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) + __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_feedlinks(context): + __M_caller = context.caller_stack._push_frame() + try: + generate_rss = context.get('generate_rss', UNDEFINED) + _link = context.get('_link', UNDEFINED) + len = context.get('len', UNDEFINED) + translations = context.get('translations', UNDEFINED) + rss_link = context.get('rss_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: + use_bundles = context.get('use_bundles', UNDEFINED) + social_buttons_code = context.get('social_buttons_code', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) + lang = context.get('lang', UNDEFINED) + colorbox_locales = context.get('colorbox_locales', 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: - tuple = context.get('tuple', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) lang = context.get('lang', UNDEFINED) + tuple = context.get('tuple', UNDEFINED) navigation_links = context.get('navigation_links', UNDEFINED) isinstance = context.get('isinstance', UNDEFINED) rel_link = context.get('rel_link', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') for url, text in navigation_links[lang]: @@ -233,76 +301,8 @@ def render_html_navigation_links(context): context.caller_stack._pop_frame() -def render_html_feedlinks(context): - __M_caller = context.caller_stack._push_frame() - try: - _link = context.get('_link', UNDEFINED) - translations = context.get('translations', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - len = context.get('len', UNDEFINED) - rss_link = context.get('rss_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_html_stylesheets(context): - __M_caller = context.caller_stack._push_frame() - try: - annotations = context.get('annotations', UNDEFINED) - post = context.get('post', UNDEFINED) - has_custom_css = context.get('has_custom_css', UNDEFINED) - notes = context.get('notes', UNDEFINED) - use_cdn = context.get('use_cdn', 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() - - """ __M_BEGIN_METADATA -{"uri": "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": 67, "64": 67, "65": 68, "66": 69, "67": 70, "68": 73, "69": 74, "70": 76, "71": 77, "72": 78, "73": 80, "74": 81, "75": 86, "76": 88, "77": 89, "78": 89, "79": 89, "80": 91, "81": 91, "82": 91, "88": 3, "115": 3, "116": 7, "117": 8, "118": 9, "119": 10, "120": 12, "121": 13, "122": 15, "123": 16, "124": 18, "125": 21, "126": 22, "127": 25, "128": 25, "129": 25, "130": 28, "131": 29, "132": 29, "133": 29, "134": 31, "135": 32, "136": 32, "137": 32, "138": 32, "139": 34, "140": 34, "141": 35, "142": 35, "143": 36, "144": 37, "145": 37, "146": 37, "147": 39, "148": 40, "149": 41, "150": 42, "151": 42, "152": 42, "153": 42, "154": 42, "155": 42, "156": 42, "157": 45, "158": 46, "159": 47, "160": 47, "161": 47, "162": 49, "163": 50, "164": 51, "165": 51, "166": 51, "167": 53, "168": 54, "169": 54, "170": 54, "171": 56, "172": 57, "173": 57, "174": 58, "175": 59, "176": 60, "177": 61, "178": 61, "179": 61, "180": 63, "181": 64, "182": 64, "188": 124, "198": 124, "199": 125, "200": 126, "201": 127, "202": 127, "203": 127, "204": 129, "205": 130, "206": 131, "207": 131, "208": 131, "209": 131, "210": 131, "211": 132, "212": 133, "213": 133, "214": 133, "215": 133, "216": 133, "217": 136, "218": 137, "219": 138, "220": 139, "221": 139, "222": 139, "223": 139, "224": 139, "225": 140, "226": 141, "227": 141, "228": 141, "229": 141, "230": 141, "236": 147, "245": 147, "246": 148, "247": 149, "248": 149, "249": 149, "250": 150, "251": 151, "252": 152, "253": 153, "254": 153, "255": 153, "256": 153, "257": 153, "258": 155, "259": 156, "260": 156, "261": 156, "267": 95, "277": 95, "278": 96, "279": 97, "280": 98, "281": 100, "282": 101, "283": 103, "284": 104, "285": 105, "286": 106, "287": 107, "288": 109, "289": 113, "290": 114, "291": 117, "292": 118, "293": 118, "294": 118, "295": 119, "296": 120, "297": 120, "298": 120, "304": 298}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl"} +{"uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 3, "59": 3, "60": 7, "61": 8, "62": 9, "63": 10, "64": 12, "65": 13, "66": 15, "67": 16, "68": 18, "69": 21, "70": 22, "71": 25, "72": 25, "73": 25, "74": 28, "75": 29, "76": 29, "77": 29, "78": 31, "79": 32, "80": 32, "81": 32, "82": 32, "83": 34, "84": 34, "85": 35, "86": 35, "87": 36, "88": 37, "89": 37, "90": 37, "91": 39, "92": 40, "93": 41, "94": 42, "95": 42, "96": 42, "97": 42, "98": 42, "99": 42, "100": 42, "101": 45, "102": 46, "103": 47, "104": 47, "105": 47, "106": 49, "107": 50, "108": 51, "109": 51, "110": 51, "111": 53, "112": 54, "113": 54, "114": 54, "115": 56, "116": 57, "117": 57, "118": 58, "119": 59, "120": 60, "121": 61, "122": 61, "123": 61, "124": 63, "125": 64, "126": 64, "132": 161, "140": 161, "141": 162, "142": 163, "143": 164, "144": 164, "145": 164, "146": 164, "147": 164, "148": 164, "149": 164, "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": 147, "201": 147, "202": 148, "203": 149, "204": 149, "205": 149, "206": 150, "207": 151, "208": 152, "209": 153, "210": 153, "211": 153, "212": 153, "213": 153, "214": 155, "215": 156, "216": 156, "217": 156, "223": 67, "232": 67, "233": 68, "234": 69, "235": 70, "236": 73, "237": 74, "238": 76, "239": 77, "240": 78, "241": 80, "242": 81, "243": 86, "244": 88, "245": 89, "246": 89, "247": 89, "248": 91, "249": 91, "250": 91, "256": 124, "266": 124, "267": 125, "268": 126, "269": 127, "270": 127, "271": 127, "272": 129, "273": 130, "274": 131, "275": 131, "276": 131, "277": 131, "278": 131, "279": 132, "280": 133, "281": 133, "282": 133, "283": 133, "284": 133, "285": 136, "286": 137, "287": 138, "288": 139, "289": 139, "290": 139, "291": 139, "292": 139, "293": 140, "294": 141, "295": 141, "296": 141, "297": 141, "298": 141, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper.tmpl.py b/cache/.mako.tmp/comments_helper.tmpl.py index 0d6aa4dd..cc6a8e44 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 = 1434052806.9476318 +_modified_time = 1434056407.2559147 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def _mako_get_namespace(context, name): @@ -19,23 +19,23 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - 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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'facebook')] = ns - 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('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'googleplus')] = 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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'facebook')] = 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 - 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('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'intensedebate')] = ns @@ -61,109 +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: - isso = _mako_get_namespace(context, 'isso') - googleplus = _mako_get_namespace(context, 'googleplus') - comment_system = context.get('comment_system', UNDEFINED) - livefyre = _mako_get_namespace(context, 'livefyre') - intensedebate = _mako_get_namespace(context, 'intensedebate') - disqus = _mako_get_namespace(context, 'disqus') - facebook = _mako_get_namespace(context, 'facebook') - muut = _mako_get_namespace(context, 'muut') - __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(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - isso = _mako_get_namespace(context, 'isso') - googleplus = _mako_get_namespace(context, 'googleplus') - comment_system = context.get('comment_system', UNDEFINED) - livefyre = _mako_get_namespace(context, 'livefyre') - intensedebate = _mako_get_namespace(context, 'intensedebate') - disqus = _mako_get_namespace(context, 'disqus') - facebook = _mako_get_namespace(context, 'facebook') - muut = _mako_get_namespace(context, 'muut') - __M_writer = context.writer() - __M_writer('\n') - if comment_system == 'disqus': - __M_writer(' ') - __M_writer(str(disqus.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'livefyre': - __M_writer(' ') - __M_writer(str(livefyre.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'intensedebate': - __M_writer(' ') - __M_writer(str(intensedebate.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'muut': - __M_writer(' ') - __M_writer(str(muut.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'googleplus': - __M_writer(' ') - __M_writer(str(googleplus.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'facebook': - __M_writer(' ') - __M_writer(str(facebook.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'isso': - __M_writer(' ') - __M_writer(str(isso.comment_link(link, 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: - isso = _mako_get_namespace(context, 'isso') googleplus = _mako_get_namespace(context, 'googleplus') + facebook = _mako_get_namespace(context, 'facebook') comment_system = context.get('comment_system', UNDEFINED) - livefyre = _mako_get_namespace(context, 'livefyre') + isso = _mako_get_namespace(context, 'isso') + muut = _mako_get_namespace(context, 'muut') intensedebate = _mako_get_namespace(context, 'intensedebate') disqus = _mako_get_namespace(context, 'disqus') - facebook = _mako_get_namespace(context, 'facebook') - muut = _mako_get_namespace(context, 'muut') + livefyre = _mako_get_namespace(context, 'livefyre') __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -199,8 +107,100 @@ def render_comment_link_script(context): context.caller_stack._pop_frame() +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + googleplus = _mako_get_namespace(context, 'googleplus') + facebook = _mako_get_namespace(context, 'facebook') + comment_system = context.get('comment_system', UNDEFINED) + isso = _mako_get_namespace(context, 'isso') + muut = _mako_get_namespace(context, 'muut') + intensedebate = _mako_get_namespace(context, 'intensedebate') + disqus = _mako_get_namespace(context, 'disqus') + livefyre = _mako_get_namespace(context, 'livefyre') + __M_writer = context.writer() + __M_writer('\n') + if comment_system == 'disqus': + __M_writer(' ') + __M_writer(str(disqus.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'livefyre': + __M_writer(' ') + __M_writer(str(livefyre.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'intensedebate': + __M_writer(' ') + __M_writer(str(intensedebate.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'muut': + __M_writer(' ') + __M_writer(str(muut.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'googleplus': + __M_writer(' ') + __M_writer(str(googleplus.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'facebook': + __M_writer(' ') + __M_writer(str(facebook.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'isso': + __M_writer(' ') + __M_writer(str(isso.comment_link(link, identifier))) + __M_writer('\n') + return '' + finally: + 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') + facebook = _mako_get_namespace(context, 'facebook') + comment_system = context.get('comment_system', UNDEFINED) + isso = _mako_get_namespace(context, 'isso') + muut = _mako_get_namespace(context, 'muut') + intensedebate = _mako_get_namespace(context, 'intensedebate') + 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", "line_map": {"22": 3, "25": 8, "28": 9, "31": 7, "34": 6, "37": 4, "40": 5, "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": 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": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"} +{"uri": "comments_helper.tmpl", "line_map": {"22": 9, "25": 7, "28": 4, "31": 8, "34": 6, "37": 3, "40": 5, "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_disqus.tmpl.py b/cache/.mako.tmp/comments_helper_disqus.tmpl.py index 88391d69..aa6ae9b3 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 = 1434052806.9721909 +_modified_time = 1434056407.2803395 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] import json @@ -29,11 +29,43 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): +def render_comment_link_script(context): __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') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,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(' Comments\n') + return '' + finally: + 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: @@ -61,40 +93,8 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,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(' Comments\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __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') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"uri": "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": 33, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"} +{"uri": "comments_helper_disqus.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_facebook.tmpl.py b/cache/.mako.tmp/comments_helper_facebook.tmpl.py index 5318df67..99b121f4 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 = 1434052807.0093625 +_modified_time = 1434056407.317247 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,6 +25,31 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __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') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -40,33 +65,8 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __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: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n
    \n\n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"uri": "comments_helper_facebook.tmpl", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 32, "43": 28, "15": 0, "48": 29, "49": 29, "20": 26, "21": 30, "22": 62, "55": 32, "68": 62, "47": 28, "28": 2, "61": 46, "62": 46}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"} +{"uri": "comments_helper_facebook.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py index d93974f6..13bd66eb 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 = 1434052807.0034633 +_modified_time = 1434056407.311412 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,13 +25,11 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): +def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: __M_writer = context.writer() - __M_writer('\n\n
    \n
    \n') + __M_writer('\n') return '' finally: context.caller_stack._pop_frame() @@ -49,11 +47,13 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() -def render_comment_link_script(context): +def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: __M_writer = context.writer() - __M_writer('\n') + __M_writer('\n\n
    \n
    \n') return '' finally: context.caller_stack._pop_frame() @@ -61,6 +61,6 @@ def render_comment_link_script(context): """ __M_BEGIN_METADATA -{"uri": "comments_helper_googleplus.tmpl", "line_map": {"32": 2, "33": 5, "34": 5, "40": 11, "44": 11, "45": 12, "46": 12, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 2, "62": 56}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"} +{"uri": "comments_helper_googleplus.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py index ff4cdf80..e6074a2f 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 = 1434052806.990107 +_modified_time = 1434056407.2981446 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,18 +25,11 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): +def render_comment_link_script(context): __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') + __M_writer('\n') return '' finally: context.caller_stack._pop_frame() @@ -63,11 +56,18 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() -def render_comment_link_script(context): +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("\n\n\n\n\n') return '' finally: context.caller_stack._pop_frame() @@ -75,6 +75,6 @@ def render_comment_link_script(context): """ __M_BEGIN_METADATA -{"uri": "comments_helper_intensedebate.tmpl", "line_map": {"66": 24, "70": 24, "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": 13, "50": 13, "51": 14, "52": 14, "53": 14, "54": 14, "55": 16, "56": 16, "57": 17, "58": 17, "59": 18, "60": 18}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"} +{"uri": "comments_helper_intensedebate.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_isso.tmpl.py b/cache/.mako.tmp/comments_helper_isso.tmpl.py index a02d538b..a4af481d 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 = 1434052807.0173006 +_modified_time = 1434056407.3252203 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,6 +25,38 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __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') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,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(' Comments\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -44,40 +76,8 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,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(' Comments\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __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') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"uri": "comments_helper_isso.tmpl", "line_map": {"67": 16, "68": 17, "69": 18, "70": 18, "71": 18, "72": 18, "73": 18, "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": 9, "52": 9, "53": 10, "54": 11, "55": 11, "56": 11, "62": 16}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"} +{"uri": "comments_helper_isso.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py index bc12ab92..dc7293ec 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 = 1434052806.9823835 +_modified_time = 1434056407.290452 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,16 +25,11 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_form(context,url,title,identifier): +def render_comment_link_script(context): __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') + __M_writer('\n\n') return '' finally: context.caller_stack._pop_frame() @@ -57,11 +52,16 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() -def render_comment_link_script(context): +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') + __M_writer('\n
    \n\n\n') return '' finally: context.caller_stack._pop_frame() @@ -69,6 +69,6 @@ def render_comment_link_script(context): """ __M_BEGIN_METADATA -{"uri": "comments_helper_livefyre.tmpl", "line_map": {"64": 31, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 31, "43": 23, "15": 0, "48": 23, "49": 24, "50": 24, "51": 25, "20": 21, "21": 28, "22": 33, "52": 25, "54": 25, "28": 2, "53": 25}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"} +{"uri": "comments_helper_livefyre.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_muut.tmpl.py b/cache/.mako.tmp/comments_helper_muut.tmpl.py index 09b6023e..7c8bfba1 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 = 1434052806.997745 +_modified_time = 1434056407.3057368 _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', 'comment_link_script'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -26,6 +26,26 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -43,28 +63,8 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"uri": "comments_helper_muut.tmpl", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 7, "15": 0, "50": 7, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "60": 11, "29": 3}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"} +{"uri": "comments_helper_muut.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/crumbs.tmpl.py b/cache/.mako.tmp/crumbs.tmpl.py index 2f1b92fe..ac0bc0f2 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 = 1434052807.1450694 +_modified_time = 1434056407.4529798 _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", "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", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"} +{"uri": "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py index 056579a5..a229dbf3 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 = 1434052806.9114654 +_modified_time = 1434056407.2199662 _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_header', 'content', 'extra_head'] def _mako_get_namespace(context, name): @@ -19,12 +19,12 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - 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('helper', context._clean_inheritance_tokens(), templateuri='index_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 + def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'base.tmpl', _template_uri) @@ -32,21 +32,21 @@ 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) - index_file = context.get('index_file', UNDEFINED) - parent = context.get('parent', UNDEFINED) - def content_header(): - return render_content_header(context._locals(__M_locals)) helper = _mako_get_namespace(context, 'helper') - site_has_comments = context.get('site_has_comments', UNDEFINED) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - def content(): - return render_content(context._locals(__M_locals)) - comments = _mako_get_namespace(context, 'comments') - posts = context.get('posts', UNDEFINED) permalink = context.get('permalink', UNDEFINED) index_teasers = context.get('index_teasers', UNDEFINED) + def content(): + return render_content(context._locals(__M_locals)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + def content_header(): + return render_content_header(context._locals(__M_locals)) + posts = context.get('posts', UNDEFINED) + index_file = context.get('index_file', UNDEFINED) + parent = context.get('parent', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + site_has_comments = context.get('site_has_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -66,19 +66,30 @@ def render_body(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_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - date_format = context.get('date_format', UNDEFINED) - def content_header(): - return render_content_header(context) helper = _mako_get_namespace(context, 'helper') - site_has_comments = context.get('site_has_comments', UNDEFINED) + index_teasers = context.get('index_teasers', UNDEFINED) def content(): return render_content(context) - comments = _mako_get_namespace(context, 'comments') + def content_header(): + return render_content_header(context) posts = context.get('posts', UNDEFINED) - index_teasers = context.get('index_teasers', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + site_has_comments = context.get('site_has_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'): @@ -130,23 +141,12 @@ 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: + posts = context.get('posts', UNDEFINED) permalink = context.get('permalink', UNDEFINED) index_file = context.get('index_file', UNDEFINED) - posts = context.get('posts', UNDEFINED) parent = context.get('parent', UNDEFINED) def extra_head(): return render_extra_head(context) @@ -165,6 +165,6 @@ def render_extra_head(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "index.tmpl", "line_map": {"133": 14, "144": 6, "22": 3, "25": 2, "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", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"} +{"uri": "index.tmpl", "line_map": {"128": 32, "129": 33, "130": 33, "131": 35, "132": 38, "133": 39, "134": 39, "135": 40, "136": 40, "137": 41, "138": 41, "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": 14, "80": 13, "94": 13, "99": 14, "100": 16, "101": 17, "102": 17, "103": 17, "104": 19, "105": 19, "106": 19, "107": 19, "108": 21, "109": 21, "110": 22, "111": 22, "112": 22, "113": 22, "114": 22, "115": 22, "116": 22, "117": 22, "118": 23, "119": 24, "120": 24, "121": 24, "122": 26, "123": 28, "124": 29, "125": 30, "126": 30, "127": 31}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index_helper.tmpl.py b/cache/.mako.tmp/index_helper.tmpl.py index a55bec30..71cc48c0 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 = 1434052806.9302866 +_modified_time = 1434056407.2386706 _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,25 +24,12 @@ 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: - prevlink = context.get('prevlink', UNDEFINED) nextlink = context.get('nextlink', UNDEFINED) messages = context.get('messages', UNDEFINED) + prevlink = context.get('prevlink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if prevlink or nextlink: @@ -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", "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", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"} +{"uri": "index_helper.tmpl", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py index 3332577d..311cf938 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 = 1434052807.1657426 +_modified_time = 1434056407.4733438 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl' _template_uri = 'list.tmpl' @@ -27,9 +27,9 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) + 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() @@ -47,9 +47,9 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: + 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() @@ -77,6 +77,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "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", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"} +{"uri": "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py index 34d907e3..623844f9 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 = 1434052807.1802948 +_modified_time = 1434056407.487871 _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,11 +27,11 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - def content(): - return render_content(context._locals(__M_locals)) - title = context.get('title', UNDEFINED) date_format = context.get('date_format', UNDEFINED) posts = context.get('posts', UNDEFINED) + title = context.get('title', UNDEFINED) + def content(): + return render_content(context._locals(__M_locals)) messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') @@ -48,11 +48,11 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - def content(): - return render_content(context) - title = context.get('title', UNDEFINED) date_format = context.get('date_format', UNDEFINED) posts = context.get('posts', UNDEFINED) + title = context.get('title', UNDEFINED) + def content(): + return render_content(context) messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

    ') @@ -85,6 +85,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "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", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"} +{"uri": "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py index d2623893..0e875271 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 = 1434052807.1335046 +_modified_time = 1434056407.4414825 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' _source_encoding = 'utf-8' -_exports = ['content', 'sourcelink'] +_exports = ['sourcelink', 'content'] 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']) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) + def content(): + return render_content(context._locals(__M_locals)) files = _import_ns.get('files', context.get('files', UNDEFINED)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) ui = _mako_get_namespace(context, 'ui') def sourcelink(): return render_sourcelink(context._locals(__M_locals)) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) - def content(): - return render_content(context._locals(__M_locals)) - folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) code = _import_ns.get('code', context.get('code', UNDEFINED)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n\n') @@ -60,18 +60,40 @@ 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']) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context) + messages = _import_ns.get('messages', context.get('messages', 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']) - files = _import_ns.get('files', context.get('files', UNDEFINED)) - ui = _mako_get_namespace(context, 'ui') - crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) def content(): return render_content(context) + files = _import_ns.get('files', context.get('files', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) + ui = _mako_get_namespace(context, 'ui') code = _import_ns.get('code', context.get('code', UNDEFINED)) + crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer(str(ui.bar(crumbs))) @@ -100,30 +122,8 @@ 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']) - 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() - - """ __M_BEGIN_METADATA -{"uri": "listing.tmpl", "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}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl"} +{"uri": "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}, "filename": "themes/bootstrap3/templates/listing.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py index 223af85f..1939baaa 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 = 1434052807.2080932 +_modified_time = 1434056407.5156074 _enable_loop = True _template_filename = 'themes/bootstrap/templates/post.tmpl' _template_uri = 'post.tmpl' _source_encoding = 'utf-8' -_exports = ['content', 'sourcelink', 'extra_head'] +_exports = ['sourcelink', 'content', 'extra_head'] 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('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'helper')] = ns + 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('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'comments')] = ns - ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'helper')] = 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) - post = context.get('post', UNDEFINED) - parent = context.get('parent', UNDEFINED) - messages = context.get('messages', UNDEFINED) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) helper = _mako_get_namespace(context, 'helper') - pheader = _mako_get_namespace(context, 'pheader') - site_has_comments = context.get('site_has_comments', UNDEFINED) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) - comments = _mako_get_namespace(context, 'comments') + def extra_head(): + return render_extra_head(context._locals(__M_locals)) show_sourcelink = context.get('show_sourcelink', UNDEFINED) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + parent = context.get('parent', UNDEFINED) + post = context.get('post', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + messages = context.get('messages', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -74,17 +74,38 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + def sourcelink(): + return render_sourcelink(context) + post = context.get('post', UNDEFINED) + messages = context.get('messages', UNDEFINED) + show_sourcelink = context.get('show_sourcelink', 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') - post = context.get('post', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) - messages = context.get('messages', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') def content(): return render_content(context) + post = context.get('post', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + messages = context.get('messages', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) comments = _mako_get_namespace(context, 'comments') - helper = _mako_get_namespace(context, 'helper') __M_writer = context.writer() __M_writer('\n
    ') - __M_writer(str(messages("Source"))) - __M_writer('\n \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -183,6 +183,6 @@ def render_extra_head(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "post.tmpl", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 3, "151": 10, "152": 10, "25": 4, "154": 13, "155": 13, "28": 2, "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, "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": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/post.tmpl"} +{"uri": "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": 2, "151": 10, "152": 10, "25": 3, "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}, "filename": "themes/bootstrap/templates/post.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py index 4dbfc2f3..b1ae6d48 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 = 1434052807.2722163 +_modified_time = 1434056407.579876 _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_translations', 'html_title', 'html_sourcelink', 'html_post_header'] +_exports = ['html_title', 'html_translations', 'html_sourcelink', 'html_post_header'] def _mako_get_namespace(context, name): @@ -19,12 +19,12 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - 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('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 + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -41,34 +41,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_html_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - lang = context.get('lang', UNDEFINED) - translations = context.get('translations', UNDEFINED) - len = context.get('len', UNDEFINED) - messages = context.get('messages', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(post.translated_to) > 1: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_title(context): __M_caller = context.caller_stack._push_frame() try: @@ -87,12 +59,40 @@ def render_html_title(context): context.caller_stack._pop_frame() +def render_html_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + len = context.get('len', UNDEFINED) + translations = context.get('translations', UNDEFINED) + lang = context.get('lang', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(post.translated_to) > 1: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_sourcelink(context): __M_caller = context.caller_stack._push_frame() try: - show_sourcelink = context.get('show_sourcelink', UNDEFINED) post = context.get('post', UNDEFINED) messages = context.get('messages', UNDEFINED) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if show_sourcelink: @@ -109,17 +109,17 @@ def render_html_sourcelink(context): def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - 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) + def html_sourcelink(): + return render_html_sourcelink(context) def html_title(): return render_html_title(context) - site_has_comments = context.get('site_has_comments', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + post = context.get('post', UNDEFINED) comments = _mako_get_namespace(context, 'comments') + messages = context.get('messages', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n ') __M_writer(str(html_title())) @@ -161,6 +161,6 @@ def render_html_post_header(context): """ __M_BEGIN_METADATA -{"uri": "post_header.tmpl", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 3, "151": 44, "152": 44, "25": 2, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 5, "162": 156, "78": 5, "79": 6, "80": 7, "81": 7, "82": 7, "83": 7, "84": 7, "90": 24, "97": 24, "98": 25, "99": 26, "100": 26, "101": 26, "102": 26, "103": 26, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"} +{"uri": "post_header.tmpl", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 2, "151": 44, "152": 44, "25": 3, "154": 46, "155": 47, "28": 0, "150": 43, "162": 156, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "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, "90": 24, "97": 24, "98": 25, "99": 26, "100": 26, "101": 26, "102": 26, "103": 26, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index 261d3369..e9336d84 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 = 1434052807.2398038 +_modified_time = 1434056407.5472648 _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 = ['html_tags', 'meta_translations', 'mathjax_script', 'twitter_card_information', 'html_pager', 'open_graph_metadata'] +_exports = ['html_pager', 'open_graph_metadata', 'meta_translations', 'twitter_card_information', 'html_tags', 'mathjax_script'] def render_body(context,**pageargs): @@ -29,92 +29,6 @@ def render_body(context,**pageargs): 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(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_meta_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - translations = context.get('translations', UNDEFINED) - len = context.get('len', UNDEFINED) - lang = context.get('lang', 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_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_twitter_card_information(context,post): - __M_caller = context.caller_stack._push_frame() - try: - twitter_card = context.get('twitter_card', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if twitter_card and twitter_card['use_twitter_cards']: - __M_writer(' \n') - if 'site:id' in twitter_card: - __M_writer(' \n') - elif 'site' in twitter_card: - __M_writer(' \n') - if 'creator:id' in twitter_card: - __M_writer(' \n') - elif 'creator' in twitter_card: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_pager(context,post): __M_caller = context.caller_stack._push_frame() try: @@ -148,13 +62,13 @@ def render_html_pager(context,post): def render_open_graph_metadata(context,post): __M_caller = context.caller_stack._push_frame() try: - url_replacer = context.get('url_replacer', UNDEFINED) - lang = context.get('lang', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) use_open_graph = context.get('use_open_graph', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) striphtml = context.get('striphtml', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) + lang = context.get('lang', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_open_graph: @@ -192,8 +106,94 @@ def render_open_graph_metadata(context,post): context.caller_stack._pop_frame() +def render_meta_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + len = context.get('len', UNDEFINED) + translations = context.get('translations', UNDEFINED) + lang = context.get('lang', 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_twitter_card_information(context,post): + __M_caller = context.caller_stack._push_frame() + try: + twitter_card = context.get('twitter_card', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if twitter_card and twitter_card['use_twitter_cards']: + __M_writer(' \n') + if 'site:id' in twitter_card: + __M_writer(' \n') + elif 'site' in twitter_card: + __M_writer(' \n') + if 'creator:id' in twitter_card: + __M_writer(' \n') + elif 'creator' in twitter_card: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_tags(context,post): + __M_caller = context.caller_stack._push_frame() + try: + _link = context.get('_link', UNDEFINED) + hidden_tags = context.get('hidden_tags', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if post.tags: + __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() + + """ __M_BEGIN_METADATA -{"uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 13, "38": 13, "39": 14, "40": 15, "41": 16, "42": 17, "43": 18, "44": 18, "45": 18, "46": 18, "47": 18, "48": 21, "54": 3, "61": 3, "62": 4, "63": 5, "64": 6, "65": 7, "66": 7, "67": 7, "68": 7, "69": 7, "75": 87, "79": 87, "80": 88, "81": 89, "87": 71, "92": 71, "93": 72, "94": 73, "95": 73, "96": 73, "97": 74, "98": 75, "99": 75, "100": 75, "101": 76, "102": 77, "103": 77, "104": 77, "105": 79, "106": 80, "107": 80, "108": 80, "109": 81, "110": 82, "111": 82, "112": 82, "118": 25, "123": 25, "124": 26, "125": 27, "126": 28, "127": 29, "128": 30, "129": 30, "130": 30, "131": 30, "132": 30, "133": 30, "134": 33, "135": 34, "136": 35, "137": 35, "138": 35, "139": 35, "140": 35, "141": 35, "142": 38, "148": 42, "159": 42, "160": 43, "161": 44, "162": 44, "163": 44, "164": 45, "165": 45, "166": 46, "167": 46, "168": 47, "169": 48, "170": 48, "171": 48, "172": 49, "173": 50, "174": 50, "175": 50, "176": 52, "177": 53, "178": 53, "179": 53, "180": 55, "181": 60, "182": 61, "183": 61, "184": 61, "185": 63, "186": 64, "187": 65, "188": 65, "189": 65, "195": 189}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"} +{"uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 42, "73": 42, "74": 43, "75": 44, "76": 44, "77": 44, "78": 45, "79": 45, "80": 46, "81": 46, "82": 47, "83": 48, "84": 48, "85": 48, "86": 49, "87": 50, "88": 50, "89": 50, "90": 52, "91": 53, "92": 53, "93": 53, "94": 55, "95": 60, "96": 61, "97": 61, "98": 61, "99": 63, "100": 64, "101": 65, "102": 65, "103": 65, "109": 3, "116": 3, "117": 4, "118": 5, "119": 6, "120": 7, "121": 7, "122": 7, "123": 7, "124": 7, "130": 71, "135": 71, "136": 72, "137": 73, "138": 73, "139": 73, "140": 74, "141": 75, "142": 75, "143": 75, "144": 76, "145": 77, "146": 77, "147": 77, "148": 79, "149": 80, "150": 80, "151": 80, "152": 81, "153": 82, "154": 82, "155": 82, "161": 13, "167": 13, "168": 14, "169": 15, "170": 16, "171": 17, "172": 18, "173": 18, "174": 18, "175": 18, "176": 18, "177": 21, "183": 87, "187": 87, "188": 88, "189": 89, "195": 189}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py index 1a45d452..dc8bcaa4 100644 --- a/cache/.mako.tmp/story.tmpl.py +++ b/cache/.mako.tmp/story.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434052807.2956066 +_modified_time = 1434056407.6033208 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl' _template_uri = 'story.tmpl' @@ -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('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'helper')] = ns + 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('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'comments')] = ns - ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'helper')] = ns - def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'post.tmpl', _template_uri) @@ -35,14 +35,14 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) helper = _mako_get_namespace(context, 'helper') - pheader = _mako_get_namespace(context, 'pheader') - site_has_comments = context.get('site_has_comments', UNDEFINED) - enable_comments = context.get('enable_comments', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) + enable_comments = context.get('enable_comments', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + post = context.get('post', UNDEFINED) + messages = context.get('messages', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n') @@ -62,14 +62,14 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) helper = _mako_get_namespace(context, 'helper') - pheader = _mako_get_namespace(context, 'pheader') - site_has_comments = context.get('site_has_comments', UNDEFINED) - enable_comments = context.get('enable_comments', UNDEFINED) def content(): return render_content(context) + enable_comments = context.get('enable_comments', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + post = context.get('post', UNDEFINED) + messages = context.get('messages', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n
    \n
    \n ') @@ -95,6 +95,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "story.tmpl", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 3, "87": 19, "88": 22, "25": 4, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl"} +{"uri": "story.tmpl", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 3, "90": 22, "28": 4, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/tag.tmpl.py b/cache/.mako.tmp/tag.tmpl.py index fc23c83b..876baa18 100644 --- a/cache/.mako.tmp/tag.tmpl.py +++ b/cache/.mako.tmp/tag.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434052807.3494055 +_modified_time = 1434056407.6569266 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl' _template_uri = 'tag.tmpl' @@ -27,23 +27,23 @@ 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) - tag = context.get('tag', UNDEFINED) - messages = context.get('messages', UNDEFINED) - parent = context.get('parent', UNDEFINED) - kind = context.get('kind', UNDEFINED) - description = context.get('description', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - _link = context.get('_link', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - title = context.get('title', UNDEFINED) - subcategories = context.get('subcategories', UNDEFINED) + description = context.get('description', UNDEFINED) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + tag = context.get('tag', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) + translations = context.get('translations', UNDEFINED) posts = context.get('posts', UNDEFINED) + kind = context.get('kind', UNDEFINED) + parent = context.get('parent', UNDEFINED) + subcategories = context.get('subcategories', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + _link = context.get('_link', UNDEFINED) + len = context.get('len', UNDEFINED) + title = context.get('title', 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'], 'extra_head'): @@ -64,20 +64,20 @@ 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) - tag = context.get('tag', UNDEFINED) - kind = context.get('kind', UNDEFINED) - messages = context.get('messages', UNDEFINED) - description = context.get('description', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) def content(): return render_content(context) - title = context.get('title', UNDEFINED) - subcategories = context.get('subcategories', UNDEFINED) - _link = context.get('_link', UNDEFINED) + description = context.get('description', UNDEFINED) + tag = context.get('tag', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) + translations = context.get('translations', UNDEFINED) posts = context.get('posts', UNDEFINED) + subcategories = context.get('subcategories', UNDEFINED) + kind = context.get('kind', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + title = context.get('title', UNDEFINED) + messages = context.get('messages', UNDEFINED) + len = context.get('len', UNDEFINED) + _link = context.get('_link', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

    ') __M_writer(filters.html_escape(str(title))) @@ -140,15 +140,15 @@ def render_content(context,**pageargs): def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - parent = context.get('parent', UNDEFINED) - kind = context.get('kind', UNDEFINED) - tag = context.get('tag', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) def extra_head(): return render_extra_head(context) + tag = context.get('tag', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) + translations = context.get('translations', UNDEFINED) + kind = context.get('kind', UNDEFINED) + parent = context.get('parent', UNDEFINED) _link = context.get('_link', UNDEFINED) + len = context.get('len', UNDEFINED) __M_writer = context.writer() __M_writer('\n ') __M_writer(str(parent.extra_head())) @@ -179,6 +179,6 @@ def render_extra_head(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "tag.tmpl", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl"} +{"uri": "tag.tmpl", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/tags.tmpl.py b/cache/.mako.tmp/tags.tmpl.py index f5722bf5..b34ced62 100644 --- a/cache/.mako.tmp/tags.tmpl.py +++ b/cache/.mako.tmp/tags.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434052807.3299656 +_modified_time = 1434056407.637334 _enable_loop = True _template_filename = 'themes/bootstrap/templates/tags.tmpl' _template_uri = 'tags.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) - messages = context.get('messages', 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) cat_items = context.get('cat_items', UNDEFINED) + messages = context.get('messages', UNDEFINED) + items = context.get('items', 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: - messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) def content(): return render_content(context) - title = context.get('title', UNDEFINED) - items = context.get('items', UNDEFINED) cat_items = context.get('cat_items', UNDEFINED) + messages = context.get('messages', UNDEFINED) + items = context.get('items', UNDEFINED) __M_writer = context.writer() __M_writer('\n

    ') __M_writer(str(title)) @@ -90,6 +90,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "tags.tmpl", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/tags.tmpl"} +{"uri": "tags.tmpl", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "filename": "themes/bootstrap/templates/tags.tmpl", "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/lastdeploy b/cache/lastdeploy index e9eccb13..99c4a866 100644 --- a/cache/lastdeploy +++ b/cache/lastdeploy @@ -1 +1 @@ -2015-06-11T20:00:10.250739 \ No newline at end of file +2015-06-11T21:00:10.429878 \ No newline at end of file