diff --git a/.doit.db b/.doit.db index 1d9b0d69..58a6fae7 100644 Binary files a/.doit.db and b/.doit.db differ diff --git a/__pycache__/conf.cpython-34.pyc b/__pycache__/conf.cpython-34.pyc index 7ae20e49..08476952 100644 Binary files a/__pycache__/conf.cpython-34.pyc and b/__pycache__/conf.cpython-34.pyc 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 f70e002c..df094e23 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 c986fc9e..1691d333 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 0c729ac2..1fe0bc2d 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 baa28799..186d2acf 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 92ea3537..2104a05c 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 652a7ae4..43d36195 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 3d96145d..8cacd9b5 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 535fad8b..ac0198cc 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 e3d01445..3413012a 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 74a49cd9..f3daca67 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 78edef1a..f19894f3 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 8318b7fd..a5d8c703 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 ffcf6d81..d7b3e8cc 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 298b9d33..d789f2ba 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 2003ce0f..e9a3bae7 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 77e0420d..abb558d1 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 f95e8b5e..1f9fd4ce 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 d1b1772d..aaeb97b0 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 e7a29213..27075f2c 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 b1e27804..4749c1ba 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 d87ad5cd..034d9515 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 d362f204..4e8788f0 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 8390d2df..dfd07003 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 900f200d..82b18d0d 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 = 1433913321.694439 +_modified_time = 1433910956.3456094 _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_code(context): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "uri": "annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "source_encoding": "ascii"} +{"line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "uri": "annotation_helper.tmpl", "source_encoding": "ascii", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index 6fad228d..307d9e77 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 = 1433913321.4409437 +_modified_time = 1433910956.2727878 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_js', 'extra_head', 'sourcelink', 'belowtitle', 'content'] +_exports = ['extra_js', 'content', 'sourcelink', 'extra_head', 'belowtitle'] def _mako_get_namespace(context, name): @@ -19,50 +19,50 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'base')] = ns - ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'notes')] = ns + ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'base')] = ns + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - notes = _mako_get_namespace(context, 'notes') - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) - date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) - len = _import_ns.get('len', context.get('len', UNDEFINED)) - lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - base = _mako_get_namespace(context, 'base') - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) - def extra_js(): - return render_extra_js(context._locals(__M_locals)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) + post = _import_ns.get('post', context.get('post', UNDEFINED)) + date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) + notes = _mako_get_namespace(context, 'notes') + blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) + js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) - logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) - body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) - show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) + logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) + def extra_js(): + return render_extra_js(context._locals(__M_locals)) + show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) + base = _mako_get_namespace(context, 'base') + lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) + search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) + content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -162,8 +162,8 @@ def render_extra_js(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def extra_js(): return render_extra_js(context) __M_writer = context.writer() @@ -172,12 +172,40 @@ def render_extra_js(context,**pageargs): context.caller_stack._pop_frame() +def render_content(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + def content(): + return render_content(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + def sourcelink(): + return render_sourcelink(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) def extra_head(): return render_extra_head(context) __M_writer = context.writer() @@ -187,29 +215,15 @@ def render_extra_head(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def sourcelink(): - return render_sourcelink(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - def render_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, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) len = _import_ns.get('len', context.get('len', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) base = _mako_get_namespace(context, 'base') + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) def belowtitle(): return render_belowtitle(context) __M_writer = context.writer() @@ -224,22 +238,8 @@ def render_belowtitle(context,**pageargs): context.caller_stack._pop_frame() -def render_content(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def content(): - return render_content(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - """ __M_BEGIN_METADATA -{"filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "216": 45, "190": 51, "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": 85, "219": 47, "227": 66, "220": 47, "175": 6, "184": 6, "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, "221": 49, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 46, "126": 66, "127": 71}, "source_encoding": "utf-8"} +{"line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "218": 45, "150": 89, "230": 45, "161": 85, "241": 235, "175": 66, "189": 51, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 6, "203": 6, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "233": 47, "234": 47, "231": 46, "235": 49, "109": 49, "110": 50, "111": 51, "232": 47, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "uri": "base.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py index 8bda38b1..47a89b92 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 = 1433913321.5839138 +_modified_time = 1433910956.3129117 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_stylesheets', 'late_load_js', 'html_headstart', 'html_translations', 'html_feedlinks', 'html_navigation_links'] +_exports = ['html_translations', 'html_feedlinks', 'late_load_js', 'html_navigation_links', 'html_headstart', 'html_stylesheets'] def render_body(context,**pageargs): @@ -29,38 +29,55 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_html_stylesheets(context): +def render_html_translations(context): __M_caller = context.caller_stack._push_frame() try: - use_cdn = context.get('use_cdn', UNDEFINED) - notes = context.get('notes', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) - has_custom_css = context.get('has_custom_css', UNDEFINED) - post = context.get('post', UNDEFINED) - annotations = context.get('annotations', UNDEFINED) + _link = context.get('_link', UNDEFINED) + messages = context.get('messages', UNDEFINED) + translations = context.get('translations', UNDEFINED) + lang = context.get('lang', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - 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'): + 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: + _link = context.get('_link', UNDEFINED) + translations = context.get('translations', UNDEFINED) + rss_link = context.get('rss_link', UNDEFINED) + generate_rss = context.get('generate_rss', UNDEFINED) + len = context.get('len', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if rss_link: __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(str(rss_link)) __M_writer('\n') + elif generate_rss: + if len(translations) > 1: + for language in translations: + __M_writer(' \n') + else: + __M_writer(' \n') return '' finally: context.caller_stack._pop_frame() @@ -69,11 +86,11 @@ def render_html_stylesheets(context): def render_late_load_js(context): __M_caller = context.caller_stack._push_frame() try: - social_buttons_code = context.get('social_buttons_code', UNDEFINED) use_cdn = context.get('use_cdn', UNDEFINED) - use_bundles = context.get('use_bundles', UNDEFINED) colorbox_locales = context.get('colorbox_locales', UNDEFINED) lang = context.get('lang', UNDEFINED) + use_bundles = context.get('use_bundles', UNDEFINED) + social_buttons_code = context.get('social_buttons_code', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_bundles: @@ -99,32 +116,80 @@ def render_late_load_js(context): context.caller_stack._pop_frame() +def render_html_navigation_links(context): + __M_caller = context.caller_stack._push_frame() + try: + tuple = context.get('tuple', UNDEFINED) + rel_link = context.get('rel_link', UNDEFINED) + navigation_links = context.get('navigation_links', UNDEFINED) + isinstance = context.get('isinstance', UNDEFINED) + lang = context.get('lang', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + for url, text in navigation_links[lang]: + if isinstance(url, tuple): + __M_writer('
  • ') + __M_writer(str(text)) + __M_writer('\n') + else: + __M_writer('
  • ') + __M_writer(str(text)) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_headstart(context): __M_caller = context.caller_stack._push_frame() try: - def html_stylesheets(): - return render_html_stylesheets(context) + use_cdn = context.get('use_cdn', UNDEFINED) favicons = context.get('favicons', UNDEFINED) - def html_feedlinks(): - return render_html_feedlinks(context) - comment_system_id = context.get('comment_system_id', UNDEFINED) - title = context.get('title', UNDEFINED) + extra_head_data = context.get('extra_head_data', UNDEFINED) comment_system = context.get('comment_system', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) + blog_title = context.get('blog_title', UNDEFINED) + nextlink = context.get('nextlink', UNDEFINED) url_replacer = context.get('url_replacer', UNDEFINED) - is_rtl = context.get('is_rtl', UNDEFINED) - lang = context.get('lang', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) description = context.get('description', UNDEFINED) prevlink = context.get('prevlink', UNDEFINED) - blog_title = context.get('blog_title', UNDEFINED) - extra_head_data = context.get('extra_head_data', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - nextlink = context.get('nextlink', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) striphtml = context.get('striphtml', UNDEFINED) twitter_card = context.get('twitter_card', UNDEFINED) + mathjax_config = context.get('mathjax_config', UNDEFINED) + lang = context.get('lang', UNDEFINED) + title = context.get('title', UNDEFINED) + def html_feedlinks(): + return render_html_feedlinks(context) + permalink = context.get('permalink', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) + def html_stylesheets(): + return render_html_stylesheets(context) __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_feedlinks(context): - __M_caller = context.caller_stack._push_frame() - try: - len = context.get('len', UNDEFINED) - generate_rss = context.get('generate_rss', UNDEFINED) - translations = context.get('translations', UNDEFINED) - rss_link = context.get('rss_link', UNDEFINED) - _link = context.get('_link', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if rss_link: + 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(rss_link)) + __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') - elif generate_rss: - if len(translations) > 1: - for language in translations: - __M_writer(' \n') - else: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_navigation_links(context): - __M_caller = context.caller_stack._push_frame() - try: - rel_link = context.get('rel_link', UNDEFINED) - tuple = context.get('tuple', UNDEFINED) - navigation_links = context.get('navigation_links', UNDEFINED) - isinstance = context.get('isinstance', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - for url, text in navigation_links[lang]: - if isinstance(url, tuple): - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') - else: - __M_writer('
  • ') - __M_writer(str(text)) - __M_writer('\n') return '' finally: context.caller_stack._pop_frame() @@ -303,6 +303,6 @@ def render_html_navigation_links(context): """ __M_BEGIN_METADATA -{"filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 95, "42": 95, "43": 96, "44": 97, "45": 98, "46": 100, "47": 101, "48": 103, "49": 104, "50": 105, "51": 106, "52": 107, "53": 109, "54": 113, "55": 114, "56": 117, "57": 118, "58": 118, "59": 118, "60": 119, "61": 120, "62": 120, "63": 120, "69": 67, "78": 67, "79": 68, "80": 69, "81": 70, "82": 73, "83": 74, "84": 76, "85": 77, "86": 78, "87": 80, "88": 81, "89": 86, "90": 88, "91": 89, "92": 89, "93": 89, "94": 91, "95": 91, "96": 91, "102": 3, "129": 3, "130": 7, "131": 8, "132": 9, "133": 10, "134": 12, "135": 13, "136": 15, "137": 16, "138": 18, "139": 21, "140": 22, "141": 25, "142": 25, "143": 25, "144": 28, "145": 29, "146": 29, "147": 29, "148": 31, "149": 32, "150": 32, "151": 32, "152": 32, "153": 34, "154": 34, "155": 35, "156": 35, "157": 36, "158": 37, "159": 37, "160": 37, "161": 39, "162": 40, "163": 41, "164": 42, "165": 42, "166": 42, "167": 42, "168": 42, "169": 42, "170": 42, "171": 45, "172": 46, "173": 47, "174": 47, "175": 47, "176": 49, "177": 50, "178": 51, "179": 51, "180": 51, "181": 53, "182": 54, "183": 54, "184": 54, "185": 56, "186": 57, "187": 57, "188": 58, "189": 59, "190": 60, "191": 61, "192": 61, "193": 61, "194": 63, "195": 64, "196": 64, "202": 161, "210": 161, "211": 162, "212": 163, "213": 164, "214": 164, "215": 164, "216": 164, "217": 164, "218": 164, "219": 164, "225": 147, "234": 147, "235": 148, "236": 149, "237": 149, "238": 149, "239": 150, "240": 151, "241": 152, "242": 153, "243": 153, "244": 153, "245": 153, "246": 153, "247": 155, "248": 156, "249": 156, "250": 156, "256": 124, "266": 124, "267": 125, "268": 126, "269": 127, "270": 127, "271": 127, "272": 129, "273": 130, "274": 131, "275": 131, "276": 131, "277": 131, "278": 131, "279": 132, "280": 133, "281": 133, "282": 133, "283": 133, "284": 133, "285": 136, "286": 137, "287": 138, "288": 139, "289": 139, "290": 139, "291": 139, "292": 139, "293": 140, "294": 141, "295": 141, "296": 141, "297": 141, "298": 141, "304": 298}, "source_encoding": "utf-8"} +{"line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 147, "64": 147, "65": 148, "66": 149, "67": 149, "68": 149, "69": 150, "70": 151, "71": 152, "72": 153, "73": 153, "74": 153, "75": 153, "76": 153, "77": 155, "78": 156, "79": 156, "80": 156, "86": 67, "95": 67, "96": 68, "97": 69, "98": 70, "99": 73, "100": 74, "101": 76, "102": 77, "103": 78, "104": 80, "105": 81, "106": 86, "107": 88, "108": 89, "109": 89, "110": 89, "111": 91, "112": 91, "113": 91, "119": 124, "129": 124, "130": 125, "131": 126, "132": 127, "133": 127, "134": 127, "135": 129, "136": 130, "137": 131, "138": 131, "139": 131, "140": 131, "141": 131, "142": 132, "143": 133, "144": 133, "145": 133, "146": 133, "147": 133, "148": 136, "149": 137, "150": 138, "151": 139, "152": 139, "153": 139, "154": 139, "155": 139, "156": 140, "157": 141, "158": 141, "159": 141, "160": 141, "161": 141, "167": 3, "194": 3, "195": 7, "196": 8, "197": 9, "198": 10, "199": 12, "200": 13, "201": 15, "202": 16, "203": 18, "204": 21, "205": 22, "206": 25, "207": 25, "208": 25, "209": 28, "210": 29, "211": 29, "212": 29, "213": 31, "214": 32, "215": 32, "216": 32, "217": 32, "218": 34, "219": 34, "220": 35, "221": 35, "222": 36, "223": 37, "224": 37, "225": 37, "226": 39, "227": 40, "228": 41, "229": 42, "230": 42, "231": 42, "232": 42, "233": 42, "234": 42, "235": 42, "236": 45, "237": 46, "238": 47, "239": 47, "240": 47, "241": 49, "242": 50, "243": 51, "244": 51, "245": 51, "246": 53, "247": 54, "248": 54, "249": 54, "250": 56, "251": 57, "252": 57, "253": 58, "254": 59, "255": 60, "256": 61, "257": 61, "258": 61, "259": 63, "260": 64, "261": 64, "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", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper.tmpl.py b/cache/.mako.tmp/comments_helper.tmpl.py index ed9462bc..e511c226 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 = 1433913321.9486206 +_modified_time = 1433910956.1884553 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl' _template_uri = 'comments_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] def _mako_get_namespace(context, name): @@ -19,27 +19,27 @@ def _mako_get_namespace(context, name): _mako_generate_namespaces(context) return context.namespaces[(__name__, name)] def _mako_generate_namespaces(context): - ns = runtime.TemplateNamespace('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('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('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'livefyre')] = 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('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('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'disqus')] = ns + + ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'facebook')] = ns + def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: @@ -61,109 +61,17 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - disqus = _mako_get_namespace(context, 'disqus') - facebook = _mako_get_namespace(context, 'facebook') - muut = _mako_get_namespace(context, 'muut') - isso = _mako_get_namespace(context, 'isso') - googleplus = _mako_get_namespace(context, 'googleplus') - comment_system = context.get('comment_system', UNDEFINED) - intensedebate = _mako_get_namespace(context, 'intensedebate') - livefyre = _mako_get_namespace(context, 'livefyre') - __M_writer = context.writer() - __M_writer('\n') - if comment_system == 'disqus': - __M_writer(' ') - __M_writer(str(disqus.comment_link_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: - disqus = _mako_get_namespace(context, 'disqus') - facebook = _mako_get_namespace(context, 'facebook') - isso = _mako_get_namespace(context, 'isso') - muut = _mako_get_namespace(context, 'muut') - googleplus = _mako_get_namespace(context, 'googleplus') - comment_system = context.get('comment_system', UNDEFINED) - intensedebate = _mako_get_namespace(context, 'intensedebate') - livefyre = _mako_get_namespace(context, 'livefyre') - __M_writer = context.writer() - __M_writer('\n') - if comment_system == 'disqus': - __M_writer(' ') - __M_writer(str(disqus.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'livefyre': - __M_writer(' ') - __M_writer(str(livefyre.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'intensedebate': - __M_writer(' ') - __M_writer(str(intensedebate.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'muut': - __M_writer(' ') - __M_writer(str(muut.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'googleplus': - __M_writer(' ') - __M_writer(str(googleplus.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'facebook': - __M_writer(' ') - __M_writer(str(facebook.comment_form(url, title, identifier))) - __M_writer('\n') - elif comment_system == 'isso': - __M_writer(' ') - __M_writer(str(isso.comment_form(url, title, identifier))) - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: - disqus = _mako_get_namespace(context, 'disqus') - facebook = _mako_get_namespace(context, 'facebook') isso = _mako_get_namespace(context, 'isso') - muut = _mako_get_namespace(context, 'muut') - googleplus = _mako_get_namespace(context, 'googleplus') - comment_system = context.get('comment_system', UNDEFINED) - intensedebate = _mako_get_namespace(context, 'intensedebate') livefyre = _mako_get_namespace(context, 'livefyre') + intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) + disqus = _mako_get_namespace(context, 'disqus') + googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') + facebook = _mako_get_namespace(context, 'facebook') __M_writer = context.writer() __M_writer('\n') if comment_system == 'disqus': @@ -199,8 +107,100 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + isso = _mako_get_namespace(context, 'isso') + livefyre = _mako_get_namespace(context, 'livefyre') + intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) + disqus = _mako_get_namespace(context, 'disqus') + googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') + facebook = _mako_get_namespace(context, 'facebook') + __M_writer = context.writer() + __M_writer('\n') + if comment_system == 'disqus': + __M_writer(' ') + __M_writer(str(disqus.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'livefyre': + __M_writer(' ') + __M_writer(str(livefyre.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'intensedebate': + __M_writer(' ') + __M_writer(str(intensedebate.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'muut': + __M_writer(' ') + __M_writer(str(muut.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'googleplus': + __M_writer(' ') + __M_writer(str(googleplus.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'facebook': + __M_writer(' ') + __M_writer(str(facebook.comment_form(url, title, identifier))) + __M_writer('\n') + elif comment_system == 'isso': + __M_writer(' ') + __M_writer(str(isso.comment_form(url, title, identifier))) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + isso = _mako_get_namespace(context, 'isso') + livefyre = _mako_get_namespace(context, 'livefyre') + intensedebate = _mako_get_namespace(context, 'intensedebate') + comment_system = context.get('comment_system', UNDEFINED) + disqus = _mako_get_namespace(context, 'disqus') + googleplus = _mako_get_namespace(context, 'googleplus') + muut = _mako_get_namespace(context, 'muut') + facebook = _mako_get_namespace(context, 'facebook') + __M_writer = context.writer() + __M_writer('\n') + if comment_system == 'disqus': + __M_writer(' ') + __M_writer(str(disqus.comment_link_script())) + __M_writer('\n') + elif comment_system == 'livefyre': + __M_writer(' ') + __M_writer(str(livefyre.comment_link_script())) + __M_writer('\n') + elif comment_system == 'intensedebate': + __M_writer(' ') + __M_writer(str(intensedebate.comment_link_script())) + __M_writer('\n') + elif comment_system == 'muut': + __M_writer(' ') + __M_writer(str(muut.comment_link_script())) + __M_writer('\n') + elif comment_system == 'googleplus': + __M_writer(' ') + __M_writer(str(googleplus.comment_link_script())) + __M_writer('\n') + elif comment_system == 'facebook': + __M_writer(' ') + __M_writer(str(facebook.comment_link_script())) + __M_writer('\n') + elif comment_system == 'isso': + __M_writer(' ') + __M_writer(str(isso.comment_link_script())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl", "line_map": {"22": 3, "25": 5, "28": 8, "31": 6, "34": 4, "37": 9, "40": 7, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "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"} +{"line_map": {"22": 9, "25": 4, "28": 5, "31": 7, "34": 6, "37": 3, "40": 8, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 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": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "uri": "comments_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_disqus.tmpl.py b/cache/.mako.tmp/comments_helper_disqus.tmpl.py index b56578fa..b4bdbc05 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 = 1433913322.0312395 +_modified_time = 1433910956.2128923 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl' _template_uri = 'comments_helper_disqus.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] import json @@ -29,16 +29,18 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): +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(' \n') + __M_writer(' Comments\n') return '' finally: context.caller_stack._pop_frame() @@ -47,8 +49,8 @@ def render_comment_link_script(context): def render_comment_form(context,url,title,identifier): __M_caller = context.caller_stack._push_frame() try: - comment_system_id = context.get('comment_system_id', UNDEFINED) lang = context.get('lang', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if comment_system_id: @@ -76,18 +78,16 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): +def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: comment_system_id = context.get('comment_system_id', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if comment_system_id: - __M_writer(' Comments\n') + __M_writer(' \n') return '' finally: context.caller_stack._pop_frame() @@ -95,6 +95,6 @@ def render_comment_link(context,link,identifier): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 5, "53": 5, "54": 6, "55": 7, "56": 9, "57": 9, "58": 10, "59": 11, "60": 11, "61": 11, "62": 13, "63": 13, "64": 13, "65": 14, "66": 14, "67": 16, "68": 17, "69": 18, "70": 19, "71": 19, "72": 19, "73": 21, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "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": 5, "55": 5, "56": 6, "57": 7, "58": 9, "59": 9, "60": 10, "61": 11, "62": 11, "63": 11, "64": 13, "65": 13, "66": 13, "67": 14, "68": 14, "69": 16, "70": 17, "71": 18, "72": 19, "73": 19, "74": 19, "75": 21, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "uri": "comments_helper_disqus.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_facebook.tmpl.py b/cache/.mako.tmp/comments_helper_facebook.tmpl.py index 75d14c1b..03f9c57f 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 = 1433913322.1601243 +_modified_time = 1433910956.2496963 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl' _template_uri = 'comments_helper_facebook.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,14 +25,13 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): +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
    \n\n') + __M_writer('\n\n') return '' finally: context.caller_stack._pop_frame() @@ -53,13 +52,14 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): +def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: + comment_system_id = context.get('comment_system_id', UNDEFINED) __M_writer = context.writer() - __M_writer('\n\n') + __M_writer('\n
    \n\n') return '' finally: context.caller_stack._pop_frame() @@ -67,6 +67,6 @@ def render_comment_link(context,link,identifier): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "comments_helper_facebook.tmpl", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 2, "60": 28, "46": 2, "47": 8, "48": 8, "49": 25, "50": 25, "20": 26, "21": 30, "22": 62, "56": 28, "15": 0, "28": 32, "61": 29, "62": 29}, "source_encoding": "utf-8"} +{"line_map": {"32": 28, "33": 29, "34": 29, "68": 62, "40": 2, "60": 32, "45": 2, "46": 8, "15": 0, "48": 25, "49": 25, "20": 26, "21": 30, "22": 62, "55": 32, "47": 8, "28": 28, "61": 46, "62": 46}, "uri": "comments_helper_facebook.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py index 8aa7cd8b..a0eb197e 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 = 1433913322.139688 +_modified_time = 1433910956.2437465 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl' _template_uri = 'comments_helper_googleplus.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,28 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_form(context,url,title,identifier): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n\n
    \n
    \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -59,8 +37,30 @@ def render_comment_link(context,link,identifier): context.caller_stack._pop_frame() +def render_comment_form(context,url,title,identifier): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n\n
    \n
    \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_comment_link_script(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "comments_helper_googleplus.tmpl", "line_map": {"32": 16, "54": 11, "38": 2, "42": 2, "43": 5, "44": 5, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 16, "62": 56}, "source_encoding": "utf-8"} +{"line_map": {"32": 11, "33": 12, "34": 12, "40": 2, "44": 2, "45": 5, "46": 5, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 11, "62": 56}, "uri": "comments_helper_googleplus.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py index c322c946..f5675dc4 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 = 1433913322.092862 +_modified_time = 1433910956.2306147 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl' _template_uri = 'comments_helper_intensedebate.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,33 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_comment_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(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -73,8 +46,35 @@ def render_comment_link(context,link,identifier): 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() + + """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "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": 24, "32": 24, "38": 2, "43": 2, "44": 4, "45": 4, "46": 5, "47": 5, "48": 6, "49": 6, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "source_encoding": "utf-8"} +{"line_map": {"66": 24, "70": 24, "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": 2, "54": 2, "55": 4, "56": 4, "57": 5, "58": 5, "59": 6, "60": 6}, "uri": "comments_helper_intensedebate.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_isso.tmpl.py b/cache/.mako.tmp/comments_helper_isso.tmpl.py index 93d3916a..2b41515f 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 = 1433913322.187537 +_modified_time = 1433910956.257536 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl' _template_uri = 'comments_helper_isso.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,18 +25,16 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): +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(' \n') + __M_writer(' Comments\n') return '' finally: context.caller_stack._pop_frame() @@ -61,16 +59,18 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): +def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: comment_system_id = context.get('comment_system_id', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if comment_system_id: - __M_writer(' Comments\n') + __M_writer(' \n') return '' finally: context.caller_stack._pop_frame() @@ -78,6 +78,6 @@ def render_comment_link(context,link,identifier): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "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": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 2, "50": 2, "51": 3, "52": 4, "53": 4, "54": 4, "55": 5, "56": 5, "57": 5, "58": 5}, "source_encoding": "utf-8"} +{"line_map": {"67": 16, "68": 17, "69": 18, "70": 18, "71": 18, "72": 18, "73": 18, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 9, "33": 9, "34": 10, "35": 11, "36": 11, "37": 11, "43": 2, "48": 2, "49": 3, "50": 4, "51": 4, "52": 4, "53": 5, "54": 5, "55": 5, "56": 5, "62": 16}, "uri": "comments_helper_isso.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py index bf550b02..481f9b78 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 = 1433913322.0662334 +_modified_time = 1433910956.223028 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl' _template_uri = 'comments_helper_livefyre.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] def render_body(context,**pageargs): @@ -25,31 +25,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): - __M_caller = context.caller_stack._push_frame() - try: - __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() - - def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: @@ -67,8 +42,33 @@ def render_comment_link(context,link,identifier): 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() + + """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "comments_helper_livefyre.tmpl", "line_map": {"32": 31, "64": 25, "59": 24, "70": 64, "38": 2, "63": 25, "60": 24, "43": 2, "44": 7, "45": 7, "46": 11, "15": 0, "20": 21, "21": 28, "22": 33, "58": 23, "47": 11, "28": 31, "61": 25, "62": 25, "53": 23}, "source_encoding": "utf-8"} +{"line_map": {"64": 31, "33": 23, "34": 24, "35": 24, "36": 25, "37": 25, "38": 25, "39": 25, "60": 31, "70": 64, "45": 2, "15": 0, "50": 2, "51": 7, "20": 21, "21": 28, "22": 33, "52": 7, "54": 11, "28": 23, "53": 11}, "uri": "comments_helper_livefyre.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/comments_helper_muut.tmpl.py b/cache/.mako.tmp/comments_helper_muut.tmpl.py index e87b5e2d..80ae7486 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 = 1433913322.1197739 +_modified_time = 1433910956.2381356 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl' _template_uri = 'comments_helper_muut.tmpl' _source_encoding = 'utf-8' -_exports = ['comment_link_script', 'comment_form', 'comment_link'] +_exports = ['comment_link', 'comment_form', 'comment_link_script'] def render_body(context,**pageargs): @@ -26,11 +26,11 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_comment_link_script(context): +def render_comment_link(context,link,identifier): __M_caller = context.caller_stack._push_frame() try: __M_writer = context.writer() - __M_writer('\n\n') + __M_writer('\n') return '' finally: context.caller_stack._pop_frame() @@ -53,11 +53,11 @@ def render_comment_form(context,url,title,identifier): context.caller_stack._pop_frame() -def render_comment_link(context,link,identifier): +def render_comment_link_script(context): __M_caller = context.caller_stack._push_frame() try: __M_writer = context.writer() - __M_writer('\n') + __M_writer('\n\n') return '' finally: context.caller_stack._pop_frame() @@ -65,6 +65,6 @@ def render_comment_link(context,link,identifier): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl", "line_map": {"33": 11, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "47": 4, "60": 7, "29": 11}, "source_encoding": "utf-8"} +{"line_map": {"33": 7, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "47": 4, "60": 11, "29": 7}, "uri": "comments_helper_muut.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/crumbs.tmpl.py b/cache/.mako.tmp/crumbs.tmpl.py index 090a00ca..cd9f82df 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 = 1433913322.7345748 +_modified_time = 1433910956.3836193 _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 -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "uri": "crumbs.tmpl", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "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", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py index 617ed437..9e340113 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 = 1433913321.8305523 +_modified_time = 1433910956.1526759 _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', 'content_header'] +_exports = ['content_header', 'content', 'extra_head'] def _mako_get_namespace(context, name): @@ -32,21 +32,21 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) + date_format = context.get('date_format', UNDEFINED) + index_file = context.get('index_file', UNDEFINED) + index_teasers = context.get('index_teasers', UNDEFINED) def content_header(): return render_content_header(context._locals(__M_locals)) - helper = _mako_get_namespace(context, 'helper') - def extra_head(): - return render_extra_head(context._locals(__M_locals)) comments = _mako_get_namespace(context, 'comments') permalink = context.get('permalink', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) parent = context.get('parent', UNDEFINED) - index_teasers = context.get('index_teasers', UNDEFINED) - index_file = context.get('index_file', UNDEFINED) - posts = context.get('posts', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) + posts = context.get('posts', UNDEFINED) site_has_comments = context.get('site_has_comments', UNDEFINED) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + helper = _mako_get_namespace(context, 'helper') __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -66,23 +66,12 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_extra_head(context,**pageargs): +def render_content_header(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - permalink = context.get('permalink', UNDEFINED) - def extra_head(): - return render_extra_head(context) - index_file = context.get('index_file', UNDEFINED) - posts = context.get('posts', UNDEFINED) - parent = context.get('parent', UNDEFINED) + def content_header(): + return render_content_header(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() @@ -91,16 +80,16 @@ def render_extra_head(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - def content_header(): - return render_content_header(context) - helper = _mako_get_namespace(context, 'helper') - comments = _mako_get_namespace(context, 'comments') date_format = context.get('date_format', UNDEFINED) index_teasers = context.get('index_teasers', UNDEFINED) - posts = context.get('posts', UNDEFINED) + def content_header(): + return render_content_header(context) + comments = _mako_get_namespace(context, 'comments') def content(): return render_content(context) + posts = context.get('posts', UNDEFINED) site_has_comments = context.get('site_has_comments', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') __M_writer = context.writer() __M_writer('\n') if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'): @@ -152,12 +141,23 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() -def render_content_header(context,**pageargs): +def render_extra_head(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: - def content_header(): - return render_content_header(context) + parent = context.get('parent', UNDEFINED) + index_file = context.get('index_file', UNDEFINED) + posts = context.get('posts', UNDEFINED) + def extra_head(): + return render_extra_head(context) + permalink = context.get('permalink', UNDEFINED) __M_writer = context.writer() + __M_writer('\n ') + __M_writer(str(parent.extra_head())) + __M_writer('\n') + if posts and (permalink == '/' or permalink == '/' + index_file): + __M_writer(' \n') return '' finally: context.caller_stack._pop_frame() @@ -165,6 +165,6 @@ def render_content_header(context,**pageargs): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl", "line_map": {"128": 22, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 28, "135": 29, "136": 30, "137": 30, "138": 31, "139": 32, "140": 33, "141": 33, "142": 35, "143": 38, "144": 39, "145": 39, "146": 40, "147": 40, "148": 41, "149": 41, "22": 3, "25": 2, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "63": 42, "69": 6, "79": 6, "80": 7, "81": 7, "82": 8, "83": 9, "84": 9, "85": 9, "91": 13, "105": 13, "110": 14, "111": 16, "112": 17, "113": 17, "114": 17, "115": 19, "116": 19, "117": 19, "118": 19, "119": 21, "120": 21, "121": 22, "122": 22, "123": 22, "124": 22, "125": 22, "126": 22, "127": 22}, "source_encoding": "utf-8"} +{"line_map": {"128": 32, "129": 33, "130": 33, "131": 35, "132": 38, "133": 39, "134": 39, "135": 40, "136": 40, "137": 41, "138": 41, "144": 6, "22": 3, "25": 2, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 14, "80": 13, "94": 13, "99": 14, "100": 16, "101": 17, "102": 17, "103": 17, "104": 19, "105": 19, "106": 19, "107": 19, "108": 21, "109": 21, "110": 22, "111": 22, "112": 22, "113": 22, "114": 22, "115": 22, "116": 22, "117": 22, "118": 23, "119": 24, "120": 24, "121": 24, "122": 26, "123": 28, "124": 29, "125": 30, "126": 30, "127": 31}, "uri": "index.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/index_helper.tmpl.py b/cache/.mako.tmp/index_helper.tmpl.py index 2a05503d..82839c3c 100644 --- a/cache/.mako.tmp/index_helper.tmpl.py +++ b/cache/.mako.tmp/index_helper.tmpl.py @@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433913321.8908055 +_modified_time = 1433910956.1711836 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl' _template_uri = 'index_helper.tmpl' @@ -40,9 +40,9 @@ def render_mathjax_script(context,posts): def render_html_pager(context): __M_caller = context.caller_stack._push_frame() try: - nextlink = context.get('nextlink', UNDEFINED) prevlink = context.get('prevlink', UNDEFINED) messages = context.get('messages', UNDEFINED) + nextlink = context.get('nextlink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if prevlink or nextlink: @@ -67,6 +67,6 @@ def render_html_pager(context): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "uri": "index_helper.tmpl", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 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"} +{"line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "uri": "index_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py index 1b3e926c..e3ad696f 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 = 1433913321.3827472 +_modified_time = 1433910956.4040258 _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) - items = context.get('items', UNDEFINED) - messages = context.get('messages', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) + messages = context.get('messages', UNDEFINED) + items = context.get('items', 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) - items = context.get('items', UNDEFINED) - messages = context.get('messages', UNDEFINED) def content(): return render_content(context) + messages = context.get('messages', UNDEFINED) + items = context.get('items', 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 -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "uri": "list.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "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", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py index decb029d..9114b87f 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 = 1433913321.7339041 +_modified_time = 1433910956.4178998 _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) - title = context.get('title', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', UNDEFINED) - posts = context.get('posts', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) + messages = context.get('messages', UNDEFINED) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', 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: - title = context.get('title', UNDEFINED) - date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', UNDEFINED) - posts = context.get('posts', UNDEFINED) def content(): return render_content(context) + messages = context.get('messages', UNDEFINED) + posts = context.get('posts', UNDEFINED) + date_format = context.get('date_format', 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 -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "uri": "list_post.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "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", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py index fcca8fa6..cf8399f1 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 = 1433913322.697043 +_modified_time = 1433910956.3721864 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'content'] +_exports = ['content', 'sourcelink'] def _mako_get_namespace(context, name): @@ -31,17 +31,17 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - ui = _mako_get_namespace(context, 'ui') - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - code = _import_ns.get('code', context.get('code', UNDEFINED)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) + code = _import_ns.get('code', context.get('code', UNDEFINED)) + ui = _mako_get_namespace(context, 'ui') files = _import_ns.get('files', context.get('files', UNDEFINED)) source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) def content(): return render_content(context._locals(__M_locals)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n\n') @@ -60,36 +60,14 @@ 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']) - ui = _mako_get_namespace(context, 'ui') - code = _import_ns.get('code', context.get('code', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) + code = _import_ns.get('code', context.get('code', UNDEFINED)) + ui = _mako_get_namespace(context, 'ui') files = _import_ns.get('files', context.get('files', UNDEFINED)) crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) def content(): @@ -122,8 +100,30 @@ def render_content(context,**pageargs): context.caller_stack._pop_frame() +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + 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 -{"filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "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", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py index ce3cdeb1..7e197c42 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 = 1433913322.264518 +_modified_time = 1433910956.4462342 _enable_loop = True _template_filename = 'themes/bootstrap/templates/post.tmpl' _template_uri = 'post.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_head', 'sourcelink', 'content'] +_exports = ['content', 'sourcelink', 'extra_head'] def _mako_get_namespace(context, name): @@ -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('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'pheader')] = ns - ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'comments')] = ns + ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'pheader')] = ns + ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'helper')] = ns @@ -35,20 +35,20 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) + post = context.get('post', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + pheader = _mako_get_namespace(context, 'pheader') def sourcelink(): return render_sourcelink(context._locals(__M_locals)) - helper = _mako_get_namespace(context, 'helper') - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - messages = context.get('messages', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') - post = context.get('post', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') parent = context.get('parent', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) + messages = context.get('messages', UNDEFINED) site_has_comments = context.get('site_has_comments', UNDEFINED) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + helper = _mako_get_namespace(context, 'helper') __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -74,14 +74,74 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_content(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + comments = _mako_get_namespace(context, 'comments') + pheader = _mako_get_namespace(context, 'pheader') + post = context.get('post', UNDEFINED) + def content(): + return render_content(context) + messages = context.get('messages', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') + __M_writer = context.writer() + __M_writer('\n
    \n ') + __M_writer(str(pheader.html_post_header())) + __M_writer('\n
    \n ') + __M_writer(str(post.text())) + __M_writer('\n
    \n \n') + if not post.meta('nocomments') and site_has_comments: + __M_writer('
    \n

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

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

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

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

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

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

    ') __M_writer(str(title)) @@ -90,6 +90,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"filename": "themes/bootstrap/templates/tags.tmpl", "uri": "tags.tmpl", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "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", "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/tags.tmpl"} __M_END_METADATA """ diff --git a/cache/lastdeploy b/cache/lastdeploy index 18bfb6ea..a4b6f51a 100644 --- a/cache/lastdeploy +++ b/cache/lastdeploy @@ -1 +1 @@ -2015-06-10T05:14:31.918124 \ No newline at end of file +2015-06-10T04:35:59.916199 \ No newline at end of file diff --git a/plugins/import_feed/__pycache__/import_feed.cpython-34.pyc b/plugins/import_feed/__pycache__/import_feed.cpython-34.pyc index 52e11b7f..461451a0 100644 Binary files a/plugins/import_feed/__pycache__/import_feed.cpython-34.pyc and b/plugins/import_feed/__pycache__/import_feed.cpython-34.pyc differ diff --git a/plugins/less/__pycache__/less.cpython-34.pyc b/plugins/less/__pycache__/less.cpython-34.pyc index 3c15cab5..f9d20a4f 100644 Binary files a/plugins/less/__pycache__/less.cpython-34.pyc and b/plugins/less/__pycache__/less.cpython-34.pyc differ diff --git a/plugins/sass/__pycache__/sass.cpython-34.pyc b/plugins/sass/__pycache__/sass.cpython-34.pyc index ccfceed4..7556c814 100644 Binary files a/plugins/sass/__pycache__/sass.cpython-34.pyc and b/plugins/sass/__pycache__/sass.cpython-34.pyc differ diff --git a/plugins/upgrade_metadata/__pycache__/upgrade_metadata.cpython-34.pyc b/plugins/upgrade_metadata/__pycache__/upgrade_metadata.cpython-34.pyc index cda6c36f..828e7580 100644 Binary files a/plugins/upgrade_metadata/__pycache__/upgrade_metadata.cpython-34.pyc and b/plugins/upgrade_metadata/__pycache__/upgrade_metadata.cpython-34.pyc differ diff --git a/plugins/vcs/__pycache__/vcs.cpython-34.pyc b/plugins/vcs/__pycache__/vcs.cpython-34.pyc index 5f5c558a..5af5a93a 100644 Binary files a/plugins/vcs/__pycache__/vcs.cpython-34.pyc and b/plugins/vcs/__pycache__/vcs.cpython-34.pyc differ