diff --git a/.doit.db b/.doit.db index ed7ba377..bdfc3584 100644 Binary files a/.doit.db and b/.doit.db differ diff --git a/cache/.mako.tmp/__pycache__/annotation_helper.tmpl.cpython-34.pyc b/cache/.mako.tmp/__pycache__/annotation_helper.tmpl.cpython-34.pyc index 7346afb3..4b6030c5 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 6a302458..2dbaf418 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 470c903e..1192f08b 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 fbc3d257..6a08b962 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 1fe08eb7..aa6f478d 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 1f408726..c02930f7 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 3dccc1c6..7f7738ac 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 705d41ff..14a4a79b 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 11f1d6cc..8ca8191b 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 8c7f3dc7..d6eb3faf 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 26ac33b9..f9f5a7e7 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 49cf0151..4c4afed8 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 b7a4c0cd..f772384c 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 6192d8f7..e1b217bd 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 9bbd5a7a..64a45581 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 bb63b274..243a6ebb 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 d4e0f594..5c38a206 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 301830cd..ce162fbd 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 e244701a..3e0ad705 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 665c6592..8d322a44 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 6c619932..9fd4fce1 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 1aa7c42c..423af0f9 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 4a942ab8..ecaaf620 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 17f2fe00..72338c6b 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 = 1434006007.1591375 +_modified_time = 1434009607.1875286 _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 -{"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", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"} +{"source_encoding": "ascii", "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py index ac16a599..963ef0db 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 = 1434006007.085592 +_modified_time = 1434009607.1138294 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['belowtitle', 'content', 'extra_js', 'extra_head', 'sourcelink'] +_exports = ['sourcelink', 'content', 'extra_head', 'extra_js', '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, ['*']) - momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) - lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) + show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) + abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) + base = _mako_get_namespace(context, 'base') + content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) post = _import_ns.get('post', context.get('post', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) len = _import_ns.get('len', context.get('len', UNDEFINED)) + date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) + logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) + template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) + notes = _mako_get_namespace(context, 'notes') + momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) + js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) + lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) + show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) - base = _mako_get_namespace(context, 'base') blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) - annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) - date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) - notes = _mako_get_namespace(context, 'notes') - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) - def extra_js(): - return render_extra_js(context._locals(__M_locals)) - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) - content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) - set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) - show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - 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_head(): - return render_extra_head(context._locals(__M_locals)) + def extra_js(): + return render_extra_js(context._locals(__M_locals)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -158,16 +158,73 @@ 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, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + def sourcelink(): + return render_sourcelink(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + +def render_content(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + def content(): + return render_content(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + +def render_extra_head(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + def extra_head(): + return render_extra_head(context) + __M_writer = context.writer() + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_extra_js(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + def extra_js(): + return render_extra_js(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + def render_belowtitle(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + len = _import_ns.get('len', context.get('len', UNDEFINED)) + base = _mako_get_namespace(context, 'base') def belowtitle(): return render_belowtitle(context) - base = _mako_get_namespace(context, 'base') - len = _import_ns.get('len', context.get('len', UNDEFINED)) translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') @@ -181,65 +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() - - -def render_extra_js(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def extra_js(): - return render_extra_js(context) - __M_writer = context.writer() - return '' - finally: - context.caller_stack._pop_frame() - - -def render_extra_head(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def extra_head(): - return render_extra_head(context) - __M_writer = context.writer() - __M_writer('\n') - 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, '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() - - """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 45, "198": 85, "227": 51, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 66, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 6, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "221": 6, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl"} +{"source_encoding": "utf-8", "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "218": 45, "150": 89, "230": 45, "161": 51, "198": 6, "241": 235, "175": 66, "189": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 85, "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}} __M_END_METADATA """ diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py index f6099edc..5685dfb1 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 = 1434006007.1262412 +_modified_time = 1434009607.1546872 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_headstart', 'html_navigation_links', 'html_feedlinks', 'html_translations', 'html_stylesheets', 'late_load_js'] +_exports = ['late_load_js', 'html_translations', 'html_navigation_links', 'html_headstart', 'html_stylesheets', 'html_feedlinks'] def render_body(context,**pageargs): @@ -29,32 +29,136 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_late_load_js(context): + __M_caller = context.caller_stack._push_frame() + try: + social_buttons_code = context.get('social_buttons_code', UNDEFINED) + colorbox_locales = context.get('colorbox_locales', UNDEFINED) + use_bundles = context.get('use_bundles', UNDEFINED) + lang = context.get('lang', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if use_bundles: + if use_cdn: + __M_writer(' \n \n \n') + else: + __M_writer(' \n') + else: + if use_cdn: + __M_writer(' \n \n') + else: + __M_writer(' \n \n \n \n') + __M_writer(' \n') + if colorbox_locales[lang]: + __M_writer(' \n') + __M_writer(' ') + __M_writer(str(social_buttons_code)) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_translations(context): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + _link = context.get('_link', UNDEFINED) + lang = context.get('lang', UNDEFINED) + translations = context.get('translations', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + for langname in translations.keys(): + if langname != lang: + __M_writer('
') - __M_writer(str(messages("Source"))) - __M_writer('
\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_title(context): __M_caller = context.caller_stack._push_frame() try: - title = context.get('title', UNDEFINED) post = context.get('post', UNDEFINED) + title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if title and not post.meta('hidetitle'): @@ -109,17 +62,17 @@ def render_html_title(context): def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - date_format = context.get('date_format', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) - def html_title(): - return render_html_title(context) + comments = _mako_get_namespace(context, 'comments') def html_translations(post): return render_html_translations(context,post) + def html_title(): + return render_html_title(context) + site_has_comments = context.get('site_has_comments', UNDEFINED) post = context.get('post', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) messages = context.get('messages', UNDEFINED) def html_sourcelink(): return render_html_sourcelink(context) - comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n') + __M_writer(str(messages("Source"))) + __M_writer('
\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "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": 2, "151": 44, "152": 44, "25": 3, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 24, "162": 156, "79": 24, "80": 25, "81": 26, "82": 26, "83": 26, "84": 26, "85": 26, "91": 5, "97": 5, "98": 6, "99": 7, "100": 7, "101": 7, "102": 7, "103": 7, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"} +{"source_encoding": "utf-8", "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "162": 156, "143": 24, "22": 3, "151": 25, "152": 26, "25": 2, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index a97ea24d..8eeb4f5d 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 = 1434006007.2916818 +_modified_time = 1434009607.325583 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl' _template_uri = 'post_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_pager', 'twitter_card_information', 'meta_translations', 'mathjax_script', 'html_tags', 'open_graph_metadata'] +_exports = ['mathjax_script', 'meta_translations', 'html_tags', 'html_pager', 'open_graph_metadata', 'twitter_card_information'] def render_body(context,**pageargs): @@ -29,6 +29,61 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_mathjax_script(context,post): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n') + if post.is_mathjax: + __M_writer(' \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_meta_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + len = context.get('len', UNDEFINED) + lang = context.get('lang', UNDEFINED) + translations = context.get('translations', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(translations) > 1: + for langname in translations.keys(): + if langname != lang and post.is_translation_available(langname): + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_tags(context,post): + __M_caller = context.caller_stack._push_frame() + try: + _link = context.get('_link', UNDEFINED) + hidden_tags = context.get('hidden_tags', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if post.tags: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_pager(context,post): __M_caller = context.caller_stack._push_frame() try: @@ -59,102 +114,16 @@ def render_html_pager(context,post): context.caller_stack._pop_frame() -def render_twitter_card_information(context,post): - __M_caller = context.caller_stack._push_frame() - try: - twitter_card = context.get('twitter_card', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if twitter_card and twitter_card['use_twitter_cards']: - __M_writer(' \n') - if 'site:id' in twitter_card: - __M_writer(' \n') - elif 'site' in twitter_card: - __M_writer(' \n') - if 'creator:id' in twitter_card: - __M_writer(' \n') - elif 'creator' in twitter_card: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_meta_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - lang = context.get('lang', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(translations) > 1: - for langname in translations.keys(): - if langname != lang and post.is_translation_available(langname): - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_mathjax_script(context,post): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n') - if post.is_mathjax: - __M_writer(' \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_tags(context,post): - __M_caller = context.caller_stack._push_frame() - try: - _link = context.get('_link', UNDEFINED) - hidden_tags = context.get('hidden_tags', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if post.tags: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_open_graph_metadata(context,post): __M_caller = context.caller_stack._push_frame() try: - lang = context.get('lang', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) permalink = context.get('permalink', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + lang = context.get('lang', UNDEFINED) url_replacer = context.get('url_replacer', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_open_graph: @@ -192,8 +161,39 @@ def render_open_graph_metadata(context,post): context.caller_stack._pop_frame() +def render_twitter_card_information(context,post): + __M_caller = context.caller_stack._push_frame() + try: + twitter_card = context.get('twitter_card', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if twitter_card and twitter_card['use_twitter_cards']: + __M_writer(' \n') + if 'site:id' in twitter_card: + __M_writer(' \n') + elif 'site' in twitter_card: + __M_writer(' \n') + if 'creator:id' in twitter_card: + __M_writer(' \n') + elif 'creator' in twitter_card: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 71, "67": 71, "68": 72, "69": 73, "70": 73, "71": 73, "72": 74, "73": 75, "74": 75, "75": 75, "76": 76, "77": 77, "78": 77, "79": 77, "80": 79, "81": 80, "82": 80, "83": 80, "84": 81, "85": 82, "86": 82, "87": 82, "93": 3, "100": 3, "101": 4, "102": 5, "103": 6, "104": 7, "105": 7, "106": 7, "107": 7, "108": 7, "114": 87, "118": 87, "119": 88, "120": 89, "126": 13, "132": 13, "133": 14, "134": 15, "135": 16, "136": 17, "137": 18, "138": 18, "139": 18, "140": 18, "141": 18, "142": 21, "148": 42, "159": 42, "160": 43, "161": 44, "162": 44, "163": 44, "164": 45, "165": 45, "166": 46, "167": 46, "168": 47, "169": 48, "170": 48, "171": 48, "172": 49, "173": 50, "174": 50, "175": 50, "176": 52, "177": 53, "178": 53, "179": 53, "180": 55, "181": 60, "182": 61, "183": 61, "184": 61, "185": 63, "186": 64, "187": 65, "188": 65, "189": 65, "195": 189}, "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"} +{"source_encoding": "utf-8", "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 87, "36": 87, "37": 88, "38": 89, "44": 3, "51": 3, "52": 4, "53": 5, "54": 6, "55": 7, "56": 7, "57": 7, "58": 7, "59": 7, "65": 13, "71": 13, "72": 14, "73": 15, "74": 16, "75": 17, "76": 18, "77": 18, "78": 18, "79": 18, "80": 18, "81": 21, "87": 25, "92": 25, "93": 26, "94": 27, "95": 28, "96": 29, "97": 30, "98": 30, "99": 30, "100": 30, "101": 30, "102": 30, "103": 33, "104": 34, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 38, "117": 42, "128": 42, "129": 43, "130": 44, "131": 44, "132": 44, "133": 45, "134": 45, "135": 46, "136": 46, "137": 47, "138": 48, "139": 48, "140": 48, "141": 49, "142": 50, "143": 50, "144": 50, "145": 52, "146": 53, "147": 53, "148": 53, "149": 55, "150": 60, "151": 61, "152": 61, "153": 61, "154": 63, "155": 64, "156": 65, "157": 65, "158": 65, "164": 71, "169": 71, "170": 72, "171": 73, "172": 73, "173": 73, "174": 74, "175": 75, "176": 75, "177": 75, "178": 76, "179": 77, "180": 77, "181": 77, "182": 79, "183": 80, "184": 80, "185": 80, "186": 81, "187": 82, "188": 82, "189": 82, "195": 189}} __M_END_METADATA """ diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py index 6c2588a5..067d2dcf 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 = 1434006007.347452 +_modified_time = 1434009607.38229 _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('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'helper')] = ns - ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'comments')] = ns + ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'helper')] = ns + ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'pheader')] = 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) + comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') site_has_comments = context.get('site_has_comments', UNDEFINED) - post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) pheader = _mako_get_namespace(context, 'pheader') + post = context.get('post', UNDEFINED) + enable_comments = context.get('enable_comments', UNDEFINED) + messages = context.get('messages', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - enable_comments = context.get('enable_comments', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -62,15 +62,15 @@ def render_body(context,**pageargs): def render_content(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: + comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') site_has_comments = context.get('site_has_comments', UNDEFINED) - post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) pheader = _mako_get_namespace(context, 'pheader') + post = context.get('post', UNDEFINED) + enable_comments = context.get('enable_comments', UNDEFINED) + messages = context.get('messages', UNDEFINED) def content(): return render_content(context) - enable_comments = context.get('enable_comments', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n