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