diff --git a/.doit.db b/.doit.db
index 466862d1..ca385df0 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 dcabbd67..2c21265b 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 c75210fe..e3555539 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 c7ad7efa..18ab1cc4 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 5e878a34..6b93f40c 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 14a12ac1..5753bb98 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 5572ad7b..88906ee5 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 66d6fe34..6382cabd 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 1aa5fe8a..7e2780ad 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 5ce10c58..3b440e30 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 4aede3c5..ca38b01f 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 144d164a..173e3bfa 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 d9abca89..d69e4cbc 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 e0dbf916..3ab534f5 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 978d158a..c3e6ea77 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 0c61deba..59429041 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 a0b25812..947cada8 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 a5741b45..d7631650 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 37afa4e7..a05a4e7d 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 bc876d16..516d25c7 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 0d1ad20b..db4844ca 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 b52a8ac1..3f6481c6 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 c9ad85b2..95491fdb 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 9f4e1cd6..ab347556 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 fd702a03..ddf294d8 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 = 1434052807.1067142
+_modified_time = 1434056407.4150703
_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"}
+{"uri": "annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "source_encoding": "ascii"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py
index 1bc7ef27..3c8594de 100644
--- a/cache/.mako.tmp/base.tmpl.py
+++ b/cache/.mako.tmp/base.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434052807.0327053
+_modified_time = 1434056407.3407903
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
@@ -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, ['*'])
- base = _mako_get_namespace(context, 'base')
- show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
- annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
- post = _import_ns.get('post', context.get('post', UNDEFINED))
- search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
- def extra_js():
- return render_extra_js(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))
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
+ notes = _mako_get_namespace(context, 'notes')
+ blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
+ template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
+ base = _mako_get_namespace(context, 'base')
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
- show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
+ body_end = _import_ns.get('body_end', context.get('body_end', 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))
def belowtitle():
return render_belowtitle(context._locals(__M_locals))
- js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
- notes = _mako_get_namespace(context, 'notes')
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
- len = _import_ns.get('len', context.get('len', UNDEFINED))
- body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
- translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
- blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
+ def extra_js():
+ return render_extra_js(context._locals(__M_locals))
def content():
return render_content(context._locals(__M_locals))
- template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
+ content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
+ translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
+ show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
+ momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
+ show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
+ lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
+ abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
+ post = _import_ns.get('post', context.get('post', UNDEFINED))
+ len = _import_ns.get('len', context.get('len', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -162,8 +162,8 @@ def render_extra_js(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
- _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def extra_js():
return render_extra_js(context)
__M_writer = context.writer()
@@ -176,13 +176,13 @@ 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, ['*'])
- base = _mako_get_namespace(context, 'base')
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def belowtitle():
return render_belowtitle(context)
- translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
+ 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')
if len(translations) > 1:
@@ -199,8 +199,8 @@ 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, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def sourcelink():
return render_sourcelink(context)
__M_writer = context.writer()
@@ -213,8 +213,8 @@ 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, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def content():
return render_content(context)
__M_writer = context.writer()
@@ -227,8 +227,8 @@ def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
- _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def extra_head():
return render_extra_head(context)
__M_writer = context.writer()
@@ -240,6 +240,6 @@ def render_extra_head(context,**pageargs):
"""
__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, "190": 47, "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": 85, "198": 51, "226": 6, "175": 45, "187": 45, "188": 46, "189": 47, "153": 91, "191": 47, "192": 49, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 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, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "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"}
+{"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, "190": 47, "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, "150": 89, "161": 85, "198": 51, "226": 6, "175": 45, "187": 45, "188": 46, "189": 47, "153": 91, "191": 47, "192": 49, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 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, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "filename": "themes/bootstrap3/templates/base.tmpl", "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 0aa520b3..331e09e4 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 = 1434052807.07361
+_modified_time = 1434056407.3821802
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_translations', 'late_load_js', 'html_headstart', 'html_navigation_links', 'html_feedlinks', 'html_stylesheets']
+_exports = ['html_headstart', 'html_translations', 'html_stylesheets', 'html_feedlinks', 'late_load_js', 'html_navigation_links']
def render_body(context,**pageargs):
@@ -29,88 +29,32 @@ 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)
- _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('
')
- __M_writer(str(messages("LANGUAGE", langname)))
- __M_writer('\n')
- return ''
- finally:
- 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)
- lang = context.get('lang', UNDEFINED)
- colorbox_locales = context.get('colorbox_locales', UNDEFINED)
- use_bundles = context.get('use_bundles', 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_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
- is_rtl = context.get('is_rtl', UNDEFINED)
+ twitter_card = context.get('twitter_card', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
- description = context.get('description', UNDEFINED)
- def html_feedlinks():
- return render_html_feedlinks(context)
- favicons = context.get('favicons', UNDEFINED)
- nextlink = context.get('nextlink', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
- url_replacer = context.get('url_replacer', UNDEFINED)
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- extra_head_data = context.get('extra_head_data', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- use_open_graph = context.get('use_open_graph', UNDEFINED)
- abs_link = context.get('abs_link', UNDEFINED)
- mathjax_config = context.get('mathjax_config', UNDEFINED)
- blog_title = context.get('blog_title', UNDEFINED)
- striphtml = context.get('striphtml', UNDEFINED)
- prevlink = context.get('prevlink', UNDEFINED)
- twitter_card = context.get('twitter_card', UNDEFINED)
- title = context.get('title', UNDEFINED)
+ is_rtl = context.get('is_rtl', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
+ blog_title = context.get('blog_title', UNDEFINED)
+ mathjax_config = context.get('mathjax_config', UNDEFINED)
+ favicons = context.get('favicons', UNDEFINED)
+ nextlink = context.get('nextlink', UNDEFINED)
+ url_replacer = context.get('url_replacer', UNDEFINED)
+ extra_head_data = context.get('extra_head_data', UNDEFINED)
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
+ def html_feedlinks():
+ return render_html_feedlinks(context)
+ description = context.get('description', UNDEFINED)
+ prevlink = context.get('prevlink', UNDEFINED)
+ striphtml = context.get('striphtml', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ abs_link = context.get('abs_link', 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)
+ 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)
+ __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_feedlinks(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ rss_link = context.get('rss_link', 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_late_load_js(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ 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)
+ colorbox_locales = context.get('colorbox_locales', 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_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
- tuple = context.get('tuple', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
+ tuple = context.get('tuple', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for url, text in navigation_links[lang]:
@@ -233,76 +301,8 @@ def render_html_navigation_links(context):
context.caller_stack._pop_frame()
-def render_html_feedlinks(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- _link = context.get('_link', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- len = context.get('len', UNDEFINED)
- rss_link = context.get('rss_link', 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_stylesheets(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- annotations = context.get('annotations', UNDEFINED)
- post = context.get('post', UNDEFINED)
- has_custom_css = context.get('has_custom_css', UNDEFINED)
- notes = context.get('notes', UNDEFINED)
- use_cdn = context.get('use_cdn', 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()
-
-
"""
__M_BEGIN_METADATA
-{"uri": "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": 67, "64": 67, "65": 68, "66": 69, "67": 70, "68": 73, "69": 74, "70": 76, "71": 77, "72": 78, "73": 80, "74": 81, "75": 86, "76": 88, "77": 89, "78": 89, "79": 89, "80": 91, "81": 91, "82": 91, "88": 3, "115": 3, "116": 7, "117": 8, "118": 9, "119": 10, "120": 12, "121": 13, "122": 15, "123": 16, "124": 18, "125": 21, "126": 22, "127": 25, "128": 25, "129": 25, "130": 28, "131": 29, "132": 29, "133": 29, "134": 31, "135": 32, "136": 32, "137": 32, "138": 32, "139": 34, "140": 34, "141": 35, "142": 35, "143": 36, "144": 37, "145": 37, "146": 37, "147": 39, "148": 40, "149": 41, "150": 42, "151": 42, "152": 42, "153": 42, "154": 42, "155": 42, "156": 42, "157": 45, "158": 46, "159": 47, "160": 47, "161": 47, "162": 49, "163": 50, "164": 51, "165": 51, "166": 51, "167": 53, "168": 54, "169": 54, "170": 54, "171": 56, "172": 57, "173": 57, "174": 58, "175": 59, "176": 60, "177": 61, "178": 61, "179": 61, "180": 63, "181": 64, "182": 64, "188": 124, "198": 124, "199": 125, "200": 126, "201": 127, "202": 127, "203": 127, "204": 129, "205": 130, "206": 131, "207": 131, "208": 131, "209": 131, "210": 131, "211": 132, "212": 133, "213": 133, "214": 133, "215": 133, "216": 133, "217": 136, "218": 137, "219": 138, "220": 139, "221": 139, "222": 139, "223": 139, "224": 139, "225": 140, "226": 141, "227": 141, "228": 141, "229": 141, "230": 141, "236": 147, "245": 147, "246": 148, "247": 149, "248": 149, "249": 149, "250": 150, "251": 151, "252": 152, "253": 153, "254": 153, "255": 153, "256": 153, "257": 153, "258": 155, "259": 156, "260": 156, "261": 156, "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}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl"}
+{"uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 3, "59": 3, "60": 7, "61": 8, "62": 9, "63": 10, "64": 12, "65": 13, "66": 15, "67": 16, "68": 18, "69": 21, "70": 22, "71": 25, "72": 25, "73": 25, "74": 28, "75": 29, "76": 29, "77": 29, "78": 31, "79": 32, "80": 32, "81": 32, "82": 32, "83": 34, "84": 34, "85": 35, "86": 35, "87": 36, "88": 37, "89": 37, "90": 37, "91": 39, "92": 40, "93": 41, "94": 42, "95": 42, "96": 42, "97": 42, "98": 42, "99": 42, "100": 42, "101": 45, "102": 46, "103": 47, "104": 47, "105": 47, "106": 49, "107": 50, "108": 51, "109": 51, "110": 51, "111": 53, "112": 54, "113": 54, "114": 54, "115": 56, "116": 57, "117": 57, "118": 58, "119": 59, "120": 60, "121": 61, "122": 61, "123": 61, "124": 63, "125": 64, "126": 64, "132": 161, "140": 161, "141": 162, "142": 163, "143": 164, "144": 164, "145": 164, "146": 164, "147": 164, "148": 164, "149": 164, "155": 95, "165": 95, "166": 96, "167": 97, "168": 98, "169": 100, "170": 101, "171": 103, "172": 104, "173": 105, "174": 106, "175": 107, "176": 109, "177": 113, "178": 114, "179": 117, "180": 118, "181": 118, "182": 118, "183": 119, "184": 120, "185": 120, "186": 120, "192": 147, "201": 147, "202": 148, "203": 149, "204": 149, "205": 149, "206": 150, "207": 151, "208": 152, "209": 153, "210": 153, "211": 153, "212": 153, "213": 153, "214": 155, "215": 156, "216": 156, "217": 156, "223": 67, "232": 67, "233": 68, "234": 69, "235": 70, "236": 73, "237": 74, "238": 76, "239": 77, "240": 78, "241": 80, "242": 81, "243": 86, "244": 88, "245": 89, "246": 89, "247": 89, "248": 91, "249": 91, "250": 91, "256": 124, "266": 124, "267": 125, "268": 126, "269": 127, "270": 127, "271": 127, "272": 129, "273": 130, "274": 131, "275": 131, "276": 131, "277": 131, "278": 131, "279": 132, "280": 133, "281": 133, "282": 133, "283": 133, "284": 133, "285": 136, "286": 137, "287": 138, "288": 139, "289": 139, "290": 139, "291": 139, "292": 139, "293": 140, "294": 141, "295": 141, "296": 141, "297": 141, "298": 141, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "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 0d6aa4dd..cc6a8e44 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 = 1434052806.9476318
+_modified_time = 1434056407.2559147
_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_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link_script', 'comment_link', 'comment_form']
def _mako_get_namespace(context, name):
@@ -19,23 +19,23 @@ 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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'facebook')] = 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('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'googleplus')] = ns
+ ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'livefyre')] = ns
+
+ ns = runtime.TemplateNamespace('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('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'livefyre')] = 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('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'intensedebate')] = ns
@@ -61,109 +61,17 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_comment_form(context,url,title,identifier):
- __M_caller = context.caller_stack._push_frame()
- try:
- isso = _mako_get_namespace(context, 'isso')
- googleplus = _mako_get_namespace(context, 'googleplus')
- comment_system = context.get('comment_system', UNDEFINED)
- livefyre = _mako_get_namespace(context, 'livefyre')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- disqus = _mako_get_namespace(context, 'disqus')
- facebook = _mako_get_namespace(context, 'facebook')
- muut = _mako_get_namespace(context, 'muut')
- __M_writer = context.writer()
- __M_writer('\n')
- if comment_system == 'disqus':
- __M_writer(' ')
- __M_writer(str(disqus.comment_form(url, title, identifier)))
- __M_writer('\n')
- elif comment_system == 'livefyre':
- __M_writer(' ')
- __M_writer(str(livefyre.comment_form(url, title, identifier)))
- __M_writer('\n')
- elif comment_system == 'intensedebate':
- __M_writer(' ')
- __M_writer(str(intensedebate.comment_form(url, title, identifier)))
- __M_writer('\n')
- elif comment_system == 'muut':
- __M_writer(' ')
- __M_writer(str(muut.comment_form(url, title, identifier)))
- __M_writer('\n')
- elif comment_system == 'googleplus':
- __M_writer(' ')
- __M_writer(str(googleplus.comment_form(url, title, identifier)))
- __M_writer('\n')
- elif comment_system == 'facebook':
- __M_writer(' ')
- __M_writer(str(facebook.comment_form(url, title, identifier)))
- __M_writer('\n')
- elif comment_system == 'isso':
- __M_writer(' ')
- __M_writer(str(isso.comment_form(url, title, identifier)))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_comment_link(context,link,identifier):
- __M_caller = context.caller_stack._push_frame()
- try:
- isso = _mako_get_namespace(context, 'isso')
- googleplus = _mako_get_namespace(context, 'googleplus')
- comment_system = context.get('comment_system', UNDEFINED)
- livefyre = _mako_get_namespace(context, 'livefyre')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- disqus = _mako_get_namespace(context, 'disqus')
- facebook = _mako_get_namespace(context, 'facebook')
- muut = _mako_get_namespace(context, 'muut')
- __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:
- isso = _mako_get_namespace(context, 'isso')
googleplus = _mako_get_namespace(context, 'googleplus')
+ facebook = _mako_get_namespace(context, 'facebook')
comment_system = context.get('comment_system', UNDEFINED)
- livefyre = _mako_get_namespace(context, 'livefyre')
+ isso = _mako_get_namespace(context, 'isso')
+ muut = _mako_get_namespace(context, 'muut')
intensedebate = _mako_get_namespace(context, 'intensedebate')
disqus = _mako_get_namespace(context, 'disqus')
- facebook = _mako_get_namespace(context, 'facebook')
- muut = _mako_get_namespace(context, 'muut')
+ livefyre = _mako_get_namespace(context, 'livefyre')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@@ -199,8 +107,100 @@ def render_comment_link_script(context):
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')
+ comment_system = context.get('comment_system', UNDEFINED)
+ isso = _mako_get_namespace(context, 'isso')
+ muut = _mako_get_namespace(context, 'muut')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
+ disqus = _mako_get_namespace(context, 'disqus')
+ livefyre = _mako_get_namespace(context, 'livefyre')
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system == 'disqus':
+ __M_writer(' ')
+ __M_writer(str(disqus.comment_link(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_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')
+ comment_system = context.get('comment_system', UNDEFINED)
+ isso = _mako_get_namespace(context, 'isso')
+ muut = _mako_get_namespace(context, 'muut')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
+ livefyre = _mako_get_namespace(context, 'livefyre')
+ disqus = _mako_get_namespace(context, 'disqus')
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system == 'disqus':
+ __M_writer(' ')
+ __M_writer(str(disqus.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'livefyre':
+ __M_writer(' ')
+ __M_writer(str(livefyre.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'intensedebate':
+ __M_writer(' ')
+ __M_writer(str(intensedebate.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'muut':
+ __M_writer(' ')
+ __M_writer(str(muut.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'googleplus':
+ __M_writer(' ')
+ __M_writer(str(googleplus.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'facebook':
+ __M_writer(' ')
+ __M_writer(str(facebook.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'isso':
+ __M_writer(' ')
+ __M_writer(str(isso.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"uri": "comments_helper.tmpl", "line_map": {"22": 3, "25": 8, "28": 9, "31": 7, "34": 6, "37": 4, "40": 5, "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": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"}
+{"uri": "comments_helper.tmpl", "line_map": {"22": 9, "25": 7, "28": 4, "31": 8, "34": 6, "37": 3, "40": 5, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "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 88391d69..aa6ae9b3 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 = 1434052806.9721909
+_modified_time = 1434056407.2803395
_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_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link_script', 'comment_link', 'comment_form']
import json
@@ -29,11 +29,43 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_comment_form(context,url,title,identifier):
+def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system_id:
+ __M_writer(' \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()
+
+
+def render_comment_form(context,url,title,identifier):
+ __M_caller = context.caller_stack._push_frame()
+ try:
lang = context.get('lang', UNDEFINED)
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
@@ -61,40 +93,8 @@ def render_comment_form(context,url,title,identifier):
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()
-
-
"""
__M_BEGIN_METADATA
-{"uri": "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": 33, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"}
+{"uri": "comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "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 5318df67..99b121f4 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 = 1434052807.0093625
+_modified_time = 1434056407.317247
_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_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link_script', 'comment_link', 'comment_form']
def render_body(context,**pageargs):
@@ -25,6 +25,31 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_comment_link_script(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n\n\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_comment_link(context,link,identifier):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ __M_writer = context.writer()
+ __M_writer('\n