diff --git a/.doit.db b/.doit.db index 18fd8a20..06df7ffc 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 1793174e..97438dd1 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 d2f9b58c..97107e2e 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 af2986e9..2f047588 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 e3366816..9924e7d7 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 afe7509d..b80c9af2 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 788a0649..ec590060 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 21ce850d..130c4fc3 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 7796c7ab..3df599f6 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 dd3ce540..5b37378b 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 c70c70ad..5167b220 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 ef5e0481..a768b0d2 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 dbbb8f66..b2122e04 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 0ac5a6c4..be187644 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 c155d046..5f5cd1b6 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 453e51c1..b6f5ba84 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 18130413..862c66e4 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 5ad53078..c5e63d46 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 9f1614e2..ee794d9d 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 771320c4..c953e78d 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 c4ccaa11..7ba2d423 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 9859b3c6..09ee2d8c 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 769d084b..28a9579a 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 f803ce88..23e3511f 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 7e329c83..83d6f967 100644 --- a/cache/.mako.tmp/annotation_helper.tmpl.py +++ b/cache/.mako.tmp/annotation_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.83671 +_modified_time = 1434099608.0248206 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl' _template_uri = 'annotation_helper.tmpl' _source_encoding = 'ascii' -_exports = ['code', 'css'] +_exports = ['css', 'code'] def render_body(context,**pageargs): @@ -24,16 +24,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_code(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n \n \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_css(context): __M_caller = context.caller_stack._push_frame() try: @@ -44,8 +34,18 @@ def render_css(context): context.caller_stack._pop_frame() +def render_code(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n \n \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "ascii", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"} +{"line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "source_encoding": "ascii", "uri": "annotation_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index a91995ee..fe758350 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 = 1434096007.7625067 +_modified_time = 1434099607.9505644 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'extra_js', 'belowtitle', 'extra_head', 'content'] +_exports = ['content', 'extra_js', 'belowtitle', 'sourcelink', 'extra_head'] def _mako_get_namespace(context, name): @@ -19,50 +19,50 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'notes')] = ns - ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'base')] = ns + ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'notes')] = ns + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) - date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) + js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) - set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) - lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) - base = _mako_get_namespace(context, 'base') - annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) def extra_js(): return render_extra_js(context._locals(__M_locals)) + def content(): + return render_content(context._locals(__M_locals)) + notes = _mako_get_namespace(context, 'notes') + lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - notes = _mako_get_namespace(context, 'notes') - len = _import_ns.get('len', context.get('len', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) - logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) - def content(): - return render_content(context._locals(__M_locals)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) + show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) + momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) + search_form = _import_ns.get('search_form', context.get('search_form', 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)) + base = _mako_get_namespace(context, 'base') + set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) + post = _import_ns.get('post', context.get('post', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -158,14 +158,14 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): +def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - def sourcelink(): - return render_sourcelink(context) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def content(): + return render_content(context) __M_writer = context.writer() return '' finally: @@ -176,8 +176,8 @@ def render_extra_js(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) def extra_js(): return render_extra_js(context) __M_writer = context.writer() @@ -190,13 +190,13 @@ 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, ['*']) - base = _mako_get_namespace(context, 'base') + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) def belowtitle(): return render_belowtitle(context) - len = _import_ns.get('len', context.get('len', UNDEFINED)) translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) + base = _mako_get_namespace(context, 'base') __M_writer = context.writer() __M_writer('\n') if len(translations) > 1: @@ -209,12 +209,26 @@ 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, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def sourcelink(): + return render_sourcelink(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) def extra_head(): return render_extra_head(context) __M_writer = context.writer() @@ -224,22 +238,8 @@ def render_extra_head(context,**pageargs): context.caller_stack._pop_frame() -def render_content(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - def content(): - return render_content(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"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": 51, "227": 66, "175": 85, "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, "109": 49, "110": 50, "111": 51, "241": 227, "221": 6, "212": 6, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl"} +{"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": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 66, "226": 6, "175": 85, "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", "source_encoding": "utf-8", "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 1362d7e0..ed971b32 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 = 1434096007.80396 +_modified_time = 1434099607.9918644 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_translations', 'html_feedlinks', 'late_load_js', 'html_stylesheets', 'html_headstart', 'html_navigation_links'] +_exports = ['html_feedlinks', 'late_load_js', 'html_navigation_links', 'html_headstart', 'html_stylesheets', 'html_translations'] def render_body(context,**pageargs): @@ -29,37 +29,14 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_html_translations(context): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - _link = context.get('_link', UNDEFINED) - translations = context.get('translations', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - for langname in translations.keys(): - if langname != lang: - __M_writer('
  • ') - __M_writer(str(messages("LANGUAGE", langname))) - __M_writer('
  • \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_feedlinks(context): __M_caller = context.caller_stack._push_frame() try: - rss_link = context.get('rss_link', UNDEFINED) generate_rss = context.get('generate_rss', UNDEFINED) - _link = context.get('_link', UNDEFINED) - len = context.get('len', UNDEFINED) translations = context.get('translations', UNDEFINED) + len = context.get('len', UNDEFINED) + _link = context.get('_link', UNDEFINED) + rss_link = context.get('rss_link', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if rss_link: @@ -86,11 +63,11 @@ def render_html_feedlinks(context): def render_late_load_js(context): __M_caller = context.caller_stack._push_frame() try: - social_buttons_code = context.get('social_buttons_code', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - colorbox_locales = context.get('colorbox_locales', UNDEFINED) use_bundles = context.get('use_bundles', UNDEFINED) + colorbox_locales = context.get('colorbox_locales', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) lang = context.get('lang', UNDEFINED) + social_buttons_code = context.get('social_buttons_code', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_bundles: @@ -116,38 +93,49 @@ def render_late_load_js(context): context.caller_stack._pop_frame() -def render_html_stylesheets(context): +def render_html_navigation_links(context): __M_caller = context.caller_stack._push_frame() try: - post = context.get('post', UNDEFINED) - annotations = context.get('annotations', UNDEFINED) - notes = context.get('notes', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - has_custom_css = context.get('has_custom_css', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) + isinstance = context.get('isinstance', UNDEFINED) + tuple = context.get('tuple', UNDEFINED) + lang = context.get('lang', UNDEFINED) + rel_link = context.get('rel_link', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + navigation_links = context.get('navigation_links', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - if use_bundles: - if use_cdn: - __M_writer(' \n \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() @@ -156,29 +144,29 @@ def render_html_stylesheets(context): def render_html_headstart(context): __M_caller = context.caller_stack._push_frame() try: - abs_link = context.get('abs_link', UNDEFINED) - nextlink = context.get('nextlink', UNDEFINED) - is_rtl = context.get('is_rtl', UNDEFINED) - title = context.get('title', UNDEFINED) - lang = context.get('lang', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) - favicons = context.get('favicons', UNDEFINED) - def html_stylesheets(): - return render_html_stylesheets(context) - use_cdn = context.get('use_cdn', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) - twitter_card = context.get('twitter_card', UNDEFINED) - prevlink = context.get('prevlink', UNDEFINED) - comment_system = context.get('comment_system', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - comment_system_id = context.get('comment_system_id', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) def html_feedlinks(): return render_html_feedlinks(context) - extra_head_data = context.get('extra_head_data', UNDEFINED) - description = context.get('description', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + comment_system = context.get('comment_system', UNDEFINED) + lang = context.get('lang', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) + nextlink = context.get('nextlink', UNDEFINED) + twitter_card = context.get('twitter_card', UNDEFINED) + prevlink = context.get('prevlink', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) + favicons = context.get('favicons', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + title = context.get('title', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + description = context.get('description', UNDEFINED) + extra_head_data = context.get('extra_head_data', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) + mathjax_config = context.get('mathjax_config', UNDEFINED) + def html_stylesheets(): + return render_html_stylesheets(context) + permalink = context.get('permalink', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') - __M_writer(str(text)) - __M_writer('\n \n') + if use_bundles: + if use_cdn: + __M_writer(' \n \n') else: - if rel_link(permalink, url) == "#": - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') - else: - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') + __M_writer(' \n') + else: + if use_cdn: + __M_writer(' \n') + else: + __M_writer(' \n') + __M_writer(' \n \n \n \n') + if has_custom_css: + __M_writer(' \n') + if annotations and post and not post.meta('noannotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + elif not annotations and post and post.meta('annotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_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) + __M_writer = context.writer() + __M_writer('\n') + for langname in translations.keys(): + if langname != lang: + __M_writer('
  • ') + __M_writer(str(messages("LANGUAGE", langname))) + __M_writer('
  • \n') return '' finally: context.caller_stack._pop_frame() @@ -303,6 +303,6 @@ def render_html_navigation_links(context): """ __M_BEGIN_METADATA -{"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": 147, "64": 147, "65": 148, "66": 149, "67": 149, "68": 149, "69": 150, "70": 151, "71": 152, "72": 153, "73": 153, "74": 153, "75": 153, "76": 153, "77": 155, "78": 156, "79": 156, "80": 156, "86": 67, "95": 67, "96": 68, "97": 69, "98": 70, "99": 73, "100": 74, "101": 76, "102": 77, "103": 78, "104": 80, "105": 81, "106": 86, "107": 88, "108": 89, "109": 89, "110": 89, "111": 91, "112": 91, "113": 91, "119": 95, "129": 95, "130": 96, "131": 97, "132": 98, "133": 100, "134": 101, "135": 103, "136": 104, "137": 105, "138": 106, "139": 107, "140": 109, "141": 113, "142": 114, "143": 117, "144": 118, "145": 118, "146": 118, "147": 119, "148": 120, "149": 120, "150": 120, "156": 3, "183": 3, "184": 7, "185": 8, "186": 9, "187": 10, "188": 12, "189": 13, "190": 15, "191": 16, "192": 18, "193": 21, "194": 22, "195": 25, "196": 25, "197": 25, "198": 28, "199": 29, "200": 29, "201": 29, "202": 31, "203": 32, "204": 32, "205": 32, "206": 32, "207": 34, "208": 34, "209": 35, "210": 35, "211": 36, "212": 37, "213": 37, "214": 37, "215": 39, "216": 40, "217": 41, "218": 42, "219": 42, "220": 42, "221": 42, "222": 42, "223": 42, "224": 42, "225": 45, "226": 46, "227": 47, "228": 47, "229": 47, "230": 49, "231": 50, "232": 51, "233": 51, "234": 51, "235": 53, "236": 54, "237": 54, "238": 54, "239": 56, "240": 57, "241": 57, "242": 58, "243": 59, "244": 60, "245": 61, "246": 61, "247": 61, "248": 63, "249": 64, "250": 64, "256": 124, "266": 124, "267": 125, "268": 126, "269": 127, "270": 127, "271": 127, "272": 129, "273": 130, "274": 131, "275": 131, "276": 131, "277": 131, "278": 131, "279": 132, "280": 133, "281": 133, "282": 133, "283": 133, "284": 133, "285": 136, "286": 137, "287": 138, "288": 139, "289": 139, "290": 139, "291": 139, "292": 139, "293": 140, "294": 141, "295": 141, "296": 141, "297": 141, "298": 141, "304": 298}, "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl"} +{"line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 147, "41": 147, "42": 148, "43": 149, "44": 149, "45": 149, "46": 150, "47": 151, "48": 152, "49": 153, "50": 153, "51": 153, "52": 153, "53": 153, "54": 155, "55": 156, "56": 156, "57": 156, "63": 67, "72": 67, "73": 68, "74": 69, "75": 70, "76": 73, "77": 74, "78": 76, "79": 77, "80": 78, "81": 80, "82": 81, "83": 86, "84": 88, "85": 89, "86": 89, "87": 89, "88": 91, "89": 91, "90": 91, "96": 124, "106": 124, "107": 125, "108": 126, "109": 127, "110": 127, "111": 127, "112": 129, "113": 130, "114": 131, "115": 131, "116": 131, "117": 131, "118": 131, "119": 132, "120": 133, "121": 133, "122": 133, "123": 133, "124": 133, "125": 136, "126": 137, "127": 138, "128": 139, "129": 139, "130": 139, "131": 139, "132": 139, "133": 140, "134": 141, "135": 141, "136": 141, "137": 141, "138": 141, "144": 3, "171": 3, "172": 7, "173": 8, "174": 9, "175": 10, "176": 12, "177": 13, "178": 15, "179": 16, "180": 18, "181": 21, "182": 22, "183": 25, "184": 25, "185": 25, "186": 28, "187": 29, "188": 29, "189": 29, "190": 31, "191": 32, "192": 32, "193": 32, "194": 32, "195": 34, "196": 34, "197": 35, "198": 35, "199": 36, "200": 37, "201": 37, "202": 37, "203": 39, "204": 40, "205": 41, "206": 42, "207": 42, "208": 42, "209": 42, "210": 42, "211": 42, "212": 42, "213": 45, "214": 46, "215": 47, "216": 47, "217": 47, "218": 49, "219": 50, "220": 51, "221": 51, "222": 51, "223": 53, "224": 54, "225": 54, "226": 54, "227": 56, "228": 57, "229": 57, "230": 58, "231": 59, "232": 60, "233": 61, "234": 61, "235": 61, "236": 63, "237": 64, "238": 64, "244": 95, "254": 95, "255": 96, "256": 97, "257": 98, "258": 100, "259": 101, "260": 103, "261": 104, "262": 105, "263": 106, "264": 107, "265": 109, "266": 113, "267": 114, "268": 117, "269": 118, "270": 118, "271": 118, "272": 119, "273": 120, "274": 120, "275": 120, "281": 161, "289": 161, "290": 162, "291": 163, "292": 164, "293": 164, "294": 164, "295": 164, "296": 164, "297": 164, "298": 164, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "source_encoding": "utf-8", "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 3879ea41..7122b965 100644 --- a/cache/.mako.tmp/comments_helper.tmpl.py +++ b/cache/.mako.tmp/comments_helper.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.677331 +_modified_time = 1434099607.8655324 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl' _template_uri = 'comments_helper.tmpl' @@ -25,21 +25,21 @@ 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('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'livefyre')] = ns - - ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'disqus')] = ns - - ns = runtime.TemplateNamespace('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('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'muut')] = ns + + ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'livefyre')] = ns + + ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'disqus')] = ns + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -64,14 +64,14 @@ def render_body(context,**pageargs): def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: - comment_system = context.get('comment_system', UNDEFINED) - livefyre = _mako_get_namespace(context, 'livefyre') - disqus = _mako_get_namespace(context, 'disqus') - muut = _mako_get_namespace(context, 'muut') - facebook = _mako_get_namespace(context, 'facebook') googleplus = _mako_get_namespace(context, 'googleplus') - intensedebate = _mako_get_namespace(context, 'intensedebate') + muut = _mako_get_namespace(context, 'muut') + livefyre = _mako_get_namespace(context, 'livefyre') + comment_system = context.get('comment_system', UNDEFINED) + disqus = _mako_get_namespace(context, 'disqus') isso = _mako_get_namespace(context, 'isso') + intensedebate = _mako_get_namespace(context, 'intensedebate') + facebook = _mako_get_namespace(context, 'facebook') __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -110,14 +110,14 @@ def render_comment_link_script(context): def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: - comment_system = context.get('comment_system', UNDEFINED) + googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') livefyre = _mako_get_namespace(context, 'livefyre') disqus = _mako_get_namespace(context, 'disqus') - muut = _mako_get_namespace(context, 'muut') - facebook = _mako_get_namespace(context, 'facebook') - googleplus = _mako_get_namespace(context, 'googleplus') - intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) isso = _mako_get_namespace(context, 'isso') + intensedebate = _mako_get_namespace(context, 'intensedebate') + facebook = _mako_get_namespace(context, 'facebook') __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -156,14 +156,14 @@ def render_comment_link(context,link,identifier): def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: - comment_system = context.get('comment_system', UNDEFINED) + googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') livefyre = _mako_get_namespace(context, 'livefyre') disqus = _mako_get_namespace(context, 'disqus') - muut = _mako_get_namespace(context, 'muut') - facebook = _mako_get_namespace(context, 'facebook') - googleplus = _mako_get_namespace(context, 'googleplus') - intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) isso = _mako_get_namespace(context, 'isso') + intensedebate = _mako_get_namespace(context, 'intensedebate') + facebook = _mako_get_namespace(context, 'facebook') __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 -{"source_encoding": "utf-8", "line_map": {"22": 7, "25": 5, "28": 4, "31": 3, "34": 6, "37": 9, "40": 8, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"} +{"line_map": {"22": 7, "25": 5, "28": 9, "31": 8, "34": 6, "37": 4, "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": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "source_encoding": "utf-8", "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 bb97331a..5823a8cc 100644 --- a/cache/.mako.tmp/comments_helper_disqus.tmpl.py +++ b/cache/.mako.tmp/comments_helper_disqus.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.7016845 +_modified_time = 1434099607.8900502 _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' @@ -64,8 +64,8 @@ def render_comment_link(context,link,identifier): def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: - comment_system_id = context.get('comment_system_id', UNDEFINED) lang = context.get('lang', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if comment_system_id: @@ -95,6 +95,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"} +{"line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "source_encoding": "utf-8", "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 135a2f6c..a3317ab9 100644 --- a/cache/.mako.tmp/comments_helper_facebook.tmpl.py +++ b/cache/.mako.tmp/comments_helper_facebook.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.7390096 +_modified_time = 1434099607.9272854 _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' @@ -67,6 +67,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 28, "60": 8, "45": 28, "46": 29, "15": 0, "59": 8, "20": 26, "21": 30, "22": 62, "58": 2, "47": 29, "28": 32, "61": 25, "62": 25, "53": 2}, "uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"} +{"line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 28, "60": 8, "45": 28, "46": 29, "15": 0, "59": 8, "20": 26, "21": 30, "22": 62, "58": 2, "47": 29, "28": 32, "61": 25, "62": 25, "53": 2}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "source_encoding": "utf-8", "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 d309da9c..5d4e32e9 100644 --- a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py +++ b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.7331574 +_modified_time = 1434099607.9213617 _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' @@ -61,6 +61,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"32": 16, "54": 2, "38": 11, "42": 11, "43": 12, "44": 12, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 16, "62": 56}, "uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"} +{"line_map": {"32": 16, "54": 2, "38": 11, "42": 11, "43": 12, "44": 12, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 16, "62": 56}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "source_encoding": "utf-8", "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 d932e39e..554f63cd 100644 --- a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py +++ b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.7196987 +_modified_time = 1434099607.9079156 _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' @@ -75,6 +75,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 13, "43": 13, "44": 14, "45": 14, "46": 14, "47": 14, "48": 16, "49": 16, "50": 17, "51": 17, "52": 18, "53": 18, "59": 2}, "uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"} +{"line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 13, "43": 13, "44": 14, "45": 14, "46": 14, "47": 14, "48": 16, "49": 16, "50": 17, "51": 17, "52": 18, "53": 18, "59": 2}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "source_encoding": "utf-8", "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 cc4b2287..4dda09fa 100644 --- a/cache/.mako.tmp/comments_helper_isso.tmpl.py +++ b/cache/.mako.tmp/comments_helper_isso.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.7469115 +_modified_time = 1434099607.9352036 _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' @@ -78,6 +78,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 9, "50": 9, "51": 10, "52": 11, "53": 11, "54": 11, "60": 2}, "uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"} +{"line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 9, "50": 9, "51": 10, "52": 11, "53": 11, "54": 11, "60": 2}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "source_encoding": "utf-8", "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 dafeaaff..633c9fcf 100644 --- a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py +++ b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.711966 +_modified_time = 1434099607.9002275 _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' @@ -69,6 +69,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"32": 31, "64": 11, "70": 64, "38": 23, "60": 2, "43": 23, "44": 24, "45": 24, "46": 25, "15": 0, "48": 25, "49": 25, "20": 21, "21": 28, "22": 33, "55": 2, "47": 25, "28": 31, "61": 7, "62": 7, "63": 11}, "uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"} +{"line_map": {"32": 31, "64": 11, "70": 64, "38": 23, "60": 2, "43": 23, "44": 24, "45": 24, "46": 25, "15": 0, "48": 25, "49": 25, "20": 21, "21": 28, "22": 33, "55": 2, "47": 25, "28": 31, "61": 7, "62": 7, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "source_encoding": "utf-8", "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 7d2aa4b3..6e4e9a66 100644 --- a/cache/.mako.tmp/comments_helper_muut.tmpl.py +++ b/cache/.mako.tmp/comments_helper_muut.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096007.7273319 +_modified_time = 1434099607.9156642 _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' @@ -65,6 +65,6 @@ def render_comment_form(context,url,title,identifier): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"33": 11, "66": 60, "54": 3, "39": 7, "57": 4, "43": 7, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 11}, "uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"} +{"line_map": {"33": 11, "66": 60, "54": 3, "39": 7, "57": 4, "43": 7, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "source_encoding": "utf-8", "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 d756b2fe..2b3489f0 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 = 1434096007.8742144 +_modified_time = 1434099608.0624232 _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 -{"source_encoding": "utf-8", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"} +{"line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "source_encoding": "utf-8", "uri": "crumbs.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py index ab299b2e..91b9fe82 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 = 1434096007.641622 +_modified_time = 1434099607.8296793 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl' _template_uri = 'index.tmpl' _source_encoding = 'utf-8' -_exports = ['content_header', 'content', 'extra_head'] +_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) - parent = context.get('parent', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - index_teasers = context.get('index_teasers', UNDEFINED) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - date_format = context.get('date_format', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') - helper = _mako_get_namespace(context, 'helper') - posts = context.get('posts', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) index_file = context.get('index_file', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + index_teasers = context.get('index_teasers', UNDEFINED) def content_header(): return render_content_header(context._locals(__M_locals)) + helper = _mako_get_namespace(context, 'helper') def content(): return render_content(context._locals(__M_locals)) - site_has_comments = context.get('site_has_comments', UNDEFINED) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + parent = context.get('parent', UNDEFINED) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -66,30 +66,19 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_content_header(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - def content_header(): - return render_content_header(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - index_teasers = context.get('index_teasers', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) comments = _mako_get_namespace(context, 'comments') - date_format = context.get('date_format', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') - posts = context.get('posts', UNDEFINED) + index_teasers = context.get('index_teasers', UNDEFINED) def content_header(): return render_content_header(context) - site_has_comments = context.get('site_has_comments', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') def content(): return render_content(context) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'): @@ -141,15 +130,26 @@ 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: - index_file = context.get('index_file', UNDEFINED) - parent = context.get('parent', UNDEFINED) permalink = context.get('permalink', UNDEFINED) + posts = context.get('posts', UNDEFINED) + parent = context.get('parent', UNDEFINED) + index_file = context.get('index_file', UNDEFINED) def extra_head(): return render_extra_head(context) - posts = context.get('posts', UNDEFINED) __M_writer = context.writer() __M_writer('\n ') __M_writer(str(parent.extra_head())) @@ -165,6 +165,6 @@ def render_extra_head(context,**pageargs): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"128": 32, "129": 33, "130": 33, "131": 35, "132": 38, "133": 39, "134": 39, "135": 40, "136": 40, "137": 41, "138": 41, "144": 6, "22": 2, "25": 3, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 14, "80": 13, "94": 13, "99": 14, "100": 16, "101": 17, "102": 17, "103": 17, "104": 19, "105": 19, "106": 19, "107": 19, "108": 21, "109": 21, "110": 22, "111": 22, "112": 22, "113": 22, "114": 22, "115": 22, "116": 22, "117": 22, "118": 23, "119": 24, "120": 24, "121": 24, "122": 26, "123": 28, "124": 29, "125": 30, "126": 30, "127": 31}, "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"} +{"line_map": {"133": 14, "144": 6, "22": 2, "25": 3, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "source_encoding": "utf-8", "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 0fb1e37a..69088b2b 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 = 1434096007.6602066 +_modified_time = 1434099607.8483148 _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) messages = context.get('messages', UNDEFINED) prevlink = context.get('prevlink', 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 -{"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}, "uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"} +{"line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "source_encoding": "utf-8", "uri": "index_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py index aa1d979d..58145c59 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 = 1434096007.8951848 +_modified_time = 1434099608.0836396 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl' _template_uri = 'list.tmpl' @@ -27,11 +27,11 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - items = context.get('items', UNDEFINED) - messages = context.get('messages', UNDEFINED) title = context.get('title', UNDEFINED) + messages = context.get('messages', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) + items = context.get('items', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -47,11 +47,11 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - items = context.get('items', UNDEFINED) - messages = context.get('messages', UNDEFINED) title = context.get('title', UNDEFINED) + messages = context.get('messages', UNDEFINED) def content(): return render_content(context) + items = context.get('items', 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 -{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"} +{"line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "source_encoding": "utf-8", "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 56baee52..c5ef7054 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 = 1434096007.909374 +_modified_time = 1434099608.0975869 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl' _template_uri = 'list_post.tmpl' @@ -27,12 +27,12 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - messages = context.get('messages', UNDEFINED) title = context.get('title', UNDEFINED) + posts = context.get('posts', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - posts = context.get('posts', UNDEFINED) date_format = context.get('date_format', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -48,12 +48,12 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) title = context.get('title', UNDEFINED) + posts = context.get('posts', UNDEFINED) def content(): return render_content(context) - posts = context.get('posts', UNDEFINED) date_format = context.get('date_format', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

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

    \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - def html_translations(post): - return render_html_translations(context,post) + site_has_comments = context.get('site_has_comments', UNDEFINED) comments = _mako_get_namespace(context, 'comments') + messages = context.get('messages', UNDEFINED) date_format = context.get('date_format', UNDEFINED) - def html_sourcelink(): - return render_html_sourcelink(context) + post = context.get('post', UNDEFINED) def html_title(): return render_html_title(context) - messages = context.get('messages', UNDEFINED) - post = context.get('post', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) + def html_translations(post): + return render_html_translations(context,post) + def html_sourcelink(): + return render_html_sourcelink(context) __M_writer = context.writer() __M_writer('\n
    \n ') __M_writer(str(html_title())) @@ -113,13 +94,31 @@ def render_html_post_header(context): context.caller_stack._pop_frame() +def render_html_title(context): + __M_caller = context.caller_stack._push_frame() + try: + title = context.get('title', UNDEFINED) + post = context.get('post', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if title and not post.meta('hidetitle'): + __M_writer('

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

    \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_translations(context,post): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) lang = context.get('lang', UNDEFINED) + translations = context.get('translations', UNDEFINED) + len = context.get('len', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if len(post.translated_to) > 1: @@ -141,19 +140,20 @@ def render_html_translations(context,post): context.caller_stack._pop_frame() -def render_html_title(context): +def render_html_sourcelink(context): __M_caller = context.caller_stack._push_frame() try: - title = context.get('title', UNDEFINED) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) + messages = context.get('messages', UNDEFINED) post = context.get('post', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - if title and not post.meta('hidetitle'): - __M_writer('

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

    \n') + if show_sourcelink: + __M_writer('

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

    \n') return '' finally: context.caller_stack._pop_frame() @@ -161,6 +161,6 @@ def render_html_title(context): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"128": 14, "129": 15, "130": 16, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 17, "138": 20, "144": 5, "22": 2, "151": 6, "152": 7, "25": 3, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 30, "162": 156, "78": 30, "79": 32, "80": 32, "81": 34, "82": 34, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "91": 36, "92": 37, "93": 37, "94": 37, "95": 39, "96": 39, "97": 39, "98": 40, "99": 41, "100": 41, "101": 41, "102": 41, "103": 41, "104": 43, "105": 44, "106": 44, "107": 44, "108": 46, "109": 47, "110": 47, "116": 11, "153": 7, "124": 11, "125": 12, "126": 13, "127": 14}, "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"} +{"line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "143": 24, "22": 2, "151": 25, "152": 26, "25": 3, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 30, "162": 156, "59": 30, "60": 32, "61": 32, "62": 34, "63": 34, "64": 35, "65": 35, "66": 35, "67": 35, "68": 35, "69": 35, "70": 35, "71": 35, "72": 36, "73": 37, "74": 37, "75": 37, "76": 39, "77": 39, "78": 39, "79": 40, "80": 41, "81": 41, "82": 41, "83": 41, "84": 41, "85": 43, "86": 44, "87": 44, "88": 44, "89": 46, "90": 47, "91": 47, "97": 5, "103": 5, "104": 6, "105": 7, "106": 7, "107": 7, "108": 7, "109": 7, "115": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8", "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 40b34526..f0a121d4 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 = 1434096007.9683206 +_modified_time = 1434099608.156749 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl' _template_uri = 'post_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_pager', 'meta_translations', 'html_tags', 'mathjax_script', 'open_graph_metadata', 'twitter_card_information'] +_exports = ['html_tags', 'html_pager', 'open_graph_metadata', 'meta_translations', 'twitter_card_information', 'mathjax_script'] def render_body(context,**pageargs): @@ -29,6 +29,28 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_html_tags(context,post): + __M_caller = context.caller_stack._push_frame() + try: + hidden_tags = context.get('hidden_tags', UNDEFINED) + _link = context.get('_link', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if post.tags: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_pager(context,post): __M_caller = context.caller_stack._push_frame() try: @@ -59,71 +81,16 @@ def render_html_pager(context,post): context.caller_stack._pop_frame() -def render_meta_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(translations) > 1: - for langname in translations.keys(): - if langname != lang and post.is_translation_available(langname): - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_tags(context,post): - __M_caller = context.caller_stack._push_frame() - try: - hidden_tags = context.get('hidden_tags', UNDEFINED) - _link = context.get('_link', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if post.tags: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_mathjax_script(context,post): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - if post.is_mathjax: - __M_writer(' \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_open_graph_metadata(context,post): __M_caller = context.caller_stack._push_frame() try: - permalink = context.get('permalink', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - lang = context.get('lang', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + lang = context.get('lang', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_open_graph: @@ -161,6 +128,27 @@ def render_open_graph_metadata(context,post): context.caller_stack._pop_frame() +def render_meta_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + lang = context.get('lang', UNDEFINED) + translations = context.get('translations', UNDEFINED) + len = context.get('len', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(translations) > 1: + for langname in translations.keys(): + if langname != lang and post.is_translation_available(langname): + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_twitter_card_information(context,post): __M_caller = context.caller_stack._push_frame() try: @@ -192,8 +180,20 @@ def render_twitter_card_information(context,post): context.caller_stack._pop_frame() +def render_mathjax_script(context,post): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + if post.is_mathjax: + __M_writer(' \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 3, "69": 3, "70": 4, "71": 5, "72": 6, "73": 7, "74": 7, "75": 7, "76": 7, "77": 7, "83": 13, "89": 13, "90": 14, "91": 15, "92": 16, "93": 17, "94": 18, "95": 18, "96": 18, "97": 18, "98": 18, "99": 21, "105": 87, "109": 87, "110": 88, "111": 89, "117": 42, "128": 42, "129": 43, "130": 44, "131": 44, "132": 44, "133": 45, "134": 45, "135": 46, "136": 46, "137": 47, "138": 48, "139": 48, "140": 48, "141": 49, "142": 50, "143": 50, "144": 50, "145": 52, "146": 53, "147": 53, "148": 53, "149": 55, "150": 60, "151": 61, "152": 61, "153": 61, "154": 63, "155": 64, "156": 65, "157": 65, "158": 65, "164": 71, "169": 71, "170": 72, "171": 73, "172": 73, "173": 73, "174": 74, "175": 75, "176": 75, "177": 75, "178": 76, "179": 77, "180": 77, "181": 77, "182": 79, "183": 80, "184": 80, "185": 80, "186": 81, "187": 82, "188": 82, "189": 82, "195": 189}, "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"} +{"line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 13, "38": 13, "39": 14, "40": 15, "41": 16, "42": 17, "43": 18, "44": 18, "45": 18, "46": 18, "47": 18, "48": 21, "54": 25, "59": 25, "60": 26, "61": 27, "62": 28, "63": 29, "64": 30, "65": 30, "66": 30, "67": 30, "68": 30, "69": 30, "70": 33, "71": 34, "72": 35, "73": 35, "74": 35, "75": 35, "76": 35, "77": 35, "78": 38, "84": 42, "95": 42, "96": 43, "97": 44, "98": 44, "99": 44, "100": 45, "101": 45, "102": 46, "103": 46, "104": 47, "105": 48, "106": 48, "107": 48, "108": 49, "109": 50, "110": 50, "111": 50, "112": 52, "113": 53, "114": 53, "115": 53, "116": 55, "117": 60, "118": 61, "119": 61, "120": 61, "121": 63, "122": 64, "123": 65, "124": 65, "125": 65, "131": 3, "138": 3, "139": 4, "140": 5, "141": 6, "142": 7, "143": 7, "144": 7, "145": 7, "146": 7, "152": 71, "157": 71, "158": 72, "159": 73, "160": 73, "161": 73, "162": 74, "163": 75, "164": 75, "165": 75, "166": 76, "167": 77, "168": 77, "169": 77, "170": 79, "171": 80, "172": 80, "173": 80, "174": 81, "175": 82, "176": 82, "177": 82, "183": 87, "187": 87, "188": 88, "189": 89, "195": 189}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "source_encoding": "utf-8", "uri": "post_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py index 8c7c8057..5ef47a44 100644 --- a/cache/.mako.tmp/story.tmpl.py +++ b/cache/.mako.tmp/story.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096008.024417 +_modified_time = 1434099608.2131305 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl' _template_uri = 'story.tmpl' @@ -22,12 +22,12 @@ def _mako_generate_namespaces(context): ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'helper')] = ns - ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'pheader')] = ns - ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'comments')] = ns + ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'pheader')] = ns + def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'post.tmpl', _template_uri) @@ -35,15 +35,15 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - enable_comments = context.get('enable_comments', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') + site_has_comments = context.get('site_has_comments', UNDEFINED) messages = context.get('messages', UNDEFINED) - post = context.get('post', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') - pheader = _mako_get_namespace(context, 'pheader') def content(): return render_content(context._locals(__M_locals)) - site_has_comments = context.get('site_has_comments', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + post = context.get('post', UNDEFINED) + enable_comments = context.get('enable_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -62,15 +62,15 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - enable_comments = context.get('enable_comments', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') + site_has_comments = context.get('site_has_comments', UNDEFINED) messages = context.get('messages', UNDEFINED) - post = context.get('post', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') - pheader = _mako_get_namespace(context, 'pheader') def content(): return render_content(context) - site_has_comments = context.get('site_has_comments', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + post = context.get('post', UNDEFINED) + enable_comments = context.get('enable_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n ') __M_writer(str(pheader.html_title())) @@ -95,6 +95,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 3, "90": 22, "28": 4, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "uri": "story.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl"} +{"line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 4, "90": 22, "28": 3, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "source_encoding": "utf-8", "uri": "story.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/tag.tmpl.py b/cache/.mako.tmp/tag.tmpl.py index a07de503..230cafab 100644 --- a/cache/.mako.tmp/tag.tmpl.py +++ b/cache/.mako.tmp/tag.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434096008.0773354 +_modified_time = 1434099608.266137 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl' _template_uri = 'tag.tmpl' @@ -27,23 +27,23 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) + _link = context.get('_link', UNDEFINED) + messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) + translations = context.get('translations', UNDEFINED) + len = context.get('len', UNDEFINED) + def content(): + return render_content(context._locals(__M_locals)) + subcategories = context.get('subcategories', UNDEFINED) + tag = context.get('tag', UNDEFINED) + kind = context.get('kind', UNDEFINED) + description = context.get('description', UNDEFINED) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) parent = context.get('parent', UNDEFINED) generate_rss = context.get('generate_rss', UNDEFINED) def extra_head(): return render_extra_head(context._locals(__M_locals)) - date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', UNDEFINED) - title = context.get('title', UNDEFINED) - subcategories = context.get('subcategories', UNDEFINED) - tag = context.get('tag', UNDEFINED) - _link = context.get('_link', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) - description = context.get('description', UNDEFINED) - posts = context.get('posts', UNDEFINED) - def content(): - return render_content(context._locals(__M_locals)) - kind = context.get('kind', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'): @@ -64,20 +64,20 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - generate_rss = context.get('generate_rss', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) messages = context.get('messages', UNDEFINED) title = context.get('title', UNDEFINED) - subcategories = context.get('subcategories', UNDEFINED) - tag = context.get('tag', UNDEFINED) - _link = context.get('_link', UNDEFINED) - len = context.get('len', UNDEFINED) translations = context.get('translations', UNDEFINED) - description = context.get('description', UNDEFINED) - posts = context.get('posts', UNDEFINED) def content(): return render_content(context) + len = context.get('len', UNDEFINED) + subcategories = context.get('subcategories', UNDEFINED) + tag = context.get('tag', UNDEFINED) kind = context.get('kind', UNDEFINED) + description = context.get('description', UNDEFINED) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) + _link = context.get('_link', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

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

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