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