diff --git a/.doit.db b/.doit.db
index 0feb21d9..6feed492 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 6e8f5791..aaf26b82 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 d46dc402..3cc2eff5 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 0cc2f5cc..917f602c 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 6890c050..4b77b5bb 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 c3434ad9..3826ef34 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 35a8d13a..da7a7258 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 c3881acb..9d6d52f7 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 69b22f8d..bc2f974f 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 2f9d4d1b..2dbec873 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 dc424647..8fb12103 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 1935d4cc..0d2a4b04 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 1ea8393c..48099666 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 a5afa1fa..26a93fdd 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 3743763d..9d29a5eb 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 d437d030..60e18d09 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 102c672a..cdc4410b 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 820e8b65..66951537 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 76d526d9..15c393b3 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 91b2a7b3..3fc0e7d6 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 e0a81540..29214419 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 fe944195..e359b2be 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 efa62029..694b2813 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 e34aa1e4..823fa6f6 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 3016c407..48cd20e5 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 = 1434139207.367126
+_modified_time = 1434142807.7085676
_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 = ['css', 'code']
+_exports = ['code', 'css']
def render_body(context,**pageargs):
@@ -24,16 +24,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_css(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- __M_writer = context.writer()
- __M_writer('\n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_code(context):
__M_caller = context.caller_stack._push_frame()
try:
@@ -44,8 +34,18 @@ def render_code(context):
context.caller_stack._pop_frame()
+def render_css(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ __M_writer = context.writer()
+ __M_writer('\n \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "ascii", "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", "uri": "annotation_helper.tmpl"}
+{"line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "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 40c7bfc8..589fa9b3 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 = 1434139207.2943456
+_modified_time = 1434142807.6355314
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
_source_encoding = 'utf-8'
-_exports = ['belowtitle', 'extra_js', 'content', 'extra_head', 'sourcelink']
+_exports = ['belowtitle', 'sourcelink', 'extra_head', 'content', 'extra_js']
def _mako_get_namespace(context, name):
@@ -32,37 +32,37 @@ def render_body(context,**pageargs):
_import_ns = {}
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- len = _import_ns.get('len', context.get('len', UNDEFINED))
- content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
- lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
- show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
- post = _import_ns.get('post', context.get('post', UNDEFINED))
+ template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
- translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
- set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
- logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
- date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
- annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
- show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
- abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
- notes = _mako_get_namespace(context, 'notes')
- js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- def extra_js():
- return render_extra_js(context._locals(__M_locals))
- base = _mako_get_namespace(context, 'base')
- template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
def belowtitle():
return render_belowtitle(context._locals(__M_locals))
- body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
+ date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
+ show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
+ set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
+ js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
+ post = _import_ns.get('post', context.get('post', UNDEFINED))
+ abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
+ notes = _mako_get_namespace(context, 'notes')
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
+ translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
+ annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
+ logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
+ len = _import_ns.get('len', context.get('len', UNDEFINED))
+ lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
+ show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
+ base = _mako_get_namespace(context, 'base')
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
+ body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
+ def extra_js():
+ return render_extra_js(context._locals(__M_locals))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -166,9 +166,9 @@ def render_belowtitle(context,**pageargs):
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def belowtitle():
return render_belowtitle(context)
- base = _mako_get_namespace(context, 'base')
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
len = _import_ns.get('len', context.get('len', UNDEFINED))
+ base = _mako_get_namespace(context, 'base')
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
@@ -181,28 +181,14 @@ def render_belowtitle(context,**pageargs):
context.caller_stack._pop_frame()
-def render_extra_js(context,**pageargs):
+def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- def extra_js():
- return render_extra_js(context)
- __M_writer = context.writer()
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- _import_ns = {}
- _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
- _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- def content():
- return render_content(context)
+ def sourcelink():
+ return render_sourcelink(context)
__M_writer = context.writer()
return ''
finally:
@@ -224,14 +210,28 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
-def render_sourcelink(context,**pageargs):
+def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- def sourcelink():
- return render_sourcelink(context)
+ def content():
+ return render_content(context)
+ __M_writer = context.writer()
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_extra_js(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _import_ns = {}
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
+ _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
+ def extra_js():
+ return render_extra_js(context)
__M_writer = context.writer()
return ''
finally:
@@ -240,6 +240,6 @@ def render_sourcelink(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 45, "198": 66, "227": 51, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 85, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 6, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "221": 6, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "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, "213": 66, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 45, "207": 6, "198": 6, "227": 85, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 51, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "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 2e13d39e..ddf4c55a 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 = 1434139207.3345287
+_modified_time = 1434142807.675942
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_headstart', 'html_translations', 'html_feedlinks', 'html_stylesheets', 'html_navigation_links', 'late_load_js']
+_exports = ['late_load_js', 'html_navigation_links', 'html_stylesheets', 'html_headstart', 'html_feedlinks', 'html_translations']
def render_body(context,**pageargs):
@@ -29,32 +29,150 @@ def render_body(context,**pageargs):
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)
+ colorbox_locales = context.get('colorbox_locales', UNDEFINED)
+ social_buttons_code = context.get('social_buttons_code', UNDEFINED)
+ use_cdn = context.get('use_cdn', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if use_bundles:
+ 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:
+ permalink = context.get('permalink', UNDEFINED)
+ navigation_links = context.get('navigation_links', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ rel_link = context.get('rel_link', UNDEFINED)
+ tuple = context.get('tuple', UNDEFINED)
+ isinstance = context.get('isinstance', 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_stylesheets(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ use_bundles = context.get('use_bundles', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ notes = context.get('notes', UNDEFINED)
+ has_custom_css = context.get('has_custom_css', UNDEFINED)
+ use_cdn = context.get('use_cdn', UNDEFINED)
+ annotations = context.get('annotations', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if use_bundles:
+ if use_cdn:
+ __M_writer(' \n \n')
+ else:
+ __M_writer(' \n')
+ else:
+ if use_cdn:
+ __M_writer(' \n')
+ else:
+ __M_writer(' \n')
+ __M_writer(' \n \n \n \n')
+ if has_custom_css:
+ __M_writer(' \n')
+ if annotations and post and not post.meta('noannotations'):
+ __M_writer(' ')
+ __M_writer(str(notes.css()))
+ __M_writer('\n')
+ elif not annotations and post and post.meta('annotations'):
+ __M_writer(' ')
+ __M_writer(str(notes.css()))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_html_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
+ striphtml = context.get('striphtml', UNDEFINED)
+ def html_feedlinks():
+ return render_html_feedlinks(context)
+ abs_link = context.get('abs_link', UNDEFINED)
+ nextlink = context.get('nextlink', UNDEFINED)
+ extra_head_data = context.get('extra_head_data', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ twitter_card = context.get('twitter_card', UNDEFINED)
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
lang = context.get('lang', UNDEFINED)
- description = context.get('description', UNDEFINED)
- use_open_graph = context.get('use_open_graph', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- striphtml = context.get('striphtml', UNDEFINED)
- extra_head_data = context.get('extra_head_data', UNDEFINED)
- twitter_card = context.get('twitter_card', UNDEFINED)
- abs_link = context.get('abs_link', UNDEFINED)
- comment_system = context.get('comment_system', UNDEFINED)
- is_rtl = context.get('is_rtl', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
- prevlink = context.get('prevlink', UNDEFINED)
- use_cdn = context.get('use_cdn', UNDEFINED)
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- nextlink = context.get('nextlink', UNDEFINED)
- title = context.get('title', UNDEFINED)
- def html_feedlinks():
- return render_html_feedlinks(context)
- url_replacer = context.get('url_replacer', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
+ comment_system = context.get('comment_system', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
+ prevlink = context.get('prevlink', UNDEFINED)
+ url_replacer = context.get('url_replacer', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ use_cdn = context.get('use_cdn', UNDEFINED)
+ is_rtl = context.get('is_rtl', 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_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
- translations = context.get('translations', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
- len = context.get('len', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
_link = context.get('_link', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if rss_link:
@@ -183,119 +278,24 @@ def render_html_feedlinks(context):
context.caller_stack._pop_frame()
-def render_html_stylesheets(context):
+def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
- post = context.get('post', UNDEFINED)
- notes = context.get('notes', UNDEFINED)
- has_custom_css = context.get('has_custom_css', UNDEFINED)
- use_cdn = context.get('use_cdn', UNDEFINED)
- annotations = context.get('annotations', UNDEFINED)
- use_bundles = context.get('use_bundles', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if use_bundles:
- if use_cdn:
- __M_writer(' \n \n')
- else:
- __M_writer(' \n')
- else:
- if use_cdn:
- __M_writer(' \n')
- else:
- __M_writer(' \n')
- __M_writer(' \n \n \n \n')
- if has_custom_css:
- __M_writer(' \n')
- if annotations and post and not post.meta('noannotations'):
- __M_writer(' ')
- __M_writer(str(notes.css()))
- __M_writer('\n')
- elif not annotations and post and post.meta('annotations'):
- __M_writer(' ')
- __M_writer(str(notes.css()))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_html_navigation_links(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- isinstance = context.get('isinstance', UNDEFINED)
- tuple = context.get('tuple', UNDEFINED)
- navigation_links = context.get('navigation_links', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
lang = context.get('lang', UNDEFINED)
- rel_link = context.get('rel_link', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
+ messages = context.get('messages', 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_late_load_js(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- colorbox_locales = context.get('colorbox_locales', UNDEFINED)
- use_bundles = context.get('use_bundles', UNDEFINED)
- social_buttons_code = context.get('social_buttons_code', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- use_cdn = context.get('use_cdn', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if use_bundles:
- if use_cdn:
- __M_writer(' \n \n \n')
- else:
- __M_writer(' \n')
- else:
- if use_cdn:
- __M_writer(' \n \n')
- else:
- __M_writer(' \n \n \n \n')
- __M_writer(' \n')
- if colorbox_locales[lang]:
- __M_writer(' \n')
- __M_writer(' ')
- __M_writer(str(social_buttons_code))
- __M_writer('\n')
+ 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()
@@ -303,6 +303,6 @@ def render_late_load_js(context):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 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": 147, "164": 147, "165": 148, "166": 149, "167": 149, "168": 149, "169": 150, "170": 151, "171": 152, "172": 153, "173": 153, "174": 153, "175": 153, "176": 153, "177": 155, "178": 156, "179": 156, "180": 156, "186": 95, "196": 95, "197": 96, "198": 97, "199": 98, "200": 100, "201": 101, "202": 103, "203": 104, "204": 105, "205": 106, "206": 107, "207": 109, "208": 113, "209": 114, "210": 117, "211": 118, "212": 118, "213": 118, "214": 119, "215": 120, "216": 120, "217": 120, "223": 124, "233": 124, "234": 125, "235": 126, "236": 127, "237": 127, "238": 127, "239": 129, "240": 130, "241": 131, "242": 131, "243": 131, "244": 131, "245": 131, "246": 132, "247": 133, "248": 133, "249": 133, "250": 133, "251": 133, "252": 136, "253": 137, "254": 138, "255": 139, "256": 139, "257": 139, "258": 139, "259": 139, "260": 140, "261": 141, "262": 141, "263": 141, "264": 141, "265": 141, "271": 67, "280": 67, "281": 68, "282": 69, "283": 70, "284": 73, "285": 74, "286": 76, "287": 77, "288": 78, "289": 80, "290": 81, "291": 86, "292": 88, "293": 89, "294": 89, "295": 89, "296": 91, "297": 91, "298": 91, "304": 298}, "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": 67, "41": 67, "42": 68, "43": 69, "44": 70, "45": 73, "46": 74, "47": 76, "48": 77, "49": 78, "50": 80, "51": 81, "52": 86, "53": 88, "54": 89, "55": 89, "56": 89, "57": 91, "58": 91, "59": 91, "65": 124, "75": 124, "76": 125, "77": 126, "78": 127, "79": 127, "80": 127, "81": 129, "82": 130, "83": 131, "84": 131, "85": 131, "86": 131, "87": 131, "88": 132, "89": 133, "90": 133, "91": 133, "92": 133, "93": 133, "94": 136, "95": 137, "96": 138, "97": 139, "98": 139, "99": 139, "100": 139, "101": 139, "102": 140, "103": 141, "104": 141, "105": 141, "106": 141, "107": 141, "113": 95, "123": 95, "124": 96, "125": 97, "126": 98, "127": 100, "128": 101, "129": 103, "130": 104, "131": 105, "132": 106, "133": 107, "134": 109, "135": 113, "136": 114, "137": 117, "138": 118, "139": 118, "140": 118, "141": 119, "142": 120, "143": 120, "144": 120, "150": 3, "177": 3, "178": 7, "179": 8, "180": 9, "181": 10, "182": 12, "183": 13, "184": 15, "185": 16, "186": 18, "187": 21, "188": 22, "189": 25, "190": 25, "191": 25, "192": 28, "193": 29, "194": 29, "195": 29, "196": 31, "197": 32, "198": 32, "199": 32, "200": 32, "201": 34, "202": 34, "203": 35, "204": 35, "205": 36, "206": 37, "207": 37, "208": 37, "209": 39, "210": 40, "211": 41, "212": 42, "213": 42, "214": 42, "215": 42, "216": 42, "217": 42, "218": 42, "219": 45, "220": 46, "221": 47, "222": 47, "223": 47, "224": 49, "225": 50, "226": 51, "227": 51, "228": 51, "229": 53, "230": 54, "231": 54, "232": 54, "233": 56, "234": 57, "235": 57, "236": 58, "237": 59, "238": 60, "239": 61, "240": 61, "241": 61, "242": 63, "243": 64, "244": 64, "250": 147, "259": 147, "260": 148, "261": 149, "262": 149, "263": 149, "264": 150, "265": 151, "266": 152, "267": 153, "268": 153, "269": 153, "270": 153, "271": 153, "272": 155, "273": 156, "274": 156, "275": 156, "281": 161, "289": 161, "290": 162, "291": 163, "292": 164, "293": 164, "294": 164, "295": 164, "296": 164, "297": 164, "298": 164, "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 75491993..f59e16ad 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 = 1434139207.209328
+_modified_time = 1434142807.548616
_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', 'comment_link_script', 'comment_form']
def _mako_get_namespace(context, name):
@@ -19,14 +19,11 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
- 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('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('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
@@ -34,11 +31,14 @@ 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('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('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('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'googleplus')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
@@ -61,63 +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:
- comment_system = context.get('comment_system', UNDEFINED)
- livefyre = _mako_get_namespace(context, 'livefyre')
- googleplus = _mako_get_namespace(context, 'googleplus')
- facebook = _mako_get_namespace(context, 'facebook')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- disqus = _mako_get_namespace(context, 'disqus')
- isso = _mako_get_namespace(context, 'isso')
- 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:
- comment_system = context.get('comment_system', UNDEFINED)
- livefyre = _mako_get_namespace(context, 'livefyre')
- googleplus = _mako_get_namespace(context, 'googleplus')
facebook = _mako_get_namespace(context, 'facebook')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- disqus = _mako_get_namespace(context, 'disqus')
isso = _mako_get_namespace(context, 'isso')
+ disqus = _mako_get_namespace(context, 'disqus')
+ livefyre = _mako_get_namespace(context, 'livefyre')
+ comment_system = context.get('comment_system', UNDEFINED)
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
muut = _mako_get_namespace(context, 'muut')
+ googleplus = _mako_get_namespace(context, 'googleplus')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@@ -156,14 +110,14 @@ def render_comment_link(context,link,identifier):
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
- comment_system = context.get('comment_system', UNDEFINED)
- livefyre = _mako_get_namespace(context, 'livefyre')
- googleplus = _mako_get_namespace(context, 'googleplus')
facebook = _mako_get_namespace(context, 'facebook')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- disqus = _mako_get_namespace(context, 'disqus')
isso = _mako_get_namespace(context, 'isso')
+ disqus = _mako_get_namespace(context, 'disqus')
+ livefyre = _mako_get_namespace(context, 'livefyre')
+ comment_system = context.get('comment_system', UNDEFINED)
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
muut = _mako_get_namespace(context, 'muut')
+ googleplus = _mako_get_namespace(context, 'googleplus')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@@ -199,8 +153,54 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+def render_comment_form(context,url,title,identifier):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ facebook = _mako_get_namespace(context, 'facebook')
+ isso = _mako_get_namespace(context, 'isso')
+ disqus = _mako_get_namespace(context, 'disqus')
+ livefyre = _mako_get_namespace(context, 'livefyre')
+ comment_system = context.get('comment_system', UNDEFINED)
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
+ muut = _mako_get_namespace(context, 'muut')
+ googleplus = _mako_get_namespace(context, 'googleplus')
+ __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
-{"source_encoding": "utf-8", "line_map": {"22": 4, "25": 7, "28": 6, "31": 5, "34": 3, "37": 9, "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": 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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl"}
+{"line_map": {"22": 8, "25": 9, "28": 5, "31": 3, "34": 4, "37": 6, "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": 29, "76": 29, "77": 30, "78": 31, "79": 31, "80": 31, "81": 32, "82": 33, "83": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 36, "90": 37, "91": 37, "92": 37, "93": 38, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 42, "102": 43, "103": 43, "104": 43, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "uri": "comments_helper.tmpl", "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 b3a0cb70..146c61f4 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 = 1434139207.2335877
+_modified_time = 1434142807.5734992
_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', 'comment_link_script', 'comment_form']
import json
@@ -29,38 +29,6 @@ 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:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if comment_system_id:
- __M_writer(' \n \n \n Comments powered by \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@@ -93,8 +61,40 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+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)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system_id:
+ __M_writer(' \n \n \n Comments powered by \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 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}, "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": 33, "37": 33, "38": 34, "39": 35, "40": 35, "41": 35, "42": 35, "43": 35, "49": 40, "54": 40, "55": 41, "56": 42, "57": 42, "58": 42, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "uri": "comments_helper_disqus.tmpl", "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 e1cb3570..788a9b26 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 = 1434139207.2713606
+_modified_time = 1434142807.612174
_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', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@@ -25,21 +25,6 @@ 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:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n\n\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:
@@ -65,8 +50,23 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+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)
+ __M_writer = context.writer()
+ __M_writer('\n\n\n\n\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 32, "43": 28, "15": 0, "48": 29, "49": 29, "20": 26, "21": 30, "22": 62, "55": 32, "68": 62, "47": 28, "28": 2, "61": 46, "62": 46}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "comments_helper_facebook.tmpl"}
+{"line_map": {"32": 28, "33": 29, "34": 29, "59": 8, "68": 62, "40": 32, "60": 8, "45": 32, "46": 46, "15": 0, "20": 26, "21": 30, "22": 62, "58": 2, "47": 46, "28": 28, "61": 25, "62": 25, "53": 2}, "uri": "comments_helper_facebook.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py
index 4243a0c0..8822c88c 100644
--- a/cache/.mako.tmp/comments_helper_googleplus.tmpl.py
+++ b/cache/.mako.tmp/comments_helper_googleplus.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.265598
+_modified_time = 1434142807.6061673
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl'
_template_uri = 'comments_helper_googleplus.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@@ -25,18 +25,6 @@ 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:
- __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:
@@ -59,8 +47,20 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+def render_comment_form(context,url,title,identifier):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ __M_writer = context.writer()
+ __M_writer('\n\n\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"32": 2, "33": 5, "34": 5, "40": 11, "44": 11, "45": 12, "46": 12, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 2, "62": 56}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "comments_helper_googleplus.tmpl"}
+{"line_map": {"32": 11, "33": 12, "34": 12, "54": 2, "40": 16, "44": 16, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 11, "62": 56}, "uri": "comments_helper_googleplus.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py
index 3f47bae9..e61b77dd 100644
--- a/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py
+++ b/cache/.mako.tmp/comments_helper_intensedebate.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.251199
+_modified_time = 1434142807.5917034
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl'
_template_uri = 'comments_helper_intensedebate.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@@ -25,23 +25,6 @@ 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:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- __M_writer = context.writer()
- __M_writer("\n\n\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:
@@ -73,8 +56,25 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+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)
+ __M_writer = context.writer()
+ __M_writer("\n\n\n\n\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"66": 24, "70": 24, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 13, "50": 13, "51": 14, "52": 14, "53": 14, "54": 14, "55": 16, "56": 16, "57": 17, "58": 17, "59": 18, "60": 18}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "comments_helper_intensedebate.tmpl"}
+{"line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 13, "33": 13, "34": 14, "35": 14, "36": 14, "37": 14, "38": 16, "39": 16, "40": 17, "41": 17, "42": 18, "43": 18, "49": 24, "53": 24, "59": 2}, "uri": "comments_helper_intensedebate.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper_isso.tmpl.py b/cache/.mako.tmp/comments_helper_isso.tmpl.py
index 5370f051..a669bbce 100644
--- a/cache/.mako.tmp/comments_helper_isso.tmpl.py
+++ b/cache/.mako.tmp/comments_helper_isso.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.2791839
+_modified_time = 1434142807.6200697
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl'
_template_uri = 'comments_helper_isso.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@@ -25,25 +25,6 @@ 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:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if comment_system_id:
- __M_writer(' \n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@@ -76,8 +57,27 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+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)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system_id:
+ __M_writer(' \n \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"67": 16, "68": 17, "69": 18, "70": 18, "71": 18, "72": 18, "73": 18, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 9, "52": 9, "53": 10, "54": 11, "55": 11, "56": 11, "62": 16}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "comments_helper_isso.tmpl"}
+{"line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 9, "33": 9, "34": 10, "35": 11, "36": 11, "37": 11, "43": 16, "48": 16, "49": 17, "50": 18, "51": 18, "52": 18, "53": 18, "54": 18, "60": 2}, "uri": "comments_helper_isso.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py
index d5ccbcf9..bf3ab17f 100644
--- a/cache/.mako.tmp/comments_helper_livefyre.tmpl.py
+++ b/cache/.mako.tmp/comments_helper_livefyre.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.2436085
+_modified_time = 1434142807.5839155
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl'
_template_uri = 'comments_helper_livefyre.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@@ -25,21 +25,6 @@ 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:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n\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:
@@ -67,8 +52,23 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+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)
+ __M_writer = context.writer()
+ __M_writer('\n\n\n\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"64": 31, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 31, "43": 23, "15": 0, "48": 23, "49": 24, "50": 24, "51": 25, "20": 21, "21": 28, "22": 33, "52": 25, "54": 25, "28": 2, "53": 25}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "comments_helper_livefyre.tmpl"}
+{"line_map": {"64": 11, "33": 23, "34": 24, "35": 24, "36": 25, "37": 25, "38": 25, "39": 25, "60": 2, "70": 64, "45": 31, "15": 0, "49": 31, "20": 21, "21": 28, "22": 33, "55": 2, "28": 23, "61": 7, "62": 7, "63": 11}, "uri": "comments_helper_livefyre.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper_muut.tmpl.py b/cache/.mako.tmp/comments_helper_muut.tmpl.py
index 0c458083..3cc1991a 100644
--- a/cache/.mako.tmp/comments_helper_muut.tmpl.py
+++ b/cache/.mako.tmp/comments_helper_muut.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.2599819
+_modified_time = 1434142807.6004972
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl'
_template_uri = 'comments_helper_muut.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_form', 'comment_link', 'comment_link_script']
+_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@@ -26,23 +26,6 @@ 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:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n ')
- __M_writer(str(comment_system_id))
- __M_writer(' forums\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@@ -63,8 +46,25 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+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)
+ __M_writer = context.writer()
+ __M_writer('\n ')
+ __M_writer(str(comment_system_id))
+ __M_writer(' forums\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 7, "15": 0, "50": 7, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "60": 11, "29": 3}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl"}
+{"line_map": {"33": 7, "66": 60, "54": 3, "39": 11, "57": 4, "43": 11, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 7}, "uri": "comments_helper_muut.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/crumbs.tmpl.py b/cache/.mako.tmp/crumbs.tmpl.py
index 83448950..9ed3cdae 100644
--- a/cache/.mako.tmp/crumbs.tmpl.py
+++ b/cache/.mako.tmp/crumbs.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.4042366
+_modified_time = 1434142807.7461262
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl'
_template_uri = 'crumbs.tmpl'
@@ -52,6 +52,6 @@ def render_bar(context,crumbs):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "uri": "crumbs.tmpl"}
+{"line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "uri": "crumbs.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/index.tmpl.py b/cache/.mako.tmp/index.tmpl.py
index e519f69c..a1b94c9e 100644
--- a/cache/.mako.tmp/index.tmpl.py
+++ b/cache/.mako.tmp/index.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.173707
+_modified_time = 1434142807.5127912
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl'
_template_uri = 'index.tmpl'
_source_encoding = 'utf-8'
-_exports = ['content', 'extra_head', 'content_header']
+_exports = ['content', 'content_header', 'extra_head']
def _mako_get_namespace(context, name):
@@ -32,21 +32,21 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- posts = context.get('posts', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- index_file = context.get('index_file', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
- date_format = context.get('date_format', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ def content_header():
+ return render_content_header(context._locals(__M_locals))
+ index_file = context.get('index_file', UNDEFINED)
+ index_teasers = context.get('index_teasers', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
def extra_head():
return render_extra_head(context._locals(__M_locals))
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- index_teasers = context.get('index_teasers', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- def content_header():
- return render_content_header(context._locals(__M_locals))
+ posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -69,16 +69,16 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- posts = context.get('posts', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
- date_format = context.get('date_format', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
site_has_comments = context.get('site_has_comments', UNDEFINED)
- index_teasers = context.get('index_teasers', UNDEFINED)
- def content():
- return render_content(context)
def content_header():
return render_content_header(context)
+ index_teasers = context.get('index_teasers', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ def content():
+ return render_content(context)
+ posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
@@ -130,15 +130,26 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
+def render_content_header(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ def content_header():
+ return render_content_header(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:
- posts = context.get('posts', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
index_file = context.get('index_file', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
def extra_head():
return render_extra_head(context)
+ posts = context.get('posts', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -152,19 +163,8 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
-def render_content_header(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- def content_header():
- return render_content_header(context)
- __M_writer = context.writer()
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"133": 6, "143": 6, "144": 7, "145": 7, "146": 8, "147": 9, "148": 9, "149": 9, "22": 2, "25": 3, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl"}
+{"line_map": {"133": 14, "144": 6, "22": 2, "25": 3, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "uri": "index.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/index_helper.tmpl.py b/cache/.mako.tmp/index_helper.tmpl.py
index 7112dfef..b8384b62 100644
--- a/cache/.mako.tmp/index_helper.tmpl.py
+++ b/cache/.mako.tmp/index_helper.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.1921792
+_modified_time = 1434142807.5314093
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl'
_template_uri = 'index_helper.tmpl'
@@ -40,9 +40,9 @@ def render_mathjax_script(context,posts):
def render_html_pager(context):
__M_caller = context.caller_stack._push_frame()
try:
+ nextlink = context.get('nextlink', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
messages = context.get('messages', UNDEFINED)
- nextlink = context.get('nextlink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if prevlink or nextlink:
@@ -67,6 +67,6 @@ def render_html_pager(context):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "uri": "index_helper.tmpl"}
+{"line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "uri": "index_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list.tmpl.py b/cache/.mako.tmp/list.tmpl.py
index 420de87c..312fac30 100644
--- a/cache/.mako.tmp/list.tmpl.py
+++ b/cache/.mako.tmp/list.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.4251997
+_modified_time = 1434142807.7675674
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
_template_uri = 'list.tmpl'
@@ -27,11 +27,11 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- title = context.get('title', UNDEFINED)
items = context.get('items', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -47,11 +47,11 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
def content():
return render_content(context)
- title = context.get('title', UNDEFINED)
items = context.get('items', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(str(title))
@@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "uri": "list.tmpl"}
+{"line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "uri": "list.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py
index 68e0f165..52ca9754 100644
--- a/cache/.mako.tmp/list_post.tmpl.py
+++ b/cache/.mako.tmp/list_post.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.4391615
+_modified_time = 1434142807.7814748
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
@@ -27,12 +27,12 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- date_format = context.get('date_format', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- title = context.get('title', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- date_format = context.get('date_format', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
def content():
return render_content(context)
- title = context.get('title', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(str(title))
@@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "uri": "list_post.tmpl"}
+{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "uri": "list_post.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 7faf7f3c..f10d9d7d 100644
--- a/cache/.mako.tmp/listing.tmpl.py
+++ b/cache/.mako.tmp/listing.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.3929708
+_modified_time = 1434142807.7347696
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
_source_encoding = 'utf-8'
-_exports = ['content', 'sourcelink']
+_exports = ['sourcelink', 'content']
def _mako_get_namespace(context, name):
@@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
@@ -60,6 +60,28 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_sourcelink(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _import_ns = {}
+ _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ def sourcelink():
+ return render_sourcelink(context)
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if source_link:
+ __M_writer('
\n ')
+ __M_writer(str(messages("Source")))
+ __M_writer('\n \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -68,10 +90,10 @@ def render_content(context,**pageargs):
ui = _mako_get_namespace(context, 'ui')
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
def content():
return render_content(context)
- code = _import_ns.get('code', context.get('code', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(ui.bar(crumbs)))
@@ -100,30 +122,8 @@ def render_content(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, 'ui')._populate(_import_ns, ['bar'])
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context)
- __M_writer = context.writer()
- __M_writer('\n')
- if source_link:
- __M_writer(' \n ')
- __M_writer(str(messages("Source")))
- __M_writer('\n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"}
+{"line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "uri": "listing.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index 7d22abe0..c1c90a60 100644
--- a/cache/.mako.tmp/post.tmpl.py
+++ b/cache/.mako.tmp/post.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.466557
+_modified_time = 1434142807.809121
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['content', 'extra_head', 'sourcelink']
+_exports = ['content', 'sourcelink', 'extra_head']
def _mako_get_namespace(context, name):
@@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
- ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'pheader')] = ns
-
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
+ ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'pheader')] = ns
+
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
@@ -35,18 +35,18 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
- pheader = _mako_get_namespace(context, 'pheader')
- messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ post = context.get('post', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
__M_writer = context.writer()
@@ -77,14 +77,14 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- post = context.get('post', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
+ comments = _mako_get_namespace(context, 'comments')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ post = context.get('post', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
def content():
return render_content(context)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
+ __M_writer(str(messages("Source")))
+ __M_writer('\n \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- post = context.get('post', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
def extra_head():
return render_extra_head(context)
+ post = context.get('post', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -160,29 +181,8 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
-def render_sourcelink(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- post = context.get('post', UNDEFINED)
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context)
- __M_writer = context.writer()
- __M_writer('\n')
- if show_sourcelink:
- __M_writer(' \n ')
- __M_writer(str(messages("Source")))
- __M_writer('\n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"128": 9, "129": 10, "130": 10, "131": 10, "132": 12, "133": 13, "134": 13, "135": 13, "136": 15, "137": 15, "138": 15, "139": 16, "140": 17, "141": 17, "142": 17, "143": 17, "144": 17, "145": 19, "146": 20, "147": 20, "148": 20, "149": 20, "22": 2, "151": 22, "152": 22, "25": 3, "154": 23, "155": 23, "28": 4, "157": 24, "150": 20, "34": 0, "163": 50, "156": 24, "172": 50, "173": 51, "174": 52, "175": 53, "176": 53, "177": 53, "178": 53, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 7, "153": 22, "125": 7, "126": 8, "127": 8}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl"}
+{"line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 2, "151": 10, "152": 10, "25": 4, "154": 13, "155": 13, "28": 3, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "uri": "post.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py
index 5bbe5bfb..beebf486 100644
--- a/cache/.mako.tmp/post_header.tmpl.py
+++ b/cache/.mako.tmp/post_header.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434139207.5309167
+_modified_time = 1434142807.8736308
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_post_header', 'html_translations', 'html_title', 'html_sourcelink']
+_exports = ['html_translations', 'html_title', 'html_post_header', 'html_sourcelink']
def _mako_get_namespace(context, name):
@@ -41,20 +41,66 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_html_translations(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ lang = context.get('lang', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if len(post.translated_to) > 1:
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_html_title(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ title = context.get('title', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if title and not post.meta('hidetitle'):
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- date_format = context.get('date_format', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ def html_sourcelink():
+ return render_html_sourcelink(context)
+ def html_title():
+ return render_html_title(context)
comments = _mako_get_namespace(context, 'comments')
+ post = context.get('post', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def html_translations(post):
return render_html_translations(context,post)
- def html_sourcelink():
- return render_html_sourcelink(context)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
- def html_title():
- return render_html_title(context)
+ date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n