diff --git a/.doit.db b/.doit.db index 911cf952..466862d1 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 e44686ee..dcabbd67 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 ae39987b..c75210fe 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 2ba9e340..c7ad7efa 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 34136b4c..5e878a34 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 b210aa80..14a12ac1 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 8313d70a..5572ad7b 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 4462beaf..66d6fe34 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 be4ff0f3..1aa5fe8a 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 9d658708..5ce10c58 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 af6c8bee..4aede3c5 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 19583ec8..144d164a 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 884294f3..d9abca89 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 017dff62..e0dbf916 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 92396790..978d158a 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 32f48e96..0c61deba 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 431ec075..a0b25812 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 f3ccbb69..a5741b45 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 0c8c8346..37afa4e7 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 671644da..bc876d16 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 7a8cc005..0d1ad20b 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 d7dfd1f2..b52a8ac1 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 fb57609a..c9ad85b2 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 53467ad6..9f4e1cd6 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 b87a7107..fd702a03 100644 --- a/cache/.mako.tmp/annotation_helper.tmpl.py +++ b/cache/.mako.tmp/annotation_helper.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434049207.0030532 +_modified_time = 1434052807.1067142 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl' _template_uri = 'annotation_helper.tmpl' @@ -46,6 +46,6 @@ def render_css(context): """ __M_BEGIN_METADATA -{"line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "source_encoding": "ascii"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index d265cd9d..1bc7ef27 100644 --- a/cache/.mako.tmp/base.tmpl.py +++ b/cache/.mako.tmp/base.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434049206.9293582 +_modified_time = 1434052807.0327053 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['belowtitle', 'sourcelink', 'extra_js', 'extra_head', 'content'] +_exports = ['extra_js', 'belowtitle', 'sourcelink', 'content', 'extra_head'] def _mako_get_namespace(context, name): @@ -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('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 + ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'notes')] = ns + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + _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)) + date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) + set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) + show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) - notes = _mako_get_namespace(context, 'notes') - momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) + 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 content(): return render_content(context._locals(__M_locals)) template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) - def extra_js(): - return render_extra_js(context._locals(__M_locals)) - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - base = _mako_get_namespace(context, 'base') - len = _import_ns.get('len', context.get('len', UNDEFINED)) - blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) - show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) - annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) - date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) - body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -158,16 +158,30 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_extra_js(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def extra_js(): + return render_extra_js(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + def render_belowtitle(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + base = _mako_get_namespace(context, 'base') 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)) __M_writer = context.writer() __M_writer('\n') @@ -185,8 +199,8 @@ def render_sourcelink(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) def sourcelink(): return render_sourcelink(context) __M_writer = context.writer() @@ -195,14 +209,14 @@ def render_sourcelink(context,**pageargs): context.caller_stack._pop_frame() -def render_extra_js(context,**pageargs): +def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - def extra_js(): - return render_extra_js(context) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def content(): + return render_content(context) __M_writer = context.writer() return '' finally: @@ -213,8 +227,8 @@ def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) def extra_head(): return render_extra_head(context) __M_writer = context.writer() @@ -224,22 +238,8 @@ def render_extra_head(context,**pageargs): context.caller_stack._pop_frame() -def render_content(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - def content(): - return render_content(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "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": 45, "198": 85, "227": 66, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 51, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 6, "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, "109": 49, "110": 50, "111": 51, "241": 227, "221": 6, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl", "source_encoding": "utf-8"} +{"uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "190": 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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py index 7fbe4bb4..0aa520b3 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 = 1434049206.9699633 +_modified_time = 1434052807.07361 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['late_load_js', 'html_headstart', 'html_navigation_links', 'html_stylesheets', 'html_feedlinks', 'html_translations'] +_exports = ['html_translations', 'late_load_js', 'html_headstart', 'html_navigation_links', 'html_feedlinks', 'html_stylesheets'] def render_body(context,**pageargs): @@ -29,14 +29,37 @@ 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: - colorbox_locales = context.get('colorbox_locales', UNDEFINED) - lang = context.get('lang', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) 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: @@ -65,29 +88,29 @@ def render_late_load_js(context): def render_html_headstart(context): __M_caller = context.caller_stack._push_frame() try: - lang = context.get('lang', UNDEFINED) - nextlink = context.get('nextlink', UNDEFINED) - title = context.get('title', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) + comment_system = context.get('comment_system', UNDEFINED) + description = context.get('description', UNDEFINED) def html_feedlinks(): return render_html_feedlinks(context) - twitter_card = context.get('twitter_card', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - prevlink = context.get('prevlink', UNDEFINED) + favicons = context.get('favicons', UNDEFINED) + nextlink = context.get('nextlink', UNDEFINED) def html_stylesheets(): return render_html_stylesheets(context) - comment_system = context.get('comment_system', UNDEFINED) - blog_title = context.get('blog_title', UNDEFINED) url_replacer = context.get('url_replacer', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - extra_head_data = context.get('extra_head_data', UNDEFINED) - favicons = context.get('favicons', UNDEFINED) - is_rtl = context.get('is_rtl', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) - description = context.get('description', 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) use_cdn = context.get('use_cdn', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n 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: - notes = context.get('notes', UNDEFINED) - has_custom_css = context.get('has_custom_css', UNDEFINED) - post = context.get('post', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) 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: @@ -247,62 +301,8 @@ def render_html_stylesheets(context): context.caller_stack._pop_frame() -def render_html_feedlinks(context): - __M_caller = context.caller_stack._push_frame() - try: - rss_link = context.get('rss_link', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - translations = context.get('translations', UNDEFINED) - _link = context.get('_link', UNDEFINED) - len = context.get('len', 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_translations(context): - __M_caller = context.caller_stack._push_frame() - try: - _link = context.get('_link', UNDEFINED) - messages = context.get('messages', 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() - - """ __M_BEGIN_METADATA -{"line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 67, "41": 67, "42": 68, "43": 69, "44": 70, "45": 73, "46": 74, "47": 76, "48": 77, "49": 78, "50": 80, "51": 81, "52": 86, "53": 88, "54": 89, "55": 89, "56": 89, "57": 91, "58": 91, "59": 91, "65": 3, "92": 3, "93": 7, "94": 8, "95": 9, "96": 10, "97": 12, "98": 13, "99": 15, "100": 16, "101": 18, "102": 21, "103": 22, "104": 25, "105": 25, "106": 25, "107": 28, "108": 29, "109": 29, "110": 29, "111": 31, "112": 32, "113": 32, "114": 32, "115": 32, "116": 34, "117": 34, "118": 35, "119": 35, "120": 36, "121": 37, "122": 37, "123": 37, "124": 39, "125": 40, "126": 41, "127": 42, "128": 42, "129": 42, "130": 42, "131": 42, "132": 42, "133": 42, "134": 45, "135": 46, "136": 47, "137": 47, "138": 47, "139": 49, "140": 50, "141": 51, "142": 51, "143": 51, "144": 53, "145": 54, "146": 54, "147": 54, "148": 56, "149": 57, "150": 57, "151": 58, "152": 59, "153": 60, "154": 61, "155": 61, "156": 61, "157": 63, "158": 64, "159": 64, "165": 124, "175": 124, "176": 125, "177": 126, "178": 127, "179": 127, "180": 127, "181": 129, "182": 130, "183": 131, "184": 131, "185": 131, "186": 131, "187": 131, "188": 132, "189": 133, "190": 133, "191": 133, "192": 133, "193": 133, "194": 136, "195": 137, "196": 138, "197": 139, "198": 139, "199": 139, "200": 139, "201": 139, "202": 140, "203": 141, "204": 141, "205": 141, "206": 141, "207": 141, "213": 95, "223": 95, "224": 96, "225": 97, "226": 98, "227": 100, "228": 101, "229": 103, "230": 104, "231": 105, "232": 106, "233": 107, "234": 109, "235": 113, "236": 114, "237": 117, "238": 118, "239": 118, "240": 118, "241": 119, "242": 120, "243": 120, "244": 120, "250": 147, "259": 147, "260": 148, "261": 149, "262": 149, "263": 149, "264": 150, "265": 151, "266": 152, "267": 153, "268": 153, "269": 153, "270": 153, "271": 153, "272": 155, "273": 156, "274": 156, "275": 156, "281": 161, "289": 161, "290": 162, "291": 163, "292": 164, "293": 164, "294": 164, "295": 164, "296": 164, "297": 164, "298": 164, "304": 298}, "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper.tmpl.py b/cache/.mako.tmp/comments_helper.tmpl.py index 6a2a4456..0d6aa4dd 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 = 1434049206.8448324 +_modified_time = 1434052806.9476318 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] def _mako_get_namespace(context, name): @@ -19,26 +19,26 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'intensedebate')] = ns + ns = runtime.TemplateNamespace('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('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'livefyre')] = 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('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'disqus')] = 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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'facebook')] = 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('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'intensedebate')] = ns def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() @@ -61,109 +61,17 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - livefyre = _mako_get_namespace(context, 'livefyre') - googleplus = _mako_get_namespace(context, 'googleplus') - muut = _mako_get_namespace(context, 'muut') - facebook = _mako_get_namespace(context, 'facebook') - intensedebate = _mako_get_namespace(context, 'intensedebate') - isso = _mako_get_namespace(context, 'isso') - disqus = _mako_get_namespace(context, 'disqus') - comment_system = context.get('comment_system', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system == 'disqus': - __M_writer(' ') - __M_writer(str(disqus.comment_link_script())) - __M_writer('\n') - elif comment_system == 'livefyre': - __M_writer(' ') - __M_writer(str(livefyre.comment_link_script())) - __M_writer('\n') - elif comment_system == 'intensedebate': - __M_writer(' ') - __M_writer(str(intensedebate.comment_link_script())) - __M_writer('\n') - elif comment_system == 'muut': - __M_writer(' ') - __M_writer(str(muut.comment_link_script())) - __M_writer('\n') - elif comment_system == 'googleplus': - __M_writer(' ') - __M_writer(str(googleplus.comment_link_script())) - __M_writer('\n') - elif comment_system == 'facebook': - __M_writer(' ') - __M_writer(str(facebook.comment_link_script())) - __M_writer('\n') - elif comment_system == 'isso': - __M_writer(' ') - __M_writer(str(isso.comment_link_script())) - __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: - livefyre = _mako_get_namespace(context, 'livefyre') - googleplus = _mako_get_namespace(context, 'googleplus') - facebook = _mako_get_namespace(context, 'facebook') - muut = _mako_get_namespace(context, 'muut') - intensedebate = _mako_get_namespace(context, 'intensedebate') - isso = _mako_get_namespace(context, 'isso') - disqus = _mako_get_namespace(context, 'disqus') - comment_system = context.get('comment_system', UNDEFINED) - __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: - livefyre = _mako_get_namespace(context, 'livefyre') + 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') - intensedebate = _mako_get_namespace(context, 'intensedebate') - isso = _mako_get_namespace(context, 'isso') - disqus = _mako_get_namespace(context, 'disqus') - comment_system = context.get('comment_system', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -199,8 +107,100 @@ 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: + 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') + 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_script())) + __M_writer('\n') + elif comment_system == 'livefyre': + __M_writer(' ') + __M_writer(str(livefyre.comment_link_script())) + __M_writer('\n') + elif comment_system == 'intensedebate': + __M_writer(' ') + __M_writer(str(intensedebate.comment_link_script())) + __M_writer('\n') + elif comment_system == 'muut': + __M_writer(' ') + __M_writer(str(muut.comment_link_script())) + __M_writer('\n') + elif comment_system == 'googleplus': + __M_writer(' ') + __M_writer(str(googleplus.comment_link_script())) + __M_writer('\n') + elif comment_system == 'facebook': + __M_writer(' ') + __M_writer(str(facebook.comment_link_script())) + __M_writer('\n') + elif comment_system == 'isso': + __M_writer(' ') + __M_writer(str(isso.comment_link_script())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"line_map": {"22": 5, "25": 9, "28": 4, "31": 7, "34": 3, "37": 6, "40": 8, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_disqus.tmpl.py b/cache/.mako.tmp/comments_helper_disqus.tmpl.py index 644fd1c0..88391d69 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 = 1434049206.8692322 +_modified_time = 1434052806.9721909 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] import json @@ -29,38 +29,6 @@ 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: @@ -93,8 +61,40 @@ 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 -{"line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_facebook.tmpl.py b/cache/.mako.tmp/comments_helper_facebook.tmpl.py index 963ae855..5318df67 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 = 1434049206.906097 +_modified_time = 1434052807.0093625 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,31 +25,6 @@ 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: @@ -65,8 +40,33 @@ 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 -{"line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 28, "60": 8, "45": 28, "46": 29, "15": 0, "59": 8, "20": 26, "21": 30, "22": 62, "58": 2, "47": 29, "28": 32, "61": 25, "62": 25, "53": 2}, "uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py index 21395096..d93974f6 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 = 1434049206.9002671 +_modified_time = 1434052807.0034633 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,28 +25,6 @@ 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') - 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\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -59,8 +37,30 @@ 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\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') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"line_map": {"32": 16, "54": 2, "38": 11, "42": 11, "43": 12, "44": 12, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 16, "62": 56}, "uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py index 9313d1cc..ff4cdf80 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 = 1434049206.8869936 +_modified_time = 1434052806.990107 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,11 +25,18 @@ def render_body(context,**pageargs): 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() @@ -56,18 +63,11 @@ def render_comment_link(context,link,identifier): 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() @@ -75,6 +75,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 13, "43": 13, "44": 14, "45": 14, "46": 14, "47": 14, "48": 16, "49": 16, "50": 17, "51": 17, "52": 18, "53": 18, "59": 2}, "uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_isso.tmpl.py b/cache/.mako.tmp/comments_helper_isso.tmpl.py index 97c93b92..a02d538b 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 = 1434049206.913965 +_modified_time = 1434052807.0173006 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,38 +25,6 @@ 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: @@ -76,8 +44,40 @@ 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 -{"line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 9, "50": 9, "51": 10, "52": 11, "53": 11, "54": 11, "60": 2}, "uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py index d283c0e4..bc12ab92 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 = 1434049206.8793273 +_modified_time = 1434052806.9823835 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,11 +25,16 @@ def render_body(context,**pageargs): 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() @@ -52,16 +57,11 @@ def render_comment_link(context,link,identifier): 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() @@ -69,6 +69,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"32": 31, "64": 11, "70": 64, "38": 23, "60": 2, "43": 23, "44": 24, "45": 24, "46": 25, "15": 0, "48": 25, "49": 25, "20": 21, "21": 28, "22": 33, "55": 2, "47": 25, "28": 31, "61": 7, "62": 7, "63": 11}, "uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_muut.tmpl.py b/cache/.mako.tmp/comments_helper_muut.tmpl.py index a3165719..09b6023e 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 = 1434049206.8945973 +_modified_time = 1434052806.997745 _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_link_script', 'comment_link', 'comment_form'] +_exports = ['comment_form', 'comment_link', 'comment_link_script'] def render_body(context,**pageargs): @@ -26,26 +26,6 @@ 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: @@ -63,8 +43,28 @@ 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 -{"line_map": {"33": 11, "66": 60, "54": 3, "39": 7, "57": 4, "43": 7, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 11}, "uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/crumbs.tmpl.py b/cache/.mako.tmp/crumbs.tmpl.py index 582f2ab8..2f1b92fe 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 = 1434049207.0411437 +_modified_time = 1434052807.1450694 _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 -{"line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py index 638a6ea7..056579a5 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 = 1434049206.8090537 +_modified_time = 1434052806.9114654 _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_header', 'extra_head', 'content'] +_exports = ['content', 'content_header', '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('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 + ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='index_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) @@ -32,21 +32,21 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - comments = _mako_get_namespace(context, 'comments') - def content(): - return render_content(context._locals(__M_locals)) + date_format = context.get('date_format', UNDEFINED) index_file = context.get('index_file', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) parent = context.get('parent', UNDEFINED) def content_header(): return render_content_header(context._locals(__M_locals)) - posts = context.get('posts', UNDEFINED) + 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) - date_format = context.get('date_format', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -66,52 +66,19 @@ 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_extra_head(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - parent = context.get('parent', UNDEFINED) - index_file = context.get('index_file', UNDEFINED) - posts = context.get('posts', UNDEFINED) - def extra_head(): - return render_extra_head(context) - permalink = context.get('permalink', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n ') - __M_writer(str(parent.extra_head())) - __M_writer('\n') - if posts and (permalink == '/' or permalink == '/' + index_file): - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - comments = _mako_get_namespace(context, 'comments') - def content(): - return render_content(context) - site_has_comments = context.get('site_has_comments', UNDEFINED) + 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) + def content(): + return render_content(context) + comments = _mako_get_namespace(context, 'comments') posts = context.get('posts', UNDEFINED) index_teasers = context.get('index_teasers', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') __M_writer = context.writer() __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'): @@ -163,8 +130,41 @@ 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: + 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) + __M_writer = context.writer() + __M_writer('\n ') + __M_writer(str(parent.extra_head())) + __M_writer('\n') + if posts and (permalink == '/' or permalink == '/' + index_file): + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"line_map": {"128": 19, "129": 19, "130": 21, "131": 21, "132": 22, "133": 22, "134": 22, "135": 22, "136": 22, "137": 22, "138": 22, "139": 22, "140": 23, "141": 24, "142": 24, "143": 24, "144": 26, "145": 28, "146": 29, "147": 30, "148": 30, "149": 31, "22": 2, "151": 33, "152": 33, "25": 3, "154": 38, "155": 39, "156": 39, "157": 40, "150": 32, "31": 0, "160": 41, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 41, "63": 42, "69": 14, "158": 40, "80": 6, "90": 6, "91": 7, "92": 7, "93": 8, "94": 9, "95": 9, "96": 9, "102": 13, "116": 13, "153": 35, "121": 14, "122": 16, "123": 17, "124": 17, "125": 17, "126": 19, "127": 19}, "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index_helper.tmpl.py b/cache/.mako.tmp/index_helper.tmpl.py index 3281d901..a55bec30 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 = 1434049206.8276732 +_modified_time = 1434052806.9302866 _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 = ['html_pager', 'mathjax_script'] +_exports = ['mathjax_script', 'html_pager'] def render_body(context,**pageargs): @@ -24,12 +24,25 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_mathjax_script(context,posts): + __M_caller = context.caller_stack._push_frame() + try: + any = context.get('any', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if any(post.is_mathjax for post in posts): + __M_writer(' \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_pager(context): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) prevlink = context.get('prevlink', UNDEFINED) nextlink = context.get('nextlink', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if prevlink or nextlink: @@ -52,21 +65,8 @@ 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 -{"line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 2, "34": 2, "35": 3, "36": 4, "37": 6, "38": 7, "39": 8, "40": 8, "41": 8, "42": 8, "43": 11, "44": 12, "45": 13, "46": 13, "47": 13, "48": 13, "49": 16, "55": 21, "60": 21, "61": 22, "62": 23}, "uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py index e4b465dc..3332577d 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 = 1434049207.061766 +_modified_time = 1434052807.1657426 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl' _template_uri = 'list.tmpl' @@ -27,11 +27,11 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - items = context.get('items', UNDEFINED) - title = context.get('title', UNDEFINED) - messages = context.get('messages', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) + title = context.get('title', UNDEFINED) + items = context.get('items', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -47,11 +47,11 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - items = context.get('items', UNDEFINED) - title = context.get('title', UNDEFINED) - messages = context.get('messages', UNDEFINED) def content(): return render_content(context) + title = context.get('title', UNDEFINED) + items = context.get('items', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

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

    ') __M_writer(str(title)) @@ -85,6 +85,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py index bd95c483..d2623893 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 = 1434049207.0296092 +_modified_time = 1434052807.1335046 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'content'] +_exports = ['content', 'sourcelink'] def _mako_get_namespace(context, name): @@ -31,17 +31,17 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + files = _import_ns.get('files', context.get('files', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) ui = _mako_get_namespace(context, 'ui') - def content(): - return render_content(context._locals(__M_locals)) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - files = _import_ns.get('files', context.get('files', UNDEFINED)) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) - code = _import_ns.get('code', context.get('code', UNDEFINED)) + 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)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n\n') @@ -60,40 +60,18 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - __M_writer = context.writer() - __M_writer('\n') - if source_link: - __M_writer('
  • \n ') - __M_writer(str(messages("Source"))) - __M_writer('\n
  • \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + 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)) - code = _import_ns.get('code', context.get('code', UNDEFINED)) - crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) + code = _import_ns.get('code', context.get('code', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer(str(ui.bar(crumbs))) @@ -122,8 +100,30 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + 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 -{"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}, "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py index 461cdcb5..223af85f 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 = 1434049207.103941 +_modified_time = 1434052807.2080932 _enable_loop = True _template_filename = 'themes/bootstrap/templates/post.tmpl' _template_uri = 'post.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'extra_head', 'content'] +_exports = ['content', 'sourcelink', 'extra_head'] def _mako_get_namespace(context, name): @@ -19,14 +19,14 @@ 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('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'pheader')] = ns + ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'helper')] = ns def _mako_inherit(template, context): _mako_generate_namespaces(context) @@ -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) - comments = _mako_get_namespace(context, 'comments') - def content(): - return render_content(context._locals(__M_locals)) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) - parent = context.get('parent', UNDEFINED) - post = context.get('post', UNDEFINED) + 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)) - pheader = _mako_get_namespace(context, 'pheader') - helper = _mako_get_namespace(context, 'helper') + def content(): + return render_content(context._locals(__M_locals)) + comments = _mako_get_namespace(context, 'comments') + show_sourcelink = context.get('show_sourcelink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -74,14 +74,53 @@ def render_body(context,**pageargs): 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) + def content(): + return render_content(context) + comments = _mako_get_namespace(context, 'comments') + helper = _mako_get_namespace(context, 'helper') + __M_writer = context.writer() + __M_writer('\n
    \n ') + __M_writer(str(pheader.html_post_header())) + __M_writer('\n
    \n ') + __M_writer(str(post.text())) + __M_writer('\n
    \n \n') + if not post.meta('nocomments') and site_has_comments: + __M_writer('
    \n

    ') + __M_writer(str(messages("Comments"))) + __M_writer('

    \n ') + __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path))) + __M_writer('\n
    \n') + __M_writer(' ') + __M_writer(str(helper.mathjax_script(post))) + __M_writer('\n
    \n') + __M_writer(str(comments.comment_link_script())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_sourcelink(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) def sourcelink(): return render_sourcelink(context) - post = context.get('post', UNDEFINED) show_sourcelink = context.get('show_sourcelink', UNDEFINED) + post = context.get('post', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if show_sourcelink: @@ -98,11 +137,11 @@ def render_sourcelink(context,**pageargs): def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - parent = context.get('parent', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') post = context.get('post', UNDEFINED) + parent = context.get('parent', UNDEFINED) def extra_head(): return render_extra_head(context) - helper = _mako_get_namespace(context, 'helper') __M_writer = context.writer() __M_writer('\n ') __M_writer(str(parent.extra_head())) @@ -142,47 +181,8 @@ def render_extra_head(context,**pageargs): context.caller_stack._pop_frame() -def render_content(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - post = context.get('post', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') - def content(): - return render_content(context) - pheader = _mako_get_namespace(context, 'pheader') - helper = _mako_get_namespace(context, 'helper') - site_has_comments = context.get('site_has_comments', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n
    \n ') - __M_writer(str(pheader.html_post_header())) - __M_writer('\n
    \n ') - __M_writer(str(post.text())) - __M_writer('\n
    \n \n') - if not post.meta('nocomments') and site_has_comments: - __M_writer('
    \n

    ') - __M_writer(str(messages("Comments"))) - __M_writer('

    \n ') - __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path))) - __M_writer('\n
    \n') - __M_writer(' ') - __M_writer(str(helper.mathjax_script(post))) - __M_writer('\n
    \n') - __M_writer(str(comments.comment_link_script())) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"line_map": {"128": 20, "129": 20, "130": 20, "131": 20, "132": 20, "133": 22, "134": 22, "135": 22, "136": 23, "137": 23, "138": 24, "139": 24, "145": 27, "22": 2, "25": 4, "28": 3, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 7, "107": 7, "108": 8, "109": 8, "110": 9, "111": 10, "112": 10, "113": 10, "114": 12, "115": 13, "116": 13, "117": 13, "118": 15, "119": 15, "120": 15, "121": 16, "122": 17, "123": 17, "124": 17, "125": 17, "126": 17, "127": 19}, "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py index 86e0d666..4dbfc2f3 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 = 1434049207.1676724 +_modified_time = 1434052807.2722163 _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_post_header', 'html_sourcelink', 'html_title', 'html_translations'] +_exports = ['html_translations', 'html_title', '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('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'helper')] = ns - ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'comments')] = ns + ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'helper')] = ns + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -41,20 +41,85 @@ 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: + title = context.get('title', UNDEFINED) + post = context.get('post', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if title and not post.meta('hidetitle'): + __M_writer('

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

    \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_sourcelink(context): + __M_caller = context.caller_stack._push_frame() + try: + show_sourcelink = context.get('show_sourcelink', UNDEFINED) + post = context.get('post', UNDEFINED) + messages = context.get('messages', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if show_sourcelink: + __M_writer('

    ') + __M_writer(str(messages("Source"))) + __M_writer('

    \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) - def html_title(): - return render_html_title(context) - comments = _mako_get_namespace(context, 'comments') - site_has_comments = context.get('site_has_comments', UNDEFINED) - def html_translations(post): - return render_html_translations(context,post) 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_title(): + return render_html_title(context) + site_has_comments = context.get('site_has_comments', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n
    \n ') __M_writer(str(html_title())) @@ -94,73 +159,8 @@ def render_html_post_header(context): context.caller_stack._pop_frame() -def render_html_sourcelink(context): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - post = context.get('post', UNDEFINED) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if show_sourcelink: - __M_writer('

    ') - __M_writer(str(messages("Source"))) - __M_writer('

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

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

    \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - translations = context.get('translations', UNDEFINED) - lang = context.get('lang', UNDEFINED) - len = context.get('len', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(post.translated_to) > 1: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"line_map": {"128": 7, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 2, "151": 17, "152": 17, "25": 3, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 30, "59": 30, "60": 32, "61": 32, "62": 34, "63": 34, "64": 35, "65": 35, "66": 35, "67": 35, "68": 35, "69": 35, "70": 35, "71": 35, "72": 36, "73": 37, "74": 37, "75": 37, "76": 39, "77": 39, "78": 39, "79": 40, "80": 41, "81": 41, "82": 41, "83": 41, "84": 41, "85": 43, "86": 44, "87": 44, "88": 44, "89": 46, "90": 47, "91": 47, "97": 24, "104": 24, "105": 25, "106": 26, "107": 26, "108": 26, "109": 26, "110": 26, "116": 5, "153": 17, "122": 5, "123": 6, "124": 7, "125": 7, "126": 7, "127": 7}, "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index 4f25c32b..261d3369 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 = 1434049207.1353955 +_modified_time = 1434052807.2398038 _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 = ['twitter_card_information', 'open_graph_metadata', 'html_pager', 'meta_translations', 'html_tags', 'mathjax_script'] +_exports = ['html_tags', 'meta_translations', 'mathjax_script', 'twitter_card_information', 'html_pager', 'open_graph_metadata'] def render_body(context,**pageargs): @@ -29,6 +29,61 @@ 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: @@ -60,16 +115,46 @@ def render_twitter_card_information(context,post): context.caller_stack._pop_frame() +def render_html_pager(context,post): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if post.prev_post or post.next_post: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_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) - striphtml = context.get('striphtml', UNDEFINED) - abs_link = context.get('abs_link', 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) __M_writer = context.writer() __M_writer('\n') if use_open_graph: @@ -107,93 +192,8 @@ def render_open_graph_metadata(context,post): context.caller_stack._pop_frame() -def render_html_pager(context,post): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if post.prev_post or post.next_post: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_meta_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - translations = context.get('translations', UNDEFINED) - lang = context.get('lang', UNDEFINED) - len = context.get('len', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(translations) > 1: - for langname in translations.keys(): - if langname != lang and post.is_translation_available(langname): - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_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 -{"line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 71, "37": 71, "38": 72, "39": 73, "40": 73, "41": 73, "42": 74, "43": 75, "44": 75, "45": 75, "46": 76, "47": 77, "48": 77, "49": 77, "50": 79, "51": 80, "52": 80, "53": 80, "54": 81, "55": 82, "56": 82, "57": 82, "63": 42, "74": 42, "75": 43, "76": 44, "77": 44, "78": 44, "79": 45, "80": 45, "81": 46, "82": 46, "83": 47, "84": 48, "85": 48, "86": 48, "87": 49, "88": 50, "89": 50, "90": 50, "91": 52, "92": 53, "93": 53, "94": 53, "95": 55, "96": 60, "97": 61, "98": 61, "99": 61, "100": 63, "101": 64, "102": 65, "103": 65, "104": 65, "110": 25, "115": 25, "116": 26, "117": 27, "118": 28, "119": 29, "120": 30, "121": 30, "122": 30, "123": 30, "124": 30, "125": 30, "126": 33, "127": 34, "128": 35, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 38, "140": 3, "147": 3, "148": 4, "149": 5, "150": 6, "151": 7, "152": 7, "153": 7, "154": 7, "155": 7, "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}, "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py index 78eca8cc..1a45d452 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 = 1434049207.1909835 +_modified_time = 1434052807.2956066 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl' _template_uri = 'story.tmpl' @@ -19,14 +19,14 @@ 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('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'pheader')] = ns + ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'helper')] = ns def _mako_inherit(template, context): _mako_generate_namespaces(context) @@ -35,15 +35,15 @@ 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) - comments = _mako_get_namespace(context, 'comments') + 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) - site_has_comments = context.get('site_has_comments', UNDEFINED) - post = context.get('post', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') - helper = _mako_get_namespace(context, 'helper') + comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -62,15 +62,15 @@ 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) - comments = _mako_get_namespace(context, 'comments') + 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) - site_has_comments = context.get('site_has_comments', UNDEFINED) - post = context.get('post', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') - helper = _mako_get_namespace(context, 'helper') + comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n
    \n
    \n ') __M_writer(str(pheader.html_title())) @@ -95,6 +95,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"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": 4, "90": 22, "28": 3, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "uri": "story.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/tag.tmpl.py b/cache/.mako.tmp/tag.tmpl.py index 46801a15..fc23c83b 100644 --- a/cache/.mako.tmp/tag.tmpl.py +++ b/cache/.mako.tmp/tag.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434049207.2457988 +_modified_time = 1434052807.3494055 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl' _template_uri = 'tag.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_head', 'content'] +_exports = ['content', 'extra_head'] def _mako_get_namespace(context, name): @@ -27,23 +27,23 @@ 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) - def content(): - return render_content(context._locals(__M_locals)) + date_format = context.get('date_format', UNDEFINED) tag = context.get('tag', UNDEFINED) - title = context.get('title', UNDEFINED) - subcategories = context.get('subcategories', UNDEFINED) + messages = context.get('messages', UNDEFINED) parent = context.get('parent', UNDEFINED) - posts = context.get('posts', 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)) - generate_rss = context.get('generate_rss', UNDEFINED) _link = context.get('_link', UNDEFINED) - translations = context.get('translations', UNDEFINED) - description = context.get('description', UNDEFINED) - len = context.get('len', UNDEFINED) - kind = context.get('kind', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) + def content(): + return render_content(context._locals(__M_locals)) + title = context.get('title', UNDEFINED) + subcategories = context.get('subcategories', UNDEFINED) + posts = context.get('posts', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'): @@ -61,63 +61,23 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_extra_head(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - tag = context.get('tag', UNDEFINED) - parent = context.get('parent', UNDEFINED) - def extra_head(): - return render_extra_head(context) - generate_rss = context.get('generate_rss', UNDEFINED) - _link = context.get('_link', UNDEFINED) - translations = context.get('translations', UNDEFINED) - len = context.get('len', UNDEFINED) - kind = context.get('kind', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n ') - __M_writer(str(parent.extra_head())) - __M_writer('\n') - if len(translations) > 1 and generate_rss: - for language in translations: - __M_writer(' \n') - elif generate_rss: - __M_writer(' \n') - 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) + 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) - tag = context.get('tag', UNDEFINED) subcategories = context.get('subcategories', UNDEFINED) - posts = context.get('posts', UNDEFINED) - description = context.get('description', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - translations = context.get('translations', UNDEFINED) _link = context.get('_link', UNDEFINED) - len = context.get('len', UNDEFINED) - kind = context.get('kind', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) + posts = context.get('posts', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

    ') __M_writer(filters.html_escape(str(title))) @@ -177,8 +137,48 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() +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) + _link = context.get('_link', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n ') + __M_writer(str(parent.extra_head())) + __M_writer('\n') + if len(translations) > 1 and generate_rss: + for language in translations: + __M_writer(' \n') + elif generate_rss: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}, "uri": "tag.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/tags.tmpl.py b/cache/.mako.tmp/tags.tmpl.py index 0c054817..f5722bf5 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 = 1434049207.2252002 +_modified_time = 1434052807.3299656 _enable_loop = True _template_filename = 'themes/bootstrap/templates/tags.tmpl' _template_uri = 'tags.tmpl' @@ -28,11 +28,11 @@ def render_body(context,**pageargs): try: __M_locals = __M_dict_builtin(pageargs=pageargs) messages = context.get('messages', UNDEFINED) - title = context.get('title', UNDEFINED) - cat_items = context.get('cat_items', UNDEFINED) - items = context.get('items', 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) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -49,11 +49,11 @@ def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: messages = context.get('messages', UNDEFINED) - title = context.get('title', UNDEFINED) - cat_items = context.get('cat_items', UNDEFINED) - items = context.get('items', UNDEFINED) def content(): return render_content(context) + title = context.get('title', UNDEFINED) + items = context.get('items', UNDEFINED) + cat_items = context.get('cat_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 -{"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}, "uri": "tags.tmpl", "filename": "themes/bootstrap/templates/tags.tmpl", "source_encoding": "utf-8"} +{"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"} __M_END_METADATA """ diff --git a/cache/lastdeploy b/cache/lastdeploy index 268758a0..e9eccb13 100644 --- a/cache/lastdeploy +++ b/cache/lastdeploy @@ -1 +1 @@ -2015-06-11T19:00:10.114541 \ No newline at end of file +2015-06-11T20:00:10.250739 \ No newline at end of file