diff --git a/.doit.db b/.doit.db index 3fb05516..5381b347 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 7d76b115..ac70294c 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 4287c67d..a4805827 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 e0ff6bb2..88cbab4f 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 c8f80549..ddad4239 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 2371d7a1..b50b7768 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 dccc4922..9b9881e7 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 439c3569..63fde6f9 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 fa80d359..5153af86 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 157857b4..5c204904 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 a566d97a..d4463015 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 a226441d..dc7bfe31 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 d8d681a3..f877f2c6 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 d4c1a859..66114ea1 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 502ee223..1f4b35a2 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 89232b00..3f71f930 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 aa8ddb30..0707787d 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 50c2b625..531ae8d9 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 4000d744..dc94e003 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 a2c6816d..c87b2c09 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 c480d8fa..b0450269 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 ef7b20e6..49edddde 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 150f1c00..6975e88c 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 dcdec089..b1fe7130 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 69a0adb2..37b6489a 100644 --- a/cache/.mako.tmp/annotation_helper.tmpl.py +++ b/cache/.mako.tmp/annotation_helper.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.6397512 +_modified_time = 1433977207.38916 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl' _template_uri = 'annotation_helper.tmpl' @@ -46,6 +46,6 @@ def render_css(context): """ __M_BEGIN_METADATA -{"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"} +{"uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "source_encoding": "ascii"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index f949e395..80f0137d 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 = 1433973607.5654628 +_modified_time = 1433977207.3156745 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_head', 'extra_js', 'content', 'belowtitle', 'sourcelink'] +_exports = ['sourcelink', 'content', 'extra_js', 'belowtitle', 'extra_head'] def _mako_get_namespace(context, name): @@ -33,36 +33,36 @@ def render_body(context,**pageargs): _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) - base = _mako_get_namespace(context, 'base') - show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - def extra_js(): - return render_extra_js(context._locals(__M_locals)) - blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) - template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) - body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) - content_footer = _import_ns.get('content_footer', context.get('content_footer', 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)) + search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) + base = _mako_get_namespace(context, 'base') len = _import_ns.get('len', context.get('len', UNDEFINED)) lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) - notes = _mako_get_namespace(context, 'notes') - momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) - def content(): - return render_content(context._locals(__M_locals)) + annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + post = _import_ns.get('post', context.get('post', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) + def extra_js(): + return render_extra_js(context._locals(__M_locals)) + template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + def content(): + return render_content(context._locals(__M_locals)) + content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) + momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) + set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) + abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) + notes = _mako_get_namespace(context, 'notes') + body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) + js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) + show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -158,29 +158,14 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_extra_head(context,**pageargs): +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 extra_head(): - return render_extra_head(context) - __M_writer = context.writer() - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_extra_js(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def extra_js(): - return render_extra_js(context) + def sourcelink(): + return render_sourcelink(context) __M_writer = context.writer() return '' finally: @@ -201,17 +186,31 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() +def render_extra_js(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def extra_js(): + return render_extra_js(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + def render_belowtitle(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - len = _import_ns.get('len', context.get('len', UNDEFINED)) base = _mako_get_namespace(context, 'base') + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) def belowtitle(): return render_belowtitle(context) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') if len(translations) > 1: @@ -224,15 +223,16 @@ def render_belowtitle(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): +def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def sourcelink(): - return render_sourcelink(context) + def extra_head(): + return render_extra_head(context) __M_writer = context.writer() + __M_writer('\n') return '' finally: context.caller_stack._pop_frame() @@ -240,6 +240,6 @@ def render_sourcelink(context,**pageargs): """ __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, "216": 45, "190": 66, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "218": 47, "150": 89, "161": 6, "219": 47, "227": 51, "220": 47, "170": 6, "221": 49, "176": 85, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 45, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 46, "126": 66, "127": 71}, "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl"} +{"uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "215": 45, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "218": 47, "150": 89, "161": 51, "219": 47, "220": 49, "226": 6, "175": 66, "216": 46, "189": 85, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "203": 45, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 47, "126": 66, "127": 71}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py index 55c35214..78d01225 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 = 1433973607.6066618 +_modified_time = 1433977207.356259 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_feedlinks', 'late_load_js', 'html_navigation_links', 'html_headstart', 'html_translations', 'html_stylesheets'] +_exports = ['html_translations', 'html_feedlinks', 'late_load_js', 'html_stylesheets', 'html_navigation_links', 'html_headstart'] def render_body(context,**pageargs): @@ -29,14 +29,37 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_html_translations(context): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + lang = context.get('lang', UNDEFINED) + translations = context.get('translations', 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() + + def render_html_feedlinks(context): __M_caller = context.caller_stack._push_frame() try: - generate_rss = context.get('generate_rss', UNDEFINED) - _link = context.get('_link', UNDEFINED) rss_link = context.get('rss_link', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) translations = context.get('translations', UNDEFINED) len = context.get('len', UNDEFINED) + _link = context.get('_link', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if rss_link: @@ -63,11 +86,11 @@ def render_html_feedlinks(context): def render_late_load_js(context): __M_caller = context.caller_stack._push_frame() try: - use_bundles = context.get('use_bundles', UNDEFINED) + lang = context.get('lang', UNDEFINED) colorbox_locales = context.get('colorbox_locales', UNDEFINED) + use_bundles = context.get('use_bundles', UNDEFINED) social_buttons_code = context.get('social_buttons_code', UNDEFINED) use_cdn = context.get('use_cdn', UNDEFINED) - lang = context.get('lang', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_bundles: @@ -93,15 +116,52 @@ def render_late_load_js(context): context.caller_stack._pop_frame() +def render_html_stylesheets(context): + __M_caller = context.caller_stack._push_frame() + try: + notes = context.get('notes', UNDEFINED) + annotations = context.get('annotations', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) + has_custom_css = context.get('has_custom_css', UNDEFINED) + post = context.get('post', UNDEFINED) + use_bundles = context.get('use_bundles', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if use_bundles: + if use_cdn: + __M_writer(' \n \n') + else: + __M_writer(' \n') + else: + if use_cdn: + __M_writer(' \n') + else: + __M_writer(' \n') + __M_writer(' \n \n \n \n') + if has_custom_css: + __M_writer(' \n') + if annotations and post and not post.meta('noannotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + elif not annotations and post and post.meta('annotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_navigation_links(context): __M_caller = context.caller_stack._push_frame() try: - rel_link = context.get('rel_link', UNDEFINED) - navigation_links = context.get('navigation_links', UNDEFINED) tuple = context.get('tuple', UNDEFINED) - isinstance = context.get('isinstance', UNDEFINED) permalink = context.get('permalink', UNDEFINED) + isinstance = context.get('isinstance', UNDEFINED) + navigation_links = context.get('navigation_links', UNDEFINED) lang = context.get('lang', UNDEFINED) + rel_link = context.get('rel_link', UNDEFINED) __M_writer = context.writer() __M_writer('\n') for url, text in navigation_links[lang]: @@ -144,29 +204,29 @@ def render_html_navigation_links(context): def render_html_headstart(context): __M_caller = context.caller_stack._push_frame() try: - def html_stylesheets(): - return render_html_stylesheets(context) - twitter_card = context.get('twitter_card', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) comment_system_id = context.get('comment_system_id', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) - extra_head_data = context.get('extra_head_data', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) def html_feedlinks(): return render_html_feedlinks(context) - striphtml = context.get('striphtml', UNDEFINED) - nextlink = context.get('nextlink', UNDEFINED) - lang = context.get('lang', UNDEFINED) - favicons = context.get('favicons', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - prevlink = context.get('prevlink', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) permalink = context.get('permalink', UNDEFINED) - title = context.get('title', UNDEFINED) - is_rtl = context.get('is_rtl', UNDEFINED) + twitter_card = context.get('twitter_card', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) + extra_head_data = context.get('extra_head_data', UNDEFINED) + lang = context.get('lang', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + prevlink = context.get('prevlink', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + def html_stylesheets(): + return render_html_stylesheets(context) + favicons = context.get('favicons', UNDEFINED) comment_system = context.get('comment_system', UNDEFINED) + nextlink = context.get('nextlink', UNDEFINED) + mathjax_config = context.get('mathjax_config', UNDEFINED) description = context.get('description', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) + title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') - __M_writer(str(messages("LANGUAGE", langname))) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_stylesheets(context): - __M_caller = context.caller_stack._push_frame() - try: - use_bundles = context.get('use_bundles', UNDEFINED) - notes = context.get('notes', UNDEFINED) - has_custom_css = context.get('has_custom_css', UNDEFINED) - annotations = context.get('annotations', UNDEFINED) - post = context.get('post', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if use_bundles: - if use_cdn: - __M_writer(' \n \n') - else: - __M_writer(' \n') - else: - if use_cdn: - __M_writer(' \n') - else: - __M_writer(' \n') - __M_writer(' \n \n \n \n') - if has_custom_css: - __M_writer(' \n') - if annotations and post and not post.meta('noannotations'): - __M_writer(' ') - __M_writer(str(notes.css())) - __M_writer('\n') - elif not annotations and post and post.meta('annotations'): - __M_writer(' ') - __M_writer(str(notes.css())) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "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": 161, "252": 161, "253": 162, "254": 163, "255": 164, "256": 164, "257": 164, "258": 164, "259": 164, "260": 164, "261": 164, "267": 95, "277": 95, "278": 96, "279": 97, "280": 98, "281": 100, "282": 101, "283": 103, "284": 104, "285": 105, "286": 106, "287": 107, "288": 109, "289": 113, "290": 114, "291": 117, "292": 118, "293": 118, "294": 118, "295": 119, "296": 120, "297": 120, "298": 120, "304": 298}, "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl"} +{"uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 147, "64": 147, "65": 148, "66": 149, "67": 149, "68": 149, "69": 150, "70": 151, "71": 152, "72": 153, "73": 153, "74": 153, "75": 153, "76": 153, "77": 155, "78": 156, "79": 156, "80": 156, "86": 67, "95": 67, "96": 68, "97": 69, "98": 70, "99": 73, "100": 74, "101": 76, "102": 77, "103": 78, "104": 80, "105": 81, "106": 86, "107": 88, "108": 89, "109": 89, "110": 89, "111": 91, "112": 91, "113": 91, "119": 95, "129": 95, "130": 96, "131": 97, "132": 98, "133": 100, "134": 101, "135": 103, "136": 104, "137": 105, "138": 106, "139": 107, "140": 109, "141": 113, "142": 114, "143": 117, "144": 118, "145": 118, "146": 118, "147": 119, "148": 120, "149": 120, "150": 120, "156": 124, "166": 124, "167": 125, "168": 126, "169": 127, "170": 127, "171": 127, "172": 129, "173": 130, "174": 131, "175": 131, "176": 131, "177": 131, "178": 131, "179": 132, "180": 133, "181": 133, "182": 133, "183": 133, "184": 133, "185": 136, "186": 137, "187": 138, "188": 139, "189": 139, "190": 139, "191": 139, "192": 139, "193": 140, "194": 141, "195": 141, "196": 141, "197": 141, "198": 141, "204": 3, "231": 3, "232": 7, "233": 8, "234": 9, "235": 10, "236": 12, "237": 13, "238": 15, "239": 16, "240": 18, "241": 21, "242": 22, "243": 25, "244": 25, "245": 25, "246": 28, "247": 29, "248": 29, "249": 29, "250": 31, "251": 32, "252": 32, "253": 32, "254": 32, "255": 34, "256": 34, "257": 35, "258": 35, "259": 36, "260": 37, "261": 37, "262": 37, "263": 39, "264": 40, "265": 41, "266": 42, "267": 42, "268": 42, "269": 42, "270": 42, "271": 42, "272": 42, "273": 45, "274": 46, "275": 47, "276": 47, "277": 47, "278": 49, "279": 50, "280": 51, "281": 51, "282": 51, "283": 53, "284": 54, "285": 54, "286": 54, "287": 56, "288": 57, "289": 57, "290": 58, "291": 59, "292": 60, "293": 61, "294": 61, "295": 61, "296": 63, "297": 64, "298": 64, "304": 298}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper.tmpl.py b/cache/.mako.tmp/comments_helper.tmpl.py index f4599e77..16602b4f 100644 --- a/cache/.mako.tmp/comments_helper.tmpl.py +++ b/cache/.mako.tmp/comments_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.4801767 +_modified_time = 1433977207.2309415 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl' _template_uri = 'comments_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] def _mako_get_namespace(context, name): @@ -19,24 +19,24 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'disqus')] = ns - - ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'intensedebate')] = ns - - ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'googleplus')] = ns + ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'muut')] = ns ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'facebook')] = ns - ns = runtime.TemplateNamespace('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('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'disqus')] = ns + + ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'googleplus')] = ns + + ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'intensedebate')] = ns + ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'livefyre')] = ns @@ -61,109 +61,17 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - googleplus = _mako_get_namespace(context, 'googleplus') - facebook = _mako_get_namespace(context, 'facebook') - muut = _mako_get_namespace(context, 'muut') - isso = _mako_get_namespace(context, 'isso') - livefyre = _mako_get_namespace(context, 'livefyre') - disqus = _mako_get_namespace(context, 'disqus') - intensedebate = _mako_get_namespace(context, 'intensedebate') - comment_system = context.get('comment_system', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system == 'disqus': - __M_writer(' ') - __M_writer(str(disqus.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'livefyre': - __M_writer(' ') - __M_writer(str(livefyre.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'intensedebate': - __M_writer(' ') - __M_writer(str(intensedebate.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'muut': - __M_writer(' ') - __M_writer(str(muut.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'googleplus': - __M_writer(' ') - __M_writer(str(googleplus.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'facebook': - __M_writer(' ') - __M_writer(str(facebook.comment_link(link, identifier))) - __M_writer('\n') - elif comment_system == 'isso': - __M_writer(' ') - __M_writer(str(isso.comment_link(link, identifier))) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - googleplus = _mako_get_namespace(context, 'googleplus') - facebook = _mako_get_namespace(context, 'facebook') - muut = _mako_get_namespace(context, 'muut') - isso = _mako_get_namespace(context, 'isso') - livefyre = _mako_get_namespace(context, 'livefyre') - disqus = _mako_get_namespace(context, 'disqus') - intensedebate = _mako_get_namespace(context, 'intensedebate') - comment_system = context.get('comment_system', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system == 'disqus': - __M_writer(' ') - __M_writer(str(disqus.comment_link_script())) - __M_writer('\n') - elif comment_system == 'livefyre': - __M_writer(' ') - __M_writer(str(livefyre.comment_link_script())) - __M_writer('\n') - elif comment_system == 'intensedebate': - __M_writer(' ') - __M_writer(str(intensedebate.comment_link_script())) - __M_writer('\n') - elif comment_system == 'muut': - __M_writer(' ') - __M_writer(str(muut.comment_link_script())) - __M_writer('\n') - elif comment_system == 'googleplus': - __M_writer(' ') - __M_writer(str(googleplus.comment_link_script())) - __M_writer('\n') - elif comment_system == 'facebook': - __M_writer(' ') - __M_writer(str(facebook.comment_link_script())) - __M_writer('\n') - elif comment_system == 'isso': - __M_writer(' ') - __M_writer(str(isso.comment_link_script())) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: - googleplus = _mako_get_namespace(context, 'googleplus') - facebook = _mako_get_namespace(context, 'facebook') muut = _mako_get_namespace(context, 'muut') - isso = _mako_get_namespace(context, 'isso') - livefyre = _mako_get_namespace(context, 'livefyre') - disqus = _mako_get_namespace(context, 'disqus') - intensedebate = _mako_get_namespace(context, 'intensedebate') comment_system = context.get('comment_system', UNDEFINED) + googleplus = _mako_get_namespace(context, 'googleplus') + isso = _mako_get_namespace(context, 'isso') + disqus = _mako_get_namespace(context, 'disqus') + facebook = _mako_get_namespace(context, 'facebook') + livefyre = _mako_get_namespace(context, 'livefyre') + intensedebate = _mako_get_namespace(context, 'intensedebate') __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -199,8 +107,100 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + muut = _mako_get_namespace(context, 'muut') + comment_system = context.get('comment_system', UNDEFINED) + googleplus = _mako_get_namespace(context, 'googleplus') + isso = _mako_get_namespace(context, 'isso') + disqus = _mako_get_namespace(context, 'disqus') + facebook = _mako_get_namespace(context, 'facebook') + livefyre = _mako_get_namespace(context, 'livefyre') + intensedebate = _mako_get_namespace(context, 'intensedebate') + __M_writer = context.writer() + __M_writer('\n') + if comment_system == 'disqus': + __M_writer(' ') + __M_writer(str(disqus.comment_link_script())) + __M_writer('\n') + elif comment_system == 'livefyre': + __M_writer(' ') + __M_writer(str(livefyre.comment_link_script())) + __M_writer('\n') + elif comment_system == 'intensedebate': + __M_writer(' ') + __M_writer(str(intensedebate.comment_link_script())) + __M_writer('\n') + elif comment_system == 'muut': + __M_writer(' ') + __M_writer(str(muut.comment_link_script())) + __M_writer('\n') + elif comment_system == 'googleplus': + __M_writer(' ') + __M_writer(str(googleplus.comment_link_script())) + __M_writer('\n') + elif comment_system == 'facebook': + __M_writer(' ') + __M_writer(str(facebook.comment_link_script())) + __M_writer('\n') + elif comment_system == 'isso': + __M_writer(' ') + __M_writer(str(isso.comment_link_script())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + muut = _mako_get_namespace(context, 'muut') + comment_system = context.get('comment_system', UNDEFINED) + googleplus = _mako_get_namespace(context, 'googleplus') + isso = _mako_get_namespace(context, 'isso') + disqus = _mako_get_namespace(context, 'disqus') + facebook = _mako_get_namespace(context, 'facebook') + livefyre = _mako_get_namespace(context, 'livefyre') + intensedebate = _mako_get_namespace(context, 'intensedebate') + __M_writer = context.writer() + __M_writer('\n') + if comment_system == 'disqus': + __M_writer(' ') + __M_writer(str(disqus.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'livefyre': + __M_writer(' ') + __M_writer(str(livefyre.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'intensedebate': + __M_writer(' ') + __M_writer(str(intensedebate.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'muut': + __M_writer(' ') + __M_writer(str(muut.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'googleplus': + __M_writer(' ') + __M_writer(str(googleplus.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'facebook': + __M_writer(' ') + __M_writer(str(facebook.comment_link(link, identifier))) + __M_writer('\n') + elif comment_system == 'isso': + __M_writer(' ') + __M_writer(str(isso.comment_link(link, identifier))) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"22": 3, "25": 5, "28": 7, "31": 8, "34": 6, "37": 9, "40": 4, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 29, "76": 29, "77": 30, "78": 31, "79": 31, "80": 31, "81": 32, "82": 33, "83": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 36, "90": 37, "91": 37, "92": 37, "93": 38, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 42, "102": 43, "103": 43, "104": 43, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"} +{"uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 6, "25": 8, "28": 9, "31": 3, "34": 7, "37": 5, "40": 4, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_disqus.tmpl.py b/cache/.mako.tmp/comments_helper_disqus.tmpl.py index f87d853a..9c475ac4 100644 --- a/cache/.mako.tmp/comments_helper_disqus.tmpl.py +++ b/cache/.mako.tmp/comments_helper_disqus.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.5048232 +_modified_time = 1433977207.2554495 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl' _template_uri = 'comments_helper_disqus.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] import json @@ -29,38 +29,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system_id: - __M_writer(' Comments\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system_id: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -93,8 +61,40 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if comment_system_id: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if comment_system_id: + __M_writer(' Comments\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 33, "37": 33, "38": 34, "39": 35, "40": 35, "41": 35, "42": 35, "43": 35, "49": 40, "54": 40, "55": 41, "56": 42, "57": 42, "58": 42, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"} +{"uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 40, "69": 40, "70": 41, "71": 42, "72": 42, "73": 42, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_facebook.tmpl.py b/cache/.mako.tmp/comments_helper_facebook.tmpl.py index 46e04d11..0de5f6f2 100644 --- a/cache/.mako.tmp/comments_helper_facebook.tmpl.py +++ b/cache/.mako.tmp/comments_helper_facebook.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.5418596 +_modified_time = 1433977207.2924345 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl' _template_uri = 'comments_helper_facebook.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] def render_body(context,**pageargs): @@ -25,31 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n
    \n\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -65,8 +40,33 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n
    \n\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"32": 28, "33": 29, "34": 29, "59": 8, "68": 62, "40": 32, "60": 8, "45": 32, "46": 46, "15": 0, "20": 26, "21": 30, "22": 62, "58": 2, "47": 46, "28": 28, "61": 25, "62": 25, "53": 2}, "uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"} +{"uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 28, "43": 32, "15": 0, "48": 32, "49": 46, "50": 46, "20": 26, "21": 30, "22": 62, "56": 28, "68": 62, "28": 2, "61": 29, "62": 29}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py index eadf7d82..10487262 100644 --- a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py +++ b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.535992 +_modified_time = 1433977207.2865725 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl' _template_uri = 'comments_helper_googleplus.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] def render_body(context,**pageargs): @@ -25,28 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n
    \n\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -59,8 +37,30 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n
    \n\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"32": 11, "33": 12, "34": 12, "54": 2, "40": 16, "44": 16, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 11, "62": 56}, "uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"} +{"uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "line_map": {"32": 2, "33": 5, "34": 5, "54": 11, "40": 16, "44": 16, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 2, "62": 56}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py index 5f27cd06..b1b9aa2a 100644 --- a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py +++ b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.522674 +_modified_time = 1433977207.2732468 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl' _template_uri = 'comments_helper_intensedebate.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] def render_body(context,**pageargs): @@ -25,6 +25,33 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer("\n\n\n\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -46,35 +73,8 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer("\n\n\n\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"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": 13, "33": 13, "34": 14, "35": 14, "36": 14, "37": 14, "38": 16, "39": 16, "40": 17, "41": 17, "42": 18, "43": 18, "49": 24, "53": 24, "59": 2}, "uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"} +{"uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "line_map": {"64": 14, "65": 16, "66": 16, "67": 17, "68": 17, "69": 18, "70": 18, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 24, "49": 24, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_isso.tmpl.py b/cache/.mako.tmp/comments_helper_isso.tmpl.py index 682bef80..55faf8dd 100644 --- a/cache/.mako.tmp/comments_helper_isso.tmpl.py +++ b/cache/.mako.tmp/comments_helper_isso.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.5497932 +_modified_time = 1433977207.300327 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl' _template_uri = 'comments_helper_isso.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] def render_body(context,**pageargs): @@ -25,38 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system_id: - __M_writer(' Comments\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if comment_system_id: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -76,8 +44,40 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if comment_system_id: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if comment_system_id: + __M_writer(' Comments\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __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": 9, "33": 9, "34": 10, "35": 11, "36": 11, "37": 11, "43": 16, "48": 16, "49": 17, "50": 18, "51": 18, "52": 18, "53": 18, "54": 18, "60": 2}, "uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"} +{"uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "line_map": {"64": 9, "69": 9, "70": 10, "71": 11, "72": 11, "73": 11, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 16, "52": 16, "53": 17, "54": 18, "55": 18, "56": 18, "57": 18, "58": 18}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py index a24ebfb3..f424a135 100644 --- a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py +++ b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.5149698 +_modified_time = 1433977207.2655675 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl' _template_uri = 'comments_helper_livefyre.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] def render_body(context,**pageargs): @@ -25,6 +25,31 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + comment_system_id = context.get('comment_system_id', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n
    \n\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -42,33 +67,8 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - comment_system_id = context.get('comment_system_id', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n
    \n\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"64": 11, "33": 23, "34": 24, "35": 24, "36": 25, "37": 25, "38": 25, "39": 25, "60": 2, "70": 64, "45": 31, "15": 0, "49": 31, "20": 21, "21": 28, "22": 33, "55": 2, "28": 23, "61": 7, "62": 7, "63": 11}, "uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"} +{"uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "line_map": {"64": 25, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 24, "43": 31, "63": 25, "15": 0, "59": 24, "20": 21, "21": 28, "22": 33, "58": 23, "47": 31, "28": 2, "61": 25, "62": 25, "53": 23}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_muut.tmpl.py b/cache/.mako.tmp/comments_helper_muut.tmpl.py index ef655d0e..5ba721bf 100644 --- a/cache/.mako.tmp/comments_helper_muut.tmpl.py +++ b/cache/.mako.tmp/comments_helper_muut.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.5302882 +_modified_time = 1433977207.2808666 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl' _template_uri = 'comments_helper_muut.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link', 'comment_link_script', 'comment_form'] +_exports = ['comment_form', 'comment_link_script', 'comment_link'] def render_body(context,**pageargs): @@ -26,26 +26,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -63,8 +43,28 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link(context,link,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"33": 7, "66": 60, "54": 3, "39": 11, "57": 4, "43": 11, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 7}, "uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"} +{"uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 11, "15": 0, "50": 11, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "60": 7, "29": 3}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/crumbs.tmpl.py b/cache/.mako.tmp/crumbs.tmpl.py index 4815b08e..596b5eae 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 = 1433973607.677961 +_modified_time = 1433977207.4275453 _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"} +{"uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py index 927d6bc7..168ce845 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 = 1433973607.4440563 +_modified_time = 1433977207.1950305 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl' _template_uri = 'index.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_head', 'content_header', 'content'] +_exports = ['content', 'content_header', 'extra_head'] def _mako_get_namespace(context, name): @@ -19,12 +19,12 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'comments')] = ns - ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='index_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'helper')] = ns + ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'comments')] = ns + def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'base.tmpl', _template_uri) @@ -32,21 +32,21 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - posts = context.get('posts', UNDEFINED) + index_teasers = context.get('index_teasers', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) comments = _mako_get_namespace(context, 'comments') index_file = context.get('index_file', UNDEFINED) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - permalink = context.get('permalink', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) parent = context.get('parent', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') def content(): return render_content(context._locals(__M_locals)) def content_header(): return render_content_header(context._locals(__M_locals)) - site_has_comments = context.get('site_has_comments', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') - index_teasers = context.get('index_teasers', UNDEFINED) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -66,51 +66,18 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_extra_head(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - def extra_head(): - return render_extra_head(context) - index_file = context.get('index_file', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - parent = context.get('parent', UNDEFINED) - posts = context.get('posts', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n ') - __M_writer(str(parent.extra_head())) - __M_writer('\n') - if posts and (permalink == '/' or permalink == '/' + index_file): - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_content_header(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - def content_header(): - return render_content_header(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - posts = context.get('posts', UNDEFINED) comments = _mako_get_namespace(context, 'comments') + site_has_comments = context.get('site_has_comments', UNDEFINED) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') def content(): return render_content(context) def content_header(): return render_content_header(context) - site_has_comments = context.get('site_has_comments', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - helper = _mako_get_namespace(context, 'helper') index_teasers = context.get('index_teasers', UNDEFINED) __M_writer = context.writer() __M_writer('\n') @@ -163,8 +130,41 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() +def render_content_header(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + def content_header(): + return render_content_header(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + +def render_extra_head(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + parent = context.get('parent', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + index_file = context.get('index_file', UNDEFINED) + posts = context.get('posts', UNDEFINED) + def extra_head(): + return render_extra_head(context) + __M_writer = context.writer() + __M_writer('\n ') + __M_writer(str(parent.extra_head())) + __M_writer('\n') + if posts and (permalink == '/' or permalink == '/' + index_file): + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"128": 19, "129": 19, "130": 21, "131": 21, "132": 22, "133": 22, "134": 22, "135": 22, "136": 22, "137": 22, "138": 22, "139": 22, "140": 23, "141": 24, "142": 24, "143": 24, "144": 26, "145": 28, "146": 29, "147": 30, "148": 30, "149": 31, "22": 3, "151": 33, "152": 33, "25": 2, "154": 38, "155": 39, "156": 39, "157": 40, "150": 32, "31": 0, "160": 41, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 41, "63": 42, "69": 6, "158": 40, "79": 6, "80": 7, "81": 7, "82": 8, "83": 9, "84": 9, "85": 9, "91": 14, "102": 13, "116": 13, "153": 35, "121": 14, "122": 16, "123": 17, "124": 17, "125": 17, "126": 19, "127": 19}, "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"} +{"uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "line_map": {"133": 14, "144": 6, "22": 2, "25": 3, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index_helper.tmpl.py b/cache/.mako.tmp/index_helper.tmpl.py index 2358dda8..866b54a5 100644 --- a/cache/.mako.tmp/index_helper.tmpl.py +++ b/cache/.mako.tmp/index_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433973607.462776 +_modified_time = 1433977207.2136624 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl' _template_uri = 'index_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_pager', 'mathjax_script'] +_exports = ['mathjax_script', 'html_pager'] def render_body(context,**pageargs): @@ -24,12 +24,25 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_mathjax_script(context,posts): + __M_caller = context.caller_stack._push_frame() + try: + any = context.get('any', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if any(post.is_mathjax for post in posts): + __M_writer(' \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_pager(context): __M_caller = context.caller_stack._push_frame() try: - nextlink = context.get('nextlink', UNDEFINED) - prevlink = context.get('prevlink', 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: @@ -52,21 +65,8 @@ def render_html_pager(context): context.caller_stack._pop_frame() -def render_mathjax_script(context,posts): - __M_caller = context.caller_stack._push_frame() - try: - any = context.get('any', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if any(post.is_mathjax for post in posts): - __M_writer(' \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 2, "34": 2, "35": 3, "36": 4, "37": 6, "38": 7, "39": 8, "40": 8, "41": 8, "42": 8, "43": 11, "44": 12, "45": 13, "46": 13, "47": 13, "48": 13, "49": 16, "55": 21, "60": 21, "61": 22, "62": 23}, "uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"} +{"uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py index 9d67f6bd..c28912cc 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 = 1433973607.698427 +_modified_time = 1433977207.4479828 _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) - title = context.get('title', UNDEFINED) + messages = context.get('messages', UNDEFINED) + items = context.get('items', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - items = context.get('items', UNDEFINED) - messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'): @@ -47,11 +47,11 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - title = context.get('title', UNDEFINED) + messages = context.get('messages', UNDEFINED) + items = context.get('items', UNDEFINED) def content(): return render_content(context) - items = context.get('items', UNDEFINED) - messages = context.get('messages', UNDEFINED) + title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n
    \n
    \n

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

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

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

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

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

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

    \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + lang = context.get('lang', UNDEFINED) + translations = context.get('translations', UNDEFINED) + len = context.get('len', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(post.translated_to) > 1: + __M_writer(' \n') + 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) comments = _mako_get_namespace(context, 'comments') - def html_sourcelink(): - return render_html_sourcelink(context) - post = context.get('post', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) - messages = context.get('messages', UNDEFINED) def html_title(): return render_html_title(context) + site_has_comments = context.get('site_has_comments', UNDEFINED) + post = context.get('post', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + messages = context.get('messages', UNDEFINED) + def html_sourcelink(): + return render_html_sourcelink(context) __M_writer = context.writer() __M_writer('\n
    \n ') __M_writer(str(html_title())) @@ -97,9 +143,9 @@ def render_html_post_header(context): def render_html_sourcelink(context): __M_caller = context.caller_stack._push_frame() try: - post = context.get('post', UNDEFINED) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) messages = context.get('messages', UNDEFINED) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) + post = context.get('post', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if show_sourcelink: @@ -113,54 +159,8 @@ def render_html_sourcelink(context): context.caller_stack._pop_frame() -def render_html_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - translations = context.get('translations', UNDEFINED) - lang = context.get('lang', UNDEFINED) - messages = context.get('messages', UNDEFINED) - len = context.get('len', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(post.translated_to) > 1: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_title(context): - __M_caller = context.caller_stack._push_frame() - try: - post = context.get('post', UNDEFINED) - title = context.get('title', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if title and not post.meta('hidetitle'): - __M_writer('

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

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

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

    ') __M_writer(str(title)) @@ -90,6 +90,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"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"} +{"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}, "source_encoding": "utf-8"} __M_END_METADATA """ diff --git a/cache/lastdeploy b/cache/lastdeploy index 72bbf242..43ed5919 100644 --- a/cache/lastdeploy +++ b/cache/lastdeploy @@ -1 +1 @@ -2015-06-10T22:00:11.223468 \ No newline at end of file +2015-06-10T23:00:10.949607 \ No newline at end of file