diff --git a/.doit.db b/.doit.db
index b9154fed..884b3141 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 b8baafe2..e92b4e5d 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 c627b0b7..83e3aa33 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 2e3f51aa..7be509c6 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 05d83d0e..0df12ee0 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 ba1a65cb..0cb9218c 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 74008f2f..1ccd5206 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 3c2671e0..348156f1 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 a22a6bbd..0f33bb80 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 31720f1b..5adf9f7d 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 10293ca4..81df7676 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 62119706..d7c01c30 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 65ac3573..bbd49c59 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 173d017c..71960cb6 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 4bb5a207..8b228d02 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 4e23bf27..8b0bf1c9 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 02eb62a3..99b37aad 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 efe2352d..0d844bfc 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 207663fa..731a238d 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 b5153afd..31e4a6db 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 16b9179c..dc8e43bf 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 6dc2db5e..cbb60239 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 2d5513f8..2c998f38 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 ac0ba454..296ee812 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 d40eb782..f07f427a 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 = 1433930407.3841364
+_modified_time = 1433934007.8724723
_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", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "uri": "annotation_helper.tmpl"}
+{"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}, "source_encoding": "ascii"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py
index 433e398d..3f207f04 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 = 1433930407.3108287
+_modified_time = 1433934007.7990863
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
_source_encoding = 'utf-8'
-_exports = ['extra_js', 'belowtitle', 'content', 'sourcelink', 'extra_head']
+_exports = ['belowtitle', 'content', 'extra_head', 'extra_js', 'sourcelink']
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, ['*'])
- base = _mako_get_namespace(context, 'base')
- lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
- show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
- annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', 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))
- logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
- search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
- abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- notes = _mako_get_namespace(context, 'notes')
- len = _import_ns.get('len', context.get('len', UNDEFINED))
- template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
- translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
post = _import_ns.get('post', context.get('post', UNDEFINED))
- def belowtitle():
- return render_belowtitle(context._locals(__M_locals))
- def content():
- return render_content(context._locals(__M_locals))
- 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))
+ blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
+ show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
def extra_js():
return render_extra_js(context._locals(__M_locals))
- content_footer = _import_ns.get('content_footer', context.get('content_footer', 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))
+ len = _import_ns.get('len', context.get('len', UNDEFINED))
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
+ logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
+ set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
+ content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
+ def belowtitle():
+ return render_belowtitle(context._locals(__M_locals))
+ translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
+ def content():
+ return render_content(context._locals(__M_locals))
+ lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
+ search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
+ base = _mako_get_namespace(context, 'base')
+ notes = _mako_get_namespace(context, 'notes')
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
+ template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -158,31 +158,17 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_extra_js(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- _import_ns = {}
- _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
- _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- def extra_js():
- return render_extra_js(context)
- __M_writer = context.writer()
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_belowtitle(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- len = _import_ns.get('len', context.get('len', UNDEFINED))
- translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
def belowtitle():
return render_belowtitle(context)
base = _mako_get_namespace(context, 'base')
+ len = _import_ns.get('len', context.get('len', UNDEFINED))
+ translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
@@ -209,20 +195,6 @@ 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, 'base')._populate(_import_ns, ['*'])
- _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- def sourcelink():
- return render_sourcelink(context)
- __M_writer = context.writer()
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -238,8 +210,36 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
+def render_extra_js(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _import_ns = {}
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
+ _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
+ def extra_js():
+ return render_extra_js(context)
+ __M_writer = context.writer()
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_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()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "190": 47, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 85, "198": 66, "226": 6, "175": 45, "187": 45, "188": 46, "189": 47, "153": 91, "191": 47, "192": 49, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 51, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "uri": "base.tmpl"}
+{"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": 85, "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": 51, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 66, "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}, "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py
index b17b4538..7a173357 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 = 1433930407.3514102
+_modified_time = 1433934007.8397036
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
-_exports = ['late_load_js', 'html_navigation_links', 'html_feedlinks', 'html_translations', 'html_stylesheets', 'html_headstart']
+_exports = ['html_translations', 'html_stylesheets', 'late_load_js', 'html_headstart', 'html_navigation_links', 'html_feedlinks']
def render_body(context,**pageargs):
@@ -29,125 +29,13 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_late_load_js(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- social_buttons_code = context.get('social_buttons_code', UNDEFINED)
- use_cdn = context.get('use_cdn', UNDEFINED)
- colorbox_locales = context.get('colorbox_locales', UNDEFINED)
- lang = context.get('lang', 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 \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:
- isinstance = context.get('isinstance', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- rel_link = context.get('rel_link', UNDEFINED)
- tuple = context.get('tuple', UNDEFINED)
- navigation_links = context.get('navigation_links', 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_feedlinks(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- rss_link = context.get('rss_link', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if rss_link:
- __M_writer(' ')
- __M_writer(str(rss_link))
- __M_writer('\n')
- elif generate_rss:
- if len(translations) > 1:
- for language in translations:
- __M_writer(' \n')
- else:
- __M_writer(' \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
- _link = context.get('_link', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
lang = context.get('lang', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for langname in translations.keys():
@@ -170,9 +58,9 @@ def render_html_stylesheets(context):
post = context.get('post', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
+ notes = context.get('notes', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
- notes = context.get('notes', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
@@ -201,32 +89,65 @@ def render_html_stylesheets(context):
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_cdn = context.get('use_cdn', UNDEFINED)
+ social_buttons_code = context.get('social_buttons_code', UNDEFINED)
+ lang = context.get('lang', 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 \n')
+ else:
+ __M_writer(' \n')
+ else:
+ if use_cdn:
+ __M_writer(' \n \n')
+ else:
+ __M_writer(' \n \n \n \n')
+ __M_writer(' \n')
+ if colorbox_locales[lang]:
+ __M_writer(' \n')
+ __M_writer(' ')
+ __M_writer(str(social_buttons_code))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_html_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
- def html_stylesheets():
- return render_html_stylesheets(context)
- lang = context.get('lang', UNDEFINED)
+ blog_title = context.get('blog_title', UNDEFINED)
+ favicons = context.get('favicons', UNDEFINED)
+ mathjax_config = context.get('mathjax_config', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
- is_rtl = context.get('is_rtl', UNDEFINED)
- nextlink = context.get('nextlink', UNDEFINED)
- prevlink = context.get('prevlink', UNDEFINED)
- use_cdn = context.get('use_cdn', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
- favicons = context.get('favicons', UNDEFINED)
- blog_title = context.get('blog_title', UNDEFINED)
+ use_cdn = context.get('use_cdn', UNDEFINED)
+ twitter_card = context.get('twitter_card', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ is_rtl = context.get('is_rtl', UNDEFINED)
+ striphtml = context.get('striphtml', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
+ def html_stylesheets():
+ return render_html_stylesheets(context)
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ nextlink = context.get('nextlink', UNDEFINED)
+ extra_head_data = context.get('extra_head_data', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ prevlink = context.get('prevlink', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
- description = context.get('description', UNDEFINED)
- extra_head_data = context.get('extra_head_data', UNDEFINED)
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- striphtml = context.get('striphtml', UNDEFINED)
- mathjax_config = context.get('mathjax_config', UNDEFINED)
- use_open_graph = context.get('use_open_graph', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
- title = context.get('title', UNDEFINED)
- twitter_card = context.get('twitter_card', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
+ __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_feedlinks(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _link = context.get('_link', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ rss_link = context.get('rss_link', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if rss_link:
+ __M_writer(' ')
+ __M_writer(str(rss_link))
+ __M_writer('\n')
+ elif generate_rss:
+ if len(translations) > 1:
+ for language in translations:
+ __M_writer(' \n')
+ else:
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 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": 147, "122": 147, "123": 148, "124": 149, "125": 149, "126": 149, "127": 150, "128": 151, "129": 152, "130": 153, "131": 153, "132": 153, "133": 153, "134": 153, "135": 155, "136": 156, "137": 156, "138": 156, "144": 161, "152": 161, "153": 162, "154": 163, "155": 164, "156": 164, "157": 164, "158": 164, "159": 164, "160": 164, "161": 164, "167": 95, "177": 95, "178": 96, "179": 97, "180": 98, "181": 100, "182": 101, "183": 103, "184": 104, "185": 105, "186": 106, "187": 107, "188": 109, "189": 113, "190": 114, "191": 117, "192": 118, "193": 118, "194": 118, "195": 119, "196": 120, "197": 120, "198": 120, "204": 3, "231": 3, "232": 7, "233": 8, "234": 9, "235": 10, "236": 12, "237": 13, "238": 15, "239": 16, "240": 18, "241": 21, "242": 22, "243": 25, "244": 25, "245": 25, "246": 28, "247": 29, "248": 29, "249": 29, "250": 31, "251": 32, "252": 32, "253": 32, "254": 32, "255": 34, "256": 34, "257": 35, "258": 35, "259": 36, "260": 37, "261": 37, "262": 37, "263": 39, "264": 40, "265": 41, "266": 42, "267": 42, "268": 42, "269": 42, "270": 42, "271": 42, "272": 42, "273": 45, "274": 46, "275": 47, "276": 47, "277": 47, "278": 49, "279": 50, "280": 51, "281": 51, "282": 51, "283": 53, "284": 54, "285": 54, "286": 54, "287": 56, "288": 57, "289": 57, "290": 58, "291": 59, "292": 60, "293": 61, "294": 61, "295": 61, "296": 63, "297": 64, "298": 64, "304": 298}, "uri": "base_helper.tmpl"}
+{"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": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 95, "65": 95, "66": 96, "67": 97, "68": 98, "69": 100, "70": 101, "71": 103, "72": 104, "73": 105, "74": 106, "75": 107, "76": 109, "77": 113, "78": 114, "79": 117, "80": 118, "81": 118, "82": 118, "83": 119, "84": 120, "85": 120, "86": 120, "92": 67, "101": 67, "102": 68, "103": 69, "104": 70, "105": 73, "106": 74, "107": 76, "108": 77, "109": 78, "110": 80, "111": 81, "112": 86, "113": 88, "114": 89, "115": 89, "116": 89, "117": 91, "118": 91, "119": 91, "125": 3, "152": 3, "153": 7, "154": 8, "155": 9, "156": 10, "157": 12, "158": 13, "159": 15, "160": 16, "161": 18, "162": 21, "163": 22, "164": 25, "165": 25, "166": 25, "167": 28, "168": 29, "169": 29, "170": 29, "171": 31, "172": 32, "173": 32, "174": 32, "175": 32, "176": 34, "177": 34, "178": 35, "179": 35, "180": 36, "181": 37, "182": 37, "183": 37, "184": 39, "185": 40, "186": 41, "187": 42, "188": 42, "189": 42, "190": 42, "191": 42, "192": 42, "193": 42, "194": 45, "195": 46, "196": 47, "197": 47, "198": 47, "199": 49, "200": 50, "201": 51, "202": 51, "203": 51, "204": 53, "205": 54, "206": 54, "207": 54, "208": 56, "209": 57, "210": 57, "211": 58, "212": 59, "213": 60, "214": 61, "215": 61, "216": 61, "217": 63, "218": 64, "219": 64, "225": 124, "235": 124, "236": 125, "237": 126, "238": 127, "239": 127, "240": 127, "241": 129, "242": 130, "243": 131, "244": 131, "245": 131, "246": 131, "247": 131, "248": 132, "249": 133, "250": 133, "251": 133, "252": 133, "253": 133, "254": 136, "255": 137, "256": 138, "257": 139, "258": 139, "259": 139, "260": 139, "261": 139, "262": 140, "263": 141, "264": 141, "265": 141, "266": 141, "267": 141, "273": 147, "282": 147, "283": 148, "284": 149, "285": 149, "286": 149, "287": 150, "288": 151, "289": 152, "290": 153, "291": 153, "292": 153, "293": 153, "294": 153, "295": 155, "296": 156, "297": 156, "298": 156, "304": 298}, "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper.tmpl.py b/cache/.mako.tmp/comments_helper.tmpl.py
index 95a44573..554c388e 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 = 1433930407.2257946
+_modified_time = 1433934007.7138782
_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_script', 'comment_link']
+_exports = ['comment_form', 'comment_link', '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('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'muut')] = ns
-
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'facebook')] = ns
+ ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'muut')] = ns
+
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'googleplus')] = 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('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('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'intensedebate')] = 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('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'isso')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -64,14 +64,14 @@ def render_body(context,**pageargs):
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
- facebook = _mako_get_namespace(context, 'facebook')
- comment_system = context.get('comment_system', UNDEFINED)
- isso = _mako_get_namespace(context, 'isso')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- muut = _mako_get_namespace(context, 'muut')
- googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
+ isso = _mako_get_namespace(context, 'isso')
+ comment_system = context.get('comment_system', UNDEFINED)
+ facebook = _mako_get_namespace(context, 'facebook')
+ muut = _mako_get_namespace(context, 'muut')
livefyre = _mako_get_namespace(context, 'livefyre')
+ googleplus = _mako_get_namespace(context, 'googleplus')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@@ -107,63 +107,17 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
-def render_comment_link_script(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- facebook = _mako_get_namespace(context, 'facebook')
- comment_system = context.get('comment_system', UNDEFINED)
- isso = _mako_get_namespace(context, 'isso')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- muut = _mako_get_namespace(context, 'muut')
- googleplus = _mako_get_namespace(context, 'googleplus')
- disqus = _mako_get_namespace(context, 'disqus')
- livefyre = _mako_get_namespace(context, 'livefyre')
- __M_writer = context.writer()
- __M_writer('\n')
- if comment_system == 'disqus':
- __M_writer(' ')
- __M_writer(str(disqus.comment_link_script()))
- __M_writer('\n')
- elif comment_system == 'livefyre':
- __M_writer(' ')
- __M_writer(str(livefyre.comment_link_script()))
- __M_writer('\n')
- elif comment_system == 'intensedebate':
- __M_writer(' ')
- __M_writer(str(intensedebate.comment_link_script()))
- __M_writer('\n')
- elif comment_system == 'muut':
- __M_writer(' ')
- __M_writer(str(muut.comment_link_script()))
- __M_writer('\n')
- elif comment_system == 'googleplus':
- __M_writer(' ')
- __M_writer(str(googleplus.comment_link_script()))
- __M_writer('\n')
- elif comment_system == 'facebook':
- __M_writer(' ')
- __M_writer(str(facebook.comment_link_script()))
- __M_writer('\n')
- elif comment_system == 'isso':
- __M_writer(' ')
- __M_writer(str(isso.comment_link_script()))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
- facebook = _mako_get_namespace(context, 'facebook')
- comment_system = context.get('comment_system', UNDEFINED)
- isso = _mako_get_namespace(context, 'isso')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- muut = _mako_get_namespace(context, 'muut')
- googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
+ isso = _mako_get_namespace(context, 'isso')
+ comment_system = context.get('comment_system', UNDEFINED)
+ facebook = _mako_get_namespace(context, 'facebook')
+ muut = _mako_get_namespace(context, 'muut')
livefyre = _mako_get_namespace(context, 'livefyre')
+ googleplus = _mako_get_namespace(context, 'googleplus')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@@ -199,8 +153,54 @@ def render_comment_link(context,link,identifier):
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')
+ isso = _mako_get_namespace(context, 'isso')
+ comment_system = context.get('comment_system', UNDEFINED)
+ facebook = _mako_get_namespace(context, 'facebook')
+ muut = _mako_get_namespace(context, 'muut')
+ livefyre = _mako_get_namespace(context, 'livefyre')
+ googleplus = _mako_get_namespace(context, 'googleplus')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system == 'disqus':
+ __M_writer(' ')
+ __M_writer(str(disqus.comment_link_script()))
+ __M_writer('\n')
+ elif comment_system == 'livefyre':
+ __M_writer(' ')
+ __M_writer(str(livefyre.comment_link_script()))
+ __M_writer('\n')
+ elif comment_system == 'intensedebate':
+ __M_writer(' ')
+ __M_writer(str(intensedebate.comment_link_script()))
+ __M_writer('\n')
+ elif comment_system == 'muut':
+ __M_writer(' ')
+ __M_writer(str(muut.comment_link_script()))
+ __M_writer('\n')
+ elif comment_system == 'googleplus':
+ __M_writer(' ')
+ __M_writer(str(googleplus.comment_link_script()))
+ __M_writer('\n')
+ elif comment_system == 'facebook':
+ __M_writer(' ')
+ __M_writer(str(facebook.comment_link_script()))
+ __M_writer('\n')
+ elif comment_system == 'isso':
+ __M_writer(' ')
+ __M_writer(str(isso.comment_link_script()))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 6, "25": 8, "28": 7, "31": 3, "34": 9, "37": 4, "40": 5, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}, "uri": "comments_helper.tmpl"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl", "line_map": {"22": 8, "25": 6, "28": 7, "31": 4, "34": 5, "37": 3, "40": 9, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper_disqus.tmpl.py b/cache/.mako.tmp/comments_helper_disqus.tmpl.py
index 9965a8b6..9eb67d19 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 = 1433930407.2502105
+_modified_time = 1433934007.7383792
_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_script', 'comment_link']
+_exports = ['comment_form', 'comment_link', 'comment_link_script']
import json
@@ -61,21 +61,6 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
-def render_comment_link_script(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if comment_system_id:
- __M_writer(' \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@@ -93,8 +78,23 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
+def render_comment_link_script(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system_id:
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 40, "69": 40, "70": 41, "71": 42, "72": 42, "73": 42, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "uri": "comments_helper_disqus.tmpl"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 33, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/comments_helper_facebook.tmpl.py b/cache/.mako.tmp/comments_helper_facebook.tmpl.py
index 9a81fe30..d5ef2dc9 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 = 1433930407.2873464
+_modified_time = 1433934007.7756257
_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_script', 'comment_link']
+_exports = ['comment_form', 'comment_link', 'comment_link_script']
def render_body(context,**pageargs):
@@ -40,6 +40,18 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
+def render_comment_link(context,link,identifier):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ __M_writer = context.writer()
+ __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)
- parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
+ post = context.get('post', UNDEFINED)
def extra_head():
return render_extra_head(context)
+ parent = context.get('parent', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -181,8 +160,29 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
+def render_sourcelink(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ messages = context.get('messages', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ show_sourcelink = context.get('show_sourcelink', 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", "filename": "themes/bootstrap/templates/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": 4, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 2, "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"}
+{"filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "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}, "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py
index ac0e5877..2daad1ca 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 = 1433930407.5490267
+_modified_time = 1433934008.0377324
_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_title', 'html_post_header', 'html_sourcelink', 'html_translations']
+_exports = ['html_sourcelink', 'html_post_header', 'html_title', 'html_translations']
def _mako_get_namespace(context, name):
@@ -19,12 +19,12 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
- 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('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
+ ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -41,19 +41,20 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_html_title(context):
+def render_html_sourcelink(context):
__M_caller = context.caller_stack._push_frame()
try:
+ messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
- title = context.get('title', UNDEFINED)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
- if title and not post.meta('hidetitle'):
- __M_writer(' \n')
+ if show_sourcelink:
+ __M_writer(' ')
+ __M_writer(str(messages("Source")))
+ __M_writer('
\n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -62,17 +63,17 @@ def render_html_title(context):
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- comments = _mako_get_namespace(context, 'comments')
- date_format = context.get('date_format', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ post = context.get('post', UNDEFINED)
def html_translations(post):
return render_html_translations(context,post)
- def html_title():
- return render_html_title(context)
- post = context.get('post', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
+ def html_title():
+ return render_html_title(context)
+ comments = _mako_get_namespace(context, 'comments')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n