diff --git a/.doit.db b/.doit.db index 10c0de7d..c31df158 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 357d3065..4e177494 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 10809fd7..ffc4ee9b 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 b79c083d..418ccb22 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 9e0426d0..7aaf1ac4 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 053f02a6..187b31f0 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 b916ade6..8b38e67f 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 5d9ecbe9..f186c573 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 7f79c9c9..b0d155aa 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 b366ba9c..bdc29b20 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 c88fabb9..e32d58b5 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 322d60b2..b70694d5 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 bb34715d..b291152a 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 28ecec02..5e69388b 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 53f177c9..e0f89ea8 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 f5465a5a..6278b832 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 786ebf96..2411ca4c 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 27e06931..f5c268a5 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 9aa9b3ae..6c290854 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 ba0dd68e..9376c8cc 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 af14844e..6663c0d5 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 c57d3141..858edeb0 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 1af70f1e..77c577c0 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 a2f38096..bb92938f 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 effe8254..75a1701d 100644 --- a/cache/.mako.tmp/annotation_helper.tmpl.py +++ b/cache/.mako.tmp/annotation_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434027607.5010386 +_modified_time = 1434031207.7828057 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl' _template_uri = 'annotation_helper.tmpl' _source_encoding = 'ascii' -_exports = ['code', 'css'] +_exports = ['css', 'code'] def render_body(context,**pageargs): @@ -24,16 +24,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_code(context): - __M_caller = context.caller_stack._push_frame() - try: - __M_writer = context.writer() - __M_writer('\n \n \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_css(context): __M_caller = context.caller_stack._push_frame() try: @@ -44,8 +34,18 @@ def render_css(context): context.caller_stack._pop_frame() +def render_code(context): + __M_caller = context.caller_stack._push_frame() + try: + __M_writer = context.writer() + __M_writer('\n \n \n \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "source_encoding": "ascii", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"} +{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "uri": "annotation_helper.tmpl", "source_encoding": "ascii", "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 40e336ca..5cb4fd02 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 = 1434027607.4276347 +_modified_time = 1434031207.7101562 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base.tmpl' _template_uri = 'base.tmpl' _source_encoding = 'utf-8' -_exports = ['extra_js', 'sourcelink', 'extra_head', 'content', 'belowtitle'] +_exports = ['content', 'extra_head', 'belowtitle', 'sourcelink', 'extra_js'] def _mako_get_namespace(context, name): @@ -32,37 +32,37 @@ def render_body(context,**pageargs): _import_ns = {} _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) - template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) - date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) - search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) - len = _import_ns.get('len', context.get('len', UNDEFINED)) - def content(): - return render_content(context._locals(__M_locals)) - show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED)) - notes = _mako_get_namespace(context, 'notes') - set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) - post = _import_ns.get('post', context.get('post', UNDEFINED)) - logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) - js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) def extra_js(): return render_extra_js(context._locals(__M_locals)) - blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED)) - body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', 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)) + blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED)) + def extra_head(): + return render_extra_head(context._locals(__M_locals)) content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED)) - abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) - show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED)) + logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED)) + search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED)) def belowtitle(): return render_belowtitle(context._locals(__M_locals)) + post = _import_ns.get('post', context.get('post', UNDEFINED)) + template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) + show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED)) + def content(): + return render_content(context._locals(__M_locals)) base = _mako_get_namespace(context, 'base') + notes = _mako_get_namespace(context, 'notes') + date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED)) annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED)) + js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED)) + abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED)) + lang = _import_ns.get('lang', context.get('lang', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -158,28 +158,14 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_extra_js(context,**pageargs): +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 extra_js(): - return render_extra_js(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, 'base')._populate(_import_ns, ['*']) - _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - def sourcelink(): - return render_sourcelink(context) + def content(): + return render_content(context) __M_writer = context.writer() return '' finally: @@ -201,31 +187,17 @@ def render_extra_head(context,**pageargs): context.caller_stack._pop_frame() -def render_content(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, '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_belowtitle(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: _import_ns = {} _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) - len = _import_ns.get('len', context.get('len', UNDEFINED)) - translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) base = _mako_get_namespace(context, 'base') def belowtitle(): return render_belowtitle(context) + translations = _import_ns.get('translations', context.get('translations', UNDEFINED)) + len = _import_ns.get('len', context.get('len', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') if len(translations) > 1: @@ -238,8 +210,36 @@ def render_belowtitle(context,**pageargs): context.caller_stack._pop_frame() +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'base')._populate(_import_ns, ['*']) + _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*']) + def sourcelink(): + return render_sourcelink(context) + __M_writer = context.writer() + return '' + finally: + context.caller_stack._pop_frame() + + +def render_extra_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() + + """ __M_BEGIN_METADATA -{"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, "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": 45, "150": 89, "230": 45, "161": 85, "198": 6, "241": 235, "175": 51, "189": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 66, "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}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base.tmpl"} +{"filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl", "source_encoding": "utf-8", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "213": 51, "190": 45, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 66, "207": 49, "227": 85, "175": 6, "206": 47, "184": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "202": 45, "203": 46, "204": 47, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "205": 47, "109": 49, "110": 50, "111": 51, "241": 227, "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 00a31635..c2547229 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 = 1434027607.4683073 +_modified_time = 1434031207.7503169 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/base_helper.tmpl' _template_uri = 'base_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_headstart', 'late_load_js', 'html_stylesheets', 'html_navigation_links', 'html_feedlinks', 'html_translations'] +_exports = ['html_stylesheets', 'html_headstart', 'html_feedlinks', 'html_translations', 'late_load_js', 'html_navigation_links'] def render_body(context,**pageargs): @@ -29,30 +29,67 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_html_stylesheets(context): + __M_caller = context.caller_stack._push_frame() + try: + use_cdn = context.get('use_cdn', UNDEFINED) + annotations = context.get('annotations', UNDEFINED) + post = context.get('post', UNDEFINED) + use_bundles = context.get('use_bundles', UNDEFINED) + notes = context.get('notes', UNDEFINED) + has_custom_css = context.get('has_custom_css', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if use_bundles: + if use_cdn: + __M_writer(' \n \n') + else: + __M_writer(' \n') + else: + if use_cdn: + __M_writer(' \n') + else: + __M_writer(' \n') + __M_writer(' \n \n \n \n') + if has_custom_css: + __M_writer(' \n') + if annotations and post and not post.meta('noannotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + elif not annotations and post and post.meta('annotations'): + __M_writer(' ') + __M_writer(str(notes.css())) + __M_writer('\n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_headstart(context): __M_caller = context.caller_stack._push_frame() try: - twitter_card = context.get('twitter_card', UNDEFINED) - prevlink = context.get('prevlink', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - mathjax_config = context.get('mathjax_config', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) - use_cdn = context.get('use_cdn', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) - nextlink = context.get('nextlink', UNDEFINED) - def html_feedlinks(): - return render_html_feedlinks(context) - blog_title = context.get('blog_title', UNDEFINED) - comment_system = context.get('comment_system', UNDEFINED) - is_rtl = context.get('is_rtl', UNDEFINED) def html_stylesheets(): return render_html_stylesheets(context) + permalink = context.get('permalink', UNDEFINED) + use_cdn = context.get('use_cdn', UNDEFINED) title = context.get('title', UNDEFINED) - extra_head_data = context.get('extra_head_data', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) + is_rtl = context.get('is_rtl', UNDEFINED) + prevlink = context.get('prevlink', UNDEFINED) + blog_title = context.get('blog_title', UNDEFINED) + def html_feedlinks(): + return render_html_feedlinks(context) + comment_system = context.get('comment_system', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + nextlink = context.get('nextlink', UNDEFINED) description = context.get('description', UNDEFINED) - comment_system_id = context.get('comment_system_id', UNDEFINED) favicons = context.get('favicons', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) + twitter_card = context.get('twitter_card', UNDEFINED) + comment_system_id = context.get('comment_system_id', UNDEFINED) + extra_head_data = context.get('extra_head_data', UNDEFINED) + mathjax_config = context.get('mathjax_config', UNDEFINED) abs_link = context.get('abs_link', UNDEFINED) lang = context.get('lang', UNDEFINED) __M_writer = context.writer() @@ -129,13 +166,67 @@ def render_html_headstart(context): context.caller_stack._pop_frame() +def render_html_feedlinks(context): + __M_caller = context.caller_stack._push_frame() + try: + generate_rss = context.get('generate_rss', UNDEFINED) + rss_link = context.get('rss_link', UNDEFINED) + _link = context.get('_link', UNDEFINED) + translations = context.get('translations', UNDEFINED) + len = context.get('len', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if rss_link: + __M_writer(' ') + __M_writer(str(rss_link)) + __M_writer('\n') + elif generate_rss: + if len(translations) > 1: + for language in translations: + __M_writer(' \n') + else: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_translations(context): + __M_caller = context.caller_stack._push_frame() + try: + messages = context.get('messages', UNDEFINED) + _link = context.get('_link', UNDEFINED) + translations = context.get('translations', UNDEFINED) + lang = context.get('lang', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + for langname in translations.keys(): + if langname != lang: + __M_writer('