diff --git a/.doit.db b/.doit.db index b640dfe0..2ce403d1 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 3202c808..d1530f69 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 2077e441..3cf7d38a 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 7263163e..17b582b0 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 aae70b23..8147b828 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 091709f9..28ba527f 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 ffd840a7..36172dbb 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 00dac5b9..ba9a4421 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 3a9b2302..4e76ef7a 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 9646a45b..4f7a8909 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 307601cf..c07ada72 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 ccddbbfb..e5a47e96 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 172ea30c..bb033fd2 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 89b9ecc2..d840739d 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 6a9091c5..9787006e 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 9951c1bd..b141ce0d 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 9d25c29c..bbb479ac 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 f2b5ec3c..5e9ec01a 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 d2ccecfe..414ba3d3 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 638da533..a453e241 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 46860cca..3a3215a5 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 926ea264..6e28e66c 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 2c582eaf..cef36932 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 06edbf74..4fd8d840 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 1f9662f3..9e21197c 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 = 1434038407.436196 +_modified_time = 1434042007.4106398 _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}, "source_encoding": "ascii", "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"} +{"source_encoding": "ascii", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "uri": "annotation_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index 8ba16c85..c522c59c 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 = 1434038407.3620815 +_modified_time = 1434042007.3371398 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_js', 'belowtitle', 'extra_head', 'sourcelink', 'content'] +_exports = ['extra_js', 'content', 'belowtitle', 'sourcelink', 'extra_head'] def _mako_get_namespace(context, name): @@ -32,37 +32,37 @@ def render_body(context,**pageargs): _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - def extra_js(): - return render_extra_js(context._locals(__M_locals)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - def belowtitle(): - return render_belowtitle(context._locals(__M_locals)) - notes = _mako_get_namespace(context, 'notes') - content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) - template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) - date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) - logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) - base = _mako_get_namespace(context, 'base') + lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) + blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + base = _mako_get_namespace(context, 'base') + template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) + date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) - 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)) - blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) len = _import_ns.get('len', context.get('len', UNDEFINED)) + content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + def extra_js(): + return render_extra_js(context._locals(__M_locals)) + momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) + notes = _mako_get_namespace(context, 'notes') + def belowtitle(): + return render_belowtitle(context._locals(__M_locals)) + body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) + show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) + set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) + logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) + search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + post = _import_ns.get('post', context.get('post', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -172,17 +172,31 @@ def render_extra_js(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() + + def render_belowtitle(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + len = _import_ns.get('len', context.get('len', UNDEFINED)) def belowtitle(): return render_belowtitle(context) - len = _import_ns.get('len', context.get('len', UNDEFINED)) - base = _mako_get_namespace(context, 'base') translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + base = _mako_get_namespace(context, 'base') __M_writer = context.writer() __M_writer('\n') if len(translations) > 1: @@ -195,6 +209,20 @@ def render_belowtitle(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, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + def sourcelink(): + return render_sourcelink(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -210,36 +238,8 @@ def render_extra_head(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, 'notes')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - def sourcelink(): - return render_sourcelink(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - -def render_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, "213": 51, "190": 47, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "150": 89, "161": 85, "207": 6, "198": 6, "227": 66, "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, "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, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "source_encoding": "utf-8", "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl"} +{"source_encoding": "utf-8", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "150": 89, "161": 85, "226": 6, "175": 66, "206": 49, "189": 45, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "201": 45, "202": 46, "203": 47, "204": 47, "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, "205": 47, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "212": 51, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py index 214f607c..61dd9e1f 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 = 1434038407.4031632 +_modified_time = 1434042007.377784 _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_navigation_links', 'html_translations', 'html_headstart', 'html_feedlinks', 'html_stylesheets'] +_exports = ['html_translations', 'html_headstart', 'late_load_js', 'html_stylesheets', 'html_navigation_links', 'html_feedlinks'] def render_body(context,**pageargs): @@ -29,94 +29,13 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_late_load_js(context): - __M_caller = context.caller_stack._push_frame() - try: - social_buttons_code = context.get('social_buttons_code', UNDEFINED) - colorbox_locales = context.get('colorbox_locales', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if use_bundles: - if use_cdn: - __M_writer(' \n \n \n') - else: - __M_writer(' \n') - else: - if use_cdn: - __M_writer(' \n \n') - else: - __M_writer(' \n \n \n \n') - __M_writer(' \n') - if colorbox_locales[lang]: - __M_writer(' \n') - __M_writer(' ') - __M_writer(str(social_buttons_code)) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_navigation_links(context): - __M_caller = context.caller_stack._push_frame() - try: - navigation_links = context.get('navigation_links', UNDEFINED) - isinstance = context.get('isinstance', UNDEFINED) - tuple = context.get('tuple', UNDEFINED) - rel_link = context.get('rel_link', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - for url, text in navigation_links[lang]: - if isinstance(url, tuple): - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') - else: - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_translations(context): __M_caller = context.caller_stack._push_frame() try: lang = context.get('lang', UNDEFINED) + translations = context.get('translations', UNDEFINED) messages = context.get('messages', UNDEFINED) _link = context.get('_link', UNDEFINED) - translations = context.get('translations', UNDEFINED) __M_writer = context.writer() __M_writer('\n') for langname in translations.keys(): @@ -136,29 +55,29 @@ def render_html_translations(context): def render_html_headstart(context): __M_caller = context.caller_stack._push_frame() try: - nextlink = context.get('nextlink', UNDEFINED) - comment_system = context.get('comment_system', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - prevlink = context.get('prevlink', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - is_rtl = context.get('is_rtl', UNDEFINED) - def html_stylesheets(): - return render_html_stylesheets(context) comment_system_id = context.get('comment_system_id', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - description = context.get('description', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) - favicons = context.get('favicons', UNDEFINED) - extra_head_data = context.get('extra_head_data', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) - twitter_card = context.get('twitter_card', UNDEFINED) + lang = context.get('lang', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) title = context.get('title', UNDEFINED) + def html_stylesheets(): + return render_html_stylesheets(context) + abs_link = context.get('abs_link', UNDEFINED) def html_feedlinks(): return render_html_feedlinks(context) + nextlink = context.get('nextlink', UNDEFINED) permalink = context.get('permalink', UNDEFINED) - lang = context.get('lang', UNDEFINED) + comment_system = context.get('comment_system', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + twitter_card = context.get('twitter_card', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) + favicons = context.get('favicons', UNDEFINED) + description = context.get('description', UNDEFINED) + prevlink = context.get('prevlink', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) + mathjax_config = context.get('mathjax_config', UNDEFINED) + extra_head_data = context.get('extra_head_data', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n 1: - for language in translations: - __M_writer(' \n') + if use_bundles: + if use_cdn: + __M_writer(' \n \n \n') else: - __M_writer(' \n') + __M_writer(' \n') + else: + if use_cdn: + __M_writer(' \n \n') + else: + __M_writer(' \n \n \n \n') + __M_writer(' \n') + if colorbox_locales[lang]: + __M_writer(' \n') + __M_writer(' ') + __M_writer(str(social_buttons_code)) + __M_writer('\n') return '' finally: context.caller_stack._pop_frame() @@ -267,12 +188,12 @@ def render_html_feedlinks(context): def render_html_stylesheets(context): __M_caller = context.caller_stack._push_frame() try: - use_bundles = context.get('use_bundles', UNDEFINED) - annotations = context.get('annotations', UNDEFINED) - post = context.get('post', UNDEFINED) - notes = context.get('notes', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) has_custom_css = context.get('has_custom_css', UNDEFINED) + annotations = context.get('annotations', UNDEFINED) + notes = context.get('notes', UNDEFINED) + use_bundles = context.get('use_bundles', UNDEFINED) + post = context.get('post', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_bundles: @@ -301,8 +222,87 @@ def render_html_stylesheets(context): context.caller_stack._pop_frame() +def render_html_navigation_links(context): + __M_caller = context.caller_stack._push_frame() + try: + lang = context.get('lang', UNDEFINED) + rel_link = context.get('rel_link', UNDEFINED) + tuple = context.get('tuple', UNDEFINED) + isinstance = context.get('isinstance', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + navigation_links = context.get('navigation_links', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + for url, text in navigation_links[lang]: + if isinstance(url, tuple): + __M_writer('
  • ') + __M_writer(str(text)) + __M_writer('\n') + else: + __M_writer('
  • ') + __M_writer(str(text)) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_feedlinks(context): + __M_caller = context.caller_stack._push_frame() + try: + rss_link = context.get('rss_link', UNDEFINED) + len = context.get('len', UNDEFINED) + translations = context.get('translations', UNDEFINED) + _link = context.get('_link', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if rss_link: + __M_writer(' ') + __M_writer(str(rss_link)) + __M_writer('\n') + elif generate_rss: + if len(translations) > 1: + for language in translations: + __M_writer(' \n') + else: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"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": 124, "75": 124, "76": 125, "77": 126, "78": 127, "79": 127, "80": 127, "81": 129, "82": 130, "83": 131, "84": 131, "85": 131, "86": 131, "87": 131, "88": 132, "89": 133, "90": 133, "91": 133, "92": 133, "93": 133, "94": 136, "95": 137, "96": 138, "97": 139, "98": 139, "99": 139, "100": 139, "101": 139, "102": 140, "103": 141, "104": 141, "105": 141, "106": 141, "107": 141, "113": 161, "121": 161, "122": 162, "123": 163, "124": 164, "125": 164, "126": 164, "127": 164, "128": 164, "129": 164, "130": 164, "136": 3, "163": 3, "164": 7, "165": 8, "166": 9, "167": 10, "168": 12, "169": 13, "170": 15, "171": 16, "172": 18, "173": 21, "174": 22, "175": 25, "176": 25, "177": 25, "178": 28, "179": 29, "180": 29, "181": 29, "182": 31, "183": 32, "184": 32, "185": 32, "186": 32, "187": 34, "188": 34, "189": 35, "190": 35, "191": 36, "192": 37, "193": 37, "194": 37, "195": 39, "196": 40, "197": 41, "198": 42, "199": 42, "200": 42, "201": 42, "202": 42, "203": 42, "204": 42, "205": 45, "206": 46, "207": 47, "208": 47, "209": 47, "210": 49, "211": 50, "212": 51, "213": 51, "214": 51, "215": 53, "216": 54, "217": 54, "218": 54, "219": 56, "220": 57, "221": 57, "222": 58, "223": 59, "224": 60, "225": 61, "226": 61, "227": 61, "228": 63, "229": 64, "230": 64, "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", "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl"} +{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 3, "82": 3, "83": 7, "84": 8, "85": 9, "86": 10, "87": 12, "88": 13, "89": 15, "90": 16, "91": 18, "92": 21, "93": 22, "94": 25, "95": 25, "96": 25, "97": 28, "98": 29, "99": 29, "100": 29, "101": 31, "102": 32, "103": 32, "104": 32, "105": 32, "106": 34, "107": 34, "108": 35, "109": 35, "110": 36, "111": 37, "112": 37, "113": 37, "114": 39, "115": 40, "116": 41, "117": 42, "118": 42, "119": 42, "120": 42, "121": 42, "122": 42, "123": 42, "124": 45, "125": 46, "126": 47, "127": 47, "128": 47, "129": 49, "130": 50, "131": 51, "132": 51, "133": 51, "134": 53, "135": 54, "136": 54, "137": 54, "138": 56, "139": 57, "140": 57, "141": 58, "142": 59, "143": 60, "144": 61, "145": 61, "146": 61, "147": 63, "148": 64, "149": 64, "155": 67, "164": 67, "165": 68, "166": 69, "167": 70, "168": 73, "169": 74, "170": 76, "171": 77, "172": 78, "173": 80, "174": 81, "175": 86, "176": 88, "177": 89, "178": 89, "179": 89, "180": 91, "181": 91, "182": 91, "188": 95, "198": 95, "199": 96, "200": 97, "201": 98, "202": 100, "203": 101, "204": 103, "205": 104, "206": 105, "207": 106, "208": 107, "209": 109, "210": 113, "211": 114, "212": 117, "213": 118, "214": 118, "215": 118, "216": 119, "217": 120, "218": 120, "219": 120, "225": 124, "235": 124, "236": 125, "237": 126, "238": 127, "239": 127, "240": 127, "241": 129, "242": 130, "243": 131, "244": 131, "245": 131, "246": 131, "247": 131, "248": 132, "249": 133, "250": 133, "251": 133, "252": 133, "253": 133, "254": 136, "255": 137, "256": 138, "257": 139, "258": 139, "259": 139, "260": 139, "261": 139, "262": 140, "263": 141, "264": 141, "265": 141, "266": 141, "267": 141, "273": 147, "282": 147, "283": 148, "284": 149, "285": 149, "286": 149, "287": 150, "288": 151, "289": 152, "290": 153, "291": 153, "292": 153, "293": 153, "294": 153, "295": 155, "296": 156, "297": 156, "298": 156, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "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 050f887c..757f76c1 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 = 1434038407.2767801 +_modified_time = 1434042007.2524738 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def _mako_get_namespace(context, name): @@ -19,27 +19,27 @@ 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('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'muut')] = 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('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('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'googleplus')] = ns + ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'intensedebate')] = ns + + ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'facebook')] = ns + + 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('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'disqus')] = 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 + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -61,63 +61,17 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system = context.get('comment_system', UNDEFINED) - facebook = _mako_get_namespace(context, 'facebook') - isso = _mako_get_namespace(context, 'isso') - livefyre = _mako_get_namespace(context, 'livefyre') - intensedebate = _mako_get_namespace(context, 'intensedebate') - muut = _mako_get_namespace(context, 'muut') - googleplus = _mako_get_namespace(context, 'googleplus') - disqus = _mako_get_namespace(context, 'disqus') - __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: - comment_system = context.get('comment_system', UNDEFINED) - facebook = _mako_get_namespace(context, 'facebook') - isso = _mako_get_namespace(context, 'isso') - livefyre = _mako_get_namespace(context, 'livefyre') - intensedebate = _mako_get_namespace(context, 'intensedebate') - muut = _mako_get_namespace(context, 'muut') googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') disqus = _mako_get_namespace(context, 'disqus') + livefyre = _mako_get_namespace(context, 'livefyre') + isso = _mako_get_namespace(context, 'isso') + intensedebate = _mako_get_namespace(context, 'intensedebate') + facebook = _mako_get_namespace(context, 'facebook') + comment_system = context.get('comment_system', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -153,17 +107,63 @@ def render_comment_link_script(context): context.caller_stack._pop_frame() +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') + disqus = _mako_get_namespace(context, 'disqus') + livefyre = _mako_get_namespace(context, 'livefyre') + isso = _mako_get_namespace(context, 'isso') + intensedebate = _mako_get_namespace(context, 'intensedebate') + facebook = _mako_get_namespace(context, 'facebook') + 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: - comment_system = context.get('comment_system', UNDEFINED) - facebook = _mako_get_namespace(context, 'facebook') - isso = _mako_get_namespace(context, 'isso') - livefyre = _mako_get_namespace(context, 'livefyre') - intensedebate = _mako_get_namespace(context, 'intensedebate') - muut = _mako_get_namespace(context, 'muut') googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') disqus = _mako_get_namespace(context, 'disqus') + livefyre = _mako_get_namespace(context, 'livefyre') + isso = _mako_get_namespace(context, 'isso') + intensedebate = _mako_get_namespace(context, 'intensedebate') + facebook = _mako_get_namespace(context, 'facebook') + comment_system = context.get('comment_system', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -201,6 +201,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"22": 5, "25": 6, "28": 9, "31": 8, "34": 4, "37": 7, "40": 3, "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": 29, "76": 29, "77": 30, "78": 31, "79": 31, "80": 31, "81": 32, "82": 33, "83": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 36, "90": 37, "91": 37, "92": 37, "93": 38, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 42, "102": 43, "103": 43, "104": 43, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 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}, "source_encoding": "utf-8", "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"} +{"source_encoding": "utf-8", "line_map": {"22": 9, "25": 7, "28": 5, "31": 8, "34": 6, "37": 3, "40": 4, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "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 30e19ff9..d645015e 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 = 1434038407.3013892 +_modified_time = 1434042007.2769365 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] import json @@ -29,6 +29,21 @@ 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: @@ -46,21 +61,6 @@ def render_comment_link(context,link,identifier): 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_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -95,6 +95,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 33, "37": 33, "38": 34, "39": 35, "40": 35, "41": 35, "42": 35, "43": 35, "49": 40, "54": 40, "55": 41, "56": 42, "57": 42, "58": 42, "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}, "source_encoding": "utf-8", "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", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "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 64af74f9..a2270b23 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 = 1434038407.3385603 +_modified_time = 1434042007.3138545 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,18 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_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: @@ -50,6 +38,18 @@ def render_comment_link_script(context): context.caller_stack._pop_frame() +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __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: @@ -67,6 +67,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"32": 28, "33": 29, "34": 29, "59": 8, "68": 62, "40": 32, "60": 8, "45": 32, "46": 46, "15": 0, "20": 26, "21": 30, "22": 62, "58": 2, "47": 46, "28": 28, "61": 25, "62": 25, "53": 2}, "source_encoding": "utf-8", "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", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 28, "60": 8, "45": 28, "46": 29, "15": 0, "59": 8, "20": 26, "21": 30, "22": 62, "58": 2, "47": 29, "28": 32, "61": 25, "62": 25, "53": 2}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "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 8305c5af..30cde564 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 = 1434038407.332699 +_modified_time = 1434042007.3080225 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,6 +25,16 @@ 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: @@ -37,16 +47,6 @@ def render_comment_link(context,link,identifier): 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_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -61,6 +61,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"32": 11, "33": 12, "34": 12, "54": 2, "40": 16, "44": 16, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 11, "62": 56}, "source_encoding": "utf-8", "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", "line_map": {"32": 16, "54": 2, "38": 11, "42": 11, "43": 12, "44": 12, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 16, "62": 56}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "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 93a23068..680f486c 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 = 1434038407.319335 +_modified_time = 1434042007.2947292 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,6 +25,16 @@ 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: @@ -46,16 +56,6 @@ def render_comment_link(context,link,identifier): 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_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -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": 13, "33": 13, "34": 14, "35": 14, "36": 14, "37": 14, "38": 16, "39": 16, "40": 17, "41": 17, "42": 18, "43": 18, "49": 24, "53": 24, "59": 2}, "source_encoding": "utf-8", "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", "line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 13, "43": 13, "44": 14, "45": 14, "46": 14, "47": 14, "48": 16, "49": 16, "50": 17, "51": 17, "52": 18, "53": 18, "59": 2}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "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 b2e843a3..34a3f16d 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 = 1434038407.3464968 +_modified_time = 1434042007.3217528 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,21 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_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: @@ -57,6 +42,21 @@ def render_comment_link_script(context): context.caller_stack._pop_frame() +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + 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: @@ -78,6 +78,6 @@ def render_comment_form(context,url,title,identifier): """ __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": 9, "33": 9, "34": 10, "35": 11, "36": 11, "37": 11, "43": 16, "48": 16, "49": 17, "50": 18, "51": 18, "52": 18, "53": 18, "54": 18, "60": 2}, "source_encoding": "utf-8", "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", "line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 9, "50": 9, "51": 10, "52": 11, "53": 11, "54": 11, "60": 2}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "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 d990f5b2..24a69cc2 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 = 1434038407.3115604 +_modified_time = 1434042007.2870407 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -25,6 +25,16 @@ 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: @@ -42,16 +52,6 @@ def render_comment_link(context,link,identifier): 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_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -69,6 +69,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"64": 11, "33": 23, "34": 24, "35": 24, "36": 25, "37": 25, "38": 25, "39": 25, "60": 2, "70": 64, "45": 31, "15": 0, "49": 31, "20": 21, "21": 28, "22": 33, "55": 2, "28": 23, "61": 7, "62": 7, "63": 11}, "source_encoding": "utf-8", "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", "line_map": {"32": 31, "64": 11, "70": 64, "38": 23, "60": 2, "43": 23, "44": 24, "45": 24, "46": 25, "15": 0, "48": 25, "49": 25, "20": 21, "21": 28, "22": 33, "55": 2, "47": 25, "28": 31, "61": 7, "62": 7, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "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 fe705952..1b954d4a 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 = 1434038407.3269873 +_modified_time = 1434042007.302347 _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', 'comment_link_script', 'comment_form'] +_exports = ['comment_link_script', 'comment_link', 'comment_form'] def render_body(context,**pageargs): @@ -26,16 +26,6 @@ def render_body(context,**pageargs): 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: @@ -46,6 +36,16 @@ def render_comment_link_script(context): context.caller_stack._pop_frame() +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __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: @@ -65,6 +65,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"line_map": {"33": 7, "66": 60, "54": 3, "39": 11, "57": 4, "43": 11, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 7}, "source_encoding": "utf-8", "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", "line_map": {"33": 11, "66": 60, "54": 3, "39": 7, "57": 4, "43": 7, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/crumbs.tmpl.py b/cache/.mako.tmp/crumbs.tmpl.py index 4e8b41ba..c8514164 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 = 1434038407.474523 +_modified_time = 1434042007.448851 _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}, "source_encoding": "utf-8", "uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"} +{"source_encoding": "utf-8", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "uri": "crumbs.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py index 53d7f37a..a0ec5ab8 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 = 1434038407.2406206 +_modified_time = 1434042007.2165008 _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 = ['extra_head', 'content_header', 'content'] +_exports = ['content', 'content_header', 'extra_head'] def _mako_get_namespace(context, name): @@ -32,21 +32,21 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - index_file = context.get('index_file', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') - index_teasers = context.get('index_teasers', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + parent = context.get('parent', UNDEFINED) def content_header(): return render_content_header(context._locals(__M_locals)) + helper = _mako_get_namespace(context, 'helper') + index_teasers = context.get('index_teasers', UNDEFINED) + def content(): + return render_content(context._locals(__M_locals)) + index_file = context.get('index_file', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) posts = context.get('posts', UNDEFINED) def extra_head(): return render_extra_head(context._locals(__M_locals)) - def content(): - return render_content(context._locals(__M_locals)) - parent = context.get('parent', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') - permalink = context.get('permalink', UNDEFINED) date_format = context.get('date_format', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) __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_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_header(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - def content_header(): - return render_content_header(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - site_has_comments = context.get('site_has_comments', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') - index_teasers = context.get('index_teasers', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') def content_header(): return render_content_header(context) - posts = context.get('posts', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') + index_teasers = context.get('index_teasers', UNDEFINED) def content(): return render_content(context) - comments = _mako_get_namespace(context, 'comments') + posts = context.get('posts', UNDEFINED) date_format = context.get('date_format', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'): @@ -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": 3, "151": 33, "152": 33, "25": 2, "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": 6, "158": 40, "79": 6, "80": 7, "81": 7, "82": 8, "83": 9, "84": 9, "85": 9, "91": 14, "102": 13, "116": 13, "153": 35, "121": 14, "122": 16, "123": 17, "124": 17, "125": 17, "126": 19, "127": 19}, "source_encoding": "utf-8", "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"} +{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index_helper.tmpl.py b/cache/.mako.tmp/index_helper.tmpl.py index 2d34a8f5..15bfa1f2 100644 --- a/cache/.mako.tmp/index_helper.tmpl.py +++ b/cache/.mako.tmp/index_helper.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434038407.2593627 +_modified_time = 1434042007.2351615 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl' _template_uri = 'index_helper.tmpl' @@ -40,9 +40,9 @@ def render_mathjax_script(context,posts): def render_html_pager(context): __M_caller = context.caller_stack._push_frame() try: + nextlink = context.get('nextlink', UNDEFINED) prevlink = context.get('prevlink', UNDEFINED) messages = context.get('messages', UNDEFINED) - nextlink = context.get('nextlink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if prevlink or nextlink: @@ -67,6 +67,6 @@ def render_html_pager(context): """ __M_BEGIN_METADATA -{"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", "uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"} +{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "uri": "index_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py index 0fa1d668..683cdfb7 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 = 1434038407.495256 +_modified_time = 1434042007.4693956 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl' _template_uri = 'list.tmpl' @@ -29,9 +29,9 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) def content(): return render_content(context._locals(__M_locals)) - title = context.get('title', UNDEFINED) - messages = context.get('messages', UNDEFINED) items = context.get('items', UNDEFINED) + messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -49,9 +49,9 @@ def render_content(context,**pageargs): try: def content(): return render_content(context) - title = context.get('title', UNDEFINED) - messages = context.get('messages', UNDEFINED) items = context.get('items', UNDEFINED) + messages = context.get('messages', UNDEFINED) + title = context.get('title', 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}, "source_encoding": "utf-8", "uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"} +{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "uri": "list.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py index da1635f2..df7e3d21 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 = 1434038407.5097938 +_modified_time = 1434042007.4842474 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl' _template_uri = 'list_post.tmpl' @@ -27,11 +27,11 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - posts = context.get('posts', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - title = context.get('title', UNDEFINED) messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) + posts = context.get('posts', UNDEFINED) date_format = context.get('date_format', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') @@ -48,11 +48,11 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - posts = context.get('posts', UNDEFINED) def content(): return render_content(context) - title = context.get('title', UNDEFINED) messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) + posts = context.get('posts', UNDEFINED) date_format = context.get('date_format', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

    ') @@ -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}, "source_encoding": "utf-8", "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"} +{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "uri": "list_post.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py index 499b8d0a..cbd3a52e 100644 --- a/cache/.mako.tmp/listing.tmpl.py +++ b/cache/.mako.tmp/listing.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434038407.462948 +_modified_time = 1434042007.437249 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' @@ -31,15 +31,15 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - files = _import_ns.get('files', context.get('files', UNDEFINED)) code = _import_ns.get('code', context.get('code', UNDEFINED)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) ui = _mako_get_namespace(context, 'ui') - crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) + crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) + files = _import_ns.get('files', context.get('files', UNDEFINED)) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) __M_writer = context.writer() @@ -65,13 +65,13 @@ def render_content(context,**pageargs): try: _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - files = _import_ns.get('files', context.get('files', UNDEFINED)) code = _import_ns.get('code', context.get('code', UNDEFINED)) def content(): return render_content(context) ui = _mako_get_namespace(context, 'ui') - crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) + crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) + files = _import_ns.get('files', context.get('files', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer(str(ui.bar(crumbs))) @@ -105,10 +105,10 @@ def render_sourcelink(context,**pageargs): try: _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) 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: @@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs): """ __M_BEGIN_METADATA -{"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", "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"} +{"source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py index 7677d32e..b719df3c 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 = 1434038407.537656 +_modified_time = 1434042007.5122461 _enable_loop = True _template_filename = 'themes/bootstrap/templates/post.tmpl' _template_uri = 'post.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_head', 'sourcelink', 'content'] +_exports = ['content', 'sourcelink', 'extra_head'] def _mako_get_namespace(context, name): @@ -36,19 +36,19 @@ def render_body(context,**pageargs): try: __M_locals = __M_dict_builtin(pageargs=pageargs) site_has_comments = context.get('site_has_comments', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') pheader = _mako_get_namespace(context, 'pheader') - def extra_head(): - return render_extra_head(context._locals(__M_locals)) + messages = context.get('messages', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + parent = context.get('parent', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') def content(): return render_content(context._locals(__M_locals)) - messages = context.get('messages', UNDEFINED) - parent = context.get('parent', UNDEFINED) - post = context.get('post', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') + def extra_head(): + return render_extra_head(context._locals(__M_locals)) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) show_sourcelink = context.get('show_sourcelink', UNDEFINED) + post = context.get('post', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -74,14 +74,74 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_content(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + def content(): + return render_content(context) + pheader = _mako_get_namespace(context, 'pheader') + messages = context.get('messages', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + helper = _mako_get_namespace(context, 'helper') + site_has_comments = context.get('site_has_comments', UNDEFINED) + post = context.get('post', 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() + + +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + def sourcelink(): + return render_sourcelink(context) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) + post = context.get('post', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if show_sourcelink: + __M_writer('
  • \n ') + __M_writer(str(messages("Source"))) + __M_writer('\n
  • \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_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) 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())) @@ -121,68 +181,8 @@ def render_extra_head(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) - def sourcelink(): - return render_sourcelink(context) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if show_sourcelink: - __M_writer('
  • \n ') - __M_writer(str(messages("Source"))) - __M_writer('\n
  • \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_content(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - site_has_comments = context.get('site_has_comments', UNDEFINED) - def content(): - return render_content(context) - messages = context.get('messages', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') - post = context.get('post', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') - pheader = _mako_get_namespace(context, 'pheader') - __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": {"133": 50, "134": 51, "135": 52, "136": 53, "137": 53, "138": 53, "139": 53, "145": 27, "22": 4, "25": 3, "28": 2, "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": 7, "184": 178, "86": 7, "87": 8, "88": 8, "89": 9, "90": 10, "91": 10, "92": 10, "93": 12, "94": 13, "95": 13, "96": 13, "97": 15, "98": 15, "99": 15, "100": 16, "101": 17, "102": 17, "103": 17, "104": 17, "105": 17, "106": 19, "107": 20, "108": 20, "109": 20, "110": 20, "111": 20, "112": 22, "113": 22, "114": 22, "115": 23, "116": 23, "117": 24, "118": 24, "124": 50}, "source_encoding": "utf-8", "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl"} +{"source_encoding": "utf-8", "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": 4, "151": 10, "152": 10, "25": 3, "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}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py index 87c4c86b..d3c20a61 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 = 1434038407.6020782 +_modified_time = 1434042007.5761755 _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_sourcelink', 'html_translations', 'html_title', 'html_post_header'] +_exports = ['html_title', 'html_post_header', 'html_sourcelink', 'html_translations'] def _mako_get_namespace(context, name): @@ -41,58 +41,11 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_html_sourcelink(context): - __M_caller = context.caller_stack._push_frame() - try: - post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if show_sourcelink: - __M_writer('

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

    \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - lang = context.get('lang', UNDEFINED) - messages = context.get('messages', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', 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: - post = context.get('post', UNDEFINED) title = context.get('title', UNDEFINED) + post = context.get('post', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if title and not post.meta('hidetitle'): @@ -109,17 +62,17 @@ def render_html_title(context): def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - site_has_comments = context.get('site_has_comments', UNDEFINED) - def html_title(): - return render_html_title(context) messages = context.get('messages', UNDEFINED) - def html_translations(post): - return render_html_translations(context,post) - post = context.get('post', UNDEFINED) - def html_sourcelink(): - return render_html_sourcelink(context) comments = _mako_get_namespace(context, 'comments') date_format = context.get('date_format', UNDEFINED) + def html_title(): + return render_html_title(context) + def html_sourcelink(): + return render_html_sourcelink(context) + def html_translations(post): + return render_html_translations(context,post) + site_has_comments = context.get('site_has_comments', UNDEFINED) + post = context.get('post', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n ') __M_writer(str(html_title())) @@ -159,8 +112,55 @@ 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) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) + post = context.get('post', 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_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + lang = context.get('lang', UNDEFINED) + len = context.get('len', UNDEFINED) + messages = context.get('messages', UNDEFINED) + translations = context.get('translations', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(post.translated_to) > 1: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"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, "162": 156, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 11, "71": 11, "72": 12, "73": 13, "74": 14, "75": 14, "76": 15, "77": 16, "78": 17, "79": 17, "80": 17, "81": 17, "82": 17, "83": 17, "84": 17, "85": 20, "91": 5, "97": 5, "98": 6, "99": 7, "100": 7, "101": 7, "102": 7, "103": 7, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "source_encoding": "utf-8", "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"} +{"source_encoding": "utf-8", "line_map": {"128": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 3, "151": 17, "152": 17, "25": 2, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 24, "153": 17, "122": 24, "123": 25, "124": 26, "125": 26, "126": 26, "127": 26}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "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 173a5d6d..dadef949 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 = 1434038407.5694616 +_modified_time = 1434042007.543795 _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 = ['mathjax_script', 'open_graph_metadata', 'meta_translations', 'twitter_card_information', 'html_pager', 'html_tags'] +_exports = ['mathjax_script', 'html_pager', 'html_tags', 'meta_translations', 'twitter_card_information', 'open_graph_metadata'] def render_body(context,**pageargs): @@ -41,48 +41,53 @@ def render_mathjax_script(context,post): context.caller_stack._pop_frame() -def render_open_graph_metadata(context,post): +def render_html_pager(context,post): __M_caller = context.caller_stack._push_frame() try: - use_open_graph = context.get('use_open_graph', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - blog_title = context.get('blog_title', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - lang = context.get('lang', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - if use_open_graph: - __M_writer(' \n \n \n') - if post.description(): - __M_writer(' \n') - else: - __M_writer(' \n') - if post.previewimage: - __M_writer(' \n') - __M_writer(' \n') - if post.date.isoformat(): - __M_writer(' \n') - if post.tags: - for tag in post.tags: - __M_writer(' \n') + if post.prev_post: + __M_writer(' \n') + if post.next_post: + __M_writer(' \n') + __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() @@ -140,53 +145,48 @@ def render_twitter_card_information(context,post): context.caller_stack._pop_frame() -def render_html_pager(context,post): +def render_open_graph_metadata(context,post): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) + lang = context.get('lang', UNDEFINED) + blog_title = context.get('blog_title', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - if post.prev_post or post.next_post: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_tags(context,post): - __M_caller = context.caller_stack._push_frame() - try: - hidden_tags = context.get('hidden_tags', UNDEFINED) - _link = context.get('_link', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if post.tags: - __M_writer('