diff --git a/.doit.db b/.doit.db
index 9352b752..18fd8a20 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 811026f7..1793174e 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 6ec4404d..d2f9b58c 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 72b90946..af2986e9 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 263d9608..e3366816 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 32c76862..afe7509d 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 d6213bf6..788a0649 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 dc8d855b..21ce850d 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 388de09f..7796c7ab 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 af9241c0..dd3ce540 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 c48a353a..c70c70ad 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 f1059073..ef5e0481 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 b916e442..dbbb8f66 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 3c82cade..0ac5a6c4 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 4951e136..c155d046 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 59a74f45..453e51c1 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 06e22902..18130413 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 dc680d5d..5ad53078 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 5a2b9045..9f1614e2 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 2d23d60a..771320c4 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 8286b360..c4ccaa11 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 52719a74..9859b3c6 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 f0deb70f..769d084b 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 31a5f537..f803ce88 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 0c895587..7e329c83 100644
--- a/cache/.mako.tmp/annotation_helper.tmpl.py
+++ b/cache/.mako.tmp/annotation_helper.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434092407.2033646
+_modified_time = 1434096007.83671
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl'
_template_uri = 'annotation_helper.tmpl'
@@ -46,6 +46,6 @@ def render_css(context):
"""
__M_BEGIN_METADATA
-{"uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "source_encoding": "ascii"}
+{"source_encoding": "ascii", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/base.tmpl.py b/cache/.mako.tmp/base.tmpl.py
index 6cde1210..a91995ee 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 = 1434092407.1296532
+_modified_time = 1434096007.7625067
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
_source_encoding = 'utf-8'
-_exports = ['belowtitle', 'content', 'extra_head', 'sourcelink', 'extra_js']
+_exports = ['sourcelink', 'extra_js', 'belowtitle', 'extra_head', 'content']
def _mako_get_namespace(context, name):
@@ -19,50 +19,50 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
- ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'base')] = ns
-
ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'notes')] = ns
+ ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'base')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
- _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
- notes = _mako_get_namespace(context, 'notes')
- show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
- logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
- lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
- js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
- def content():
- return render_content(context._locals(__M_locals))
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- base = _mako_get_namespace(context, 'base')
- def belowtitle():
- return render_belowtitle(context._locals(__M_locals))
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
- translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
- body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
- date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
- set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
- show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
def extra_head():
return render_extra_head(context._locals(__M_locals))
+ show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
+ abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
+ 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))
+ body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
+ set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
+ lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
+ post = _import_ns.get('post', context.get('post', UNDEFINED))
+ base = _mako_get_namespace(context, 'base')
+ annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
def extra_js():
return render_extra_js(context._locals(__M_locals))
+ def belowtitle():
+ return render_belowtitle(context._locals(__M_locals))
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
- blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
- post = _import_ns.get('post', context.get('post', UNDEFINED))
+ js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ notes = _mako_get_namespace(context, 'notes')
len = _import_ns.get('len', context.get('len', UNDEFINED))
- annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
- abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
+ translations = _import_ns.get('translations', context.get('translations', 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))
+ def content():
+ return render_content(context._locals(__M_locals))
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
+ blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -158,16 +158,44 @@ 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, 'notes')._populate(_import_ns, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
+ def sourcelink():
+ return render_sourcelink(context)
+ __M_writer = context.writer()
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_extra_js(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _import_ns = {}
+ _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
+ def 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, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
+ base = _mako_get_namespace(context, 'base')
def belowtitle():
return render_belowtitle(context)
len = _import_ns.get('len', context.get('len', UNDEFINED))
- base = _mako_get_namespace(context, 'base')
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
@@ -181,26 +209,12 @@ def render_belowtitle(context,**pageargs):
context.caller_stack._pop_frame()
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- _import_ns = {}
- _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
- _mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
- def content():
- return render_content(context)
- __M_writer = context.writer()
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
- _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
+ _mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def extra_head():
return render_extra_head(context)
__M_writer = context.writer()
@@ -210,28 +224,14 @@ 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)
- __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)
+ def content():
+ return render_content(context)
__M_writer = context.writer()
return ''
finally:
@@ -240,6 +240,6 @@ def render_extra_js(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "213": 51, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 45, "207": 6, "198": 6, "227": 85, "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"}
+{"source_encoding": "utf-8", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "150": 89, "161": 51, "227": 66, "175": 85, "206": 49, "189": 45, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "201": 45, "202": 46, "203": 47, "204": 47, "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, "205": 47, "109": 49, "110": 50, "111": 51, "241": 227, "221": 6, "212": 6, "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"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/base_helper.tmpl.py b/cache/.mako.tmp/base_helper.tmpl.py
index b7680d52..1362d7e0 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 = 1434092407.1707995
+_modified_time = 1434096007.80396
_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_translations', 'html_feedlinks', 'html_navigation_links', 'html_headstart', 'html_stylesheets']
+_exports = ['html_translations', 'html_feedlinks', 'late_load_js', 'html_stylesheets', 'html_headstart', 'html_navigation_links']
def render_body(context,**pageargs):
@@ -29,14 +29,68 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_html_translations(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ messages = context.get('messages', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ for langname in translations.keys():
+ if langname != lang:
+ __M_writer('
')
+ __M_writer(str(messages("LANGUAGE", langname)))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_html_feedlinks(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ rss_link = context.get('rss_link', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ len = context.get('len', 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()
+
+
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
- lang = context.get('lang', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
- use_bundles = context.get('use_bundles', UNDEFINED)
- colorbox_locales = context.get('colorbox_locales', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
+ colorbox_locales = context.get('colorbox_locales', UNDEFINED)
+ use_bundles = context.get('use_bundles', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
@@ -62,103 +116,38 @@ def render_late_load_js(context):
context.caller_stack._pop_frame()
-def render_html_translations(context):
+def render_html_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
- lang = context.get('lang', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ annotations = context.get('annotations', UNDEFINED)
+ notes = context.get('notes', UNDEFINED)
+ use_cdn = context.get('use_cdn', UNDEFINED)
+ has_custom_css = context.get('has_custom_css', UNDEFINED)
+ use_bundles = context.get('use_bundles', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
- for langname in translations.keys():
- if langname != lang:
- __M_writer(' ')
- __M_writer(str(messages("LANGUAGE", langname)))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_html_feedlinks(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- translations = context.get('translations', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- len = context.get('len', 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:
+ if use_bundles:
+ if use_cdn:
+ __M_writer(' \n \n')
+ else:
+ __M_writer(' \n')
+ else:
+ if use_cdn:
+ __M_writer(' \n')
+ else:
+ __M_writer(' \n')
+ __M_writer(' \n \n \n \n')
+ if has_custom_css:
+ __M_writer(' \n')
+ if annotations and post and not post.meta('noannotations'):
__M_writer(' ')
- __M_writer(str(rss_link))
+ __M_writer(str(notes.css()))
+ __M_writer('\n')
+ elif not annotations and post and post.meta('annotations'):
+ __M_writer(' ')
+ __M_writer(str(notes.css()))
__M_writer('\n')
- elif generate_rss:
- if len(translations) > 1:
- for language in translations:
- __M_writer(' \n')
- else:
- __M_writer(' \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_html_navigation_links(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- tuple = context.get('tuple', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- isinstance = context.get('isinstance', UNDEFINED)
- rel_link = context.get('rel_link', UNDEFINED)
- navigation_links = context.get('navigation_links', 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()
@@ -167,29 +156,29 @@ def render_html_navigation_links(context):
def render_html_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
- extra_head_data = context.get('extra_head_data', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- description = context.get('description', UNDEFINED)
+ abs_link = context.get('abs_link', UNDEFINED)
+ nextlink = context.get('nextlink', UNDEFINED)
+ is_rtl = context.get('is_rtl', UNDEFINED)
title = context.get('title', UNDEFINED)
- comment_system = context.get('comment_system', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
- url_replacer = context.get('url_replacer', UNDEFINED)
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- use_open_graph = context.get('use_open_graph', UNDEFINED)
- nextlink = context.get('nextlink', UNDEFINED)
- blog_title = context.get('blog_title', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
- is_rtl = context.get('is_rtl', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
+ url_replacer = context.get('url_replacer', UNDEFINED)
+ twitter_card = context.get('twitter_card', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
+ comment_system = context.get('comment_system', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
- abs_link = context.get('abs_link', UNDEFINED)
- twitter_card = context.get('twitter_card', UNDEFINED)
+ extra_head_data = context.get('extra_head_data', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ blog_title = context.get('blog_title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n\n \n')
+ for url, text in navigation_links[lang]:
+ if isinstance(url, tuple):
+ __M_writer(' ')
+ __M_writer(str(text))
+ __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')
+ if rel_link(permalink, url) == "#":
+ __M_writer(' ')
+ __M_writer(str(text))
+ __M_writer('\n')
+ else:
+ __M_writer(' ')
+ __M_writer(str(text))
+ __M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -303,6 +303,6 @@ def render_html_stylesheets(context):
"""
__M_BEGIN_METADATA
-{"uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 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": 161, "73": 161, "74": 162, "75": 163, "76": 164, "77": 164, "78": 164, "79": 164, "80": 164, "81": 164, "82": 164, "88": 147, "97": 147, "98": 148, "99": 149, "100": 149, "101": 149, "102": 150, "103": 151, "104": 152, "105": 153, "106": 153, "107": 153, "108": 153, "109": 153, "110": 155, "111": 156, "112": 156, "113": 156, "119": 124, "129": 124, "130": 125, "131": 126, "132": 127, "133": 127, "134": 127, "135": 129, "136": 130, "137": 131, "138": 131, "139": 131, "140": 131, "141": 131, "142": 132, "143": 133, "144": 133, "145": 133, "146": 133, "147": 133, "148": 136, "149": 137, "150": 138, "151": 139, "152": 139, "153": 139, "154": 139, "155": 139, "156": 140, "157": 141, "158": 141, "159": 141, "160": 141, "161": 141, "167": 3, "194": 3, "195": 7, "196": 8, "197": 9, "198": 10, "199": 12, "200": 13, "201": 15, "202": 16, "203": 18, "204": 21, "205": 22, "206": 25, "207": 25, "208": 25, "209": 28, "210": 29, "211": 29, "212": 29, "213": 31, "214": 32, "215": 32, "216": 32, "217": 32, "218": 34, "219": 34, "220": 35, "221": 35, "222": 36, "223": 37, "224": 37, "225": 37, "226": 39, "227": 40, "228": 41, "229": 42, "230": 42, "231": 42, "232": 42, "233": 42, "234": 42, "235": 42, "236": 45, "237": 46, "238": 47, "239": 47, "240": 47, "241": 49, "242": 50, "243": 51, "244": 51, "245": 51, "246": 53, "247": 54, "248": 54, "249": 54, "250": 56, "251": 57, "252": 57, "253": 58, "254": 59, "255": 60, "256": 61, "257": 61, "258": 61, "259": 63, "260": 64, "261": 64, "267": 95, "277": 95, "278": 96, "279": 97, "280": 98, "281": 100, "282": 101, "283": 103, "284": 104, "285": 105, "286": 106, "287": 107, "288": 109, "289": 113, "290": 114, "291": 117, "292": 118, "293": 118, "294": 118, "295": 119, "296": 120, "297": 120, "298": 120, "304": 298}, "source_encoding": "utf-8"}
+{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 147, "64": 147, "65": 148, "66": 149, "67": 149, "68": 149, "69": 150, "70": 151, "71": 152, "72": 153, "73": 153, "74": 153, "75": 153, "76": 153, "77": 155, "78": 156, "79": 156, "80": 156, "86": 67, "95": 67, "96": 68, "97": 69, "98": 70, "99": 73, "100": 74, "101": 76, "102": 77, "103": 78, "104": 80, "105": 81, "106": 86, "107": 88, "108": 89, "109": 89, "110": 89, "111": 91, "112": 91, "113": 91, "119": 95, "129": 95, "130": 96, "131": 97, "132": 98, "133": 100, "134": 101, "135": 103, "136": 104, "137": 105, "138": 106, "139": 107, "140": 109, "141": 113, "142": 114, "143": 117, "144": 118, "145": 118, "146": 118, "147": 119, "148": 120, "149": 120, "150": 120, "156": 3, "183": 3, "184": 7, "185": 8, "186": 9, "187": 10, "188": 12, "189": 13, "190": 15, "191": 16, "192": 18, "193": 21, "194": 22, "195": 25, "196": 25, "197": 25, "198": 28, "199": 29, "200": 29, "201": 29, "202": 31, "203": 32, "204": 32, "205": 32, "206": 32, "207": 34, "208": 34, "209": 35, "210": 35, "211": 36, "212": 37, "213": 37, "214": 37, "215": 39, "216": 40, "217": 41, "218": 42, "219": 42, "220": 42, "221": 42, "222": 42, "223": 42, "224": 42, "225": 45, "226": 46, "227": 47, "228": 47, "229": 47, "230": 49, "231": 50, "232": 51, "233": 51, "234": 51, "235": 53, "236": 54, "237": 54, "238": 54, "239": 56, "240": 57, "241": 57, "242": 58, "243": 59, "244": 60, "245": 61, "246": 61, "247": 61, "248": 63, "249": 64, "250": 64, "256": 124, "266": 124, "267": 125, "268": 126, "269": 127, "270": 127, "271": 127, "272": 129, "273": 130, "274": 131, "275": 131, "276": 131, "277": 131, "278": 131, "279": 132, "280": 133, "281": 133, "282": 133, "283": 133, "284": 133, "285": 136, "286": 137, "287": 138, "288": 139, "289": 139, "290": 139, "291": 139, "292": 139, "293": 140, "294": 141, "295": 141, "296": 141, "297": 141, "298": 141, "304": 298}, "uri": "base_helper.tmpl", "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 dad1fa7f..3879ea41 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 = 1434092407.0450554
+_modified_time = 1434096007.677331
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl'
_template_uri = 'comments_helper.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_link_script', 'comment_form', 'comment_link']
+_exports = ['comment_link_script', 'comment_link', 'comment_form']
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('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'livefyre')] = 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('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'intensedebate')] = ns
+ ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'livefyre')] = ns
+
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'disqus')] = ns
- ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'facebook')] = ns
+ ns = runtime.TemplateNamespace('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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'facebook')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -64,14 +64,14 @@ def render_body(context,**pageargs):
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
- googleplus = _mako_get_namespace(context, 'googleplus')
- muut = _mako_get_namespace(context, 'muut')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- facebook = _mako_get_namespace(context, 'facebook')
- isso = _mako_get_namespace(context, 'isso')
+ comment_system = context.get('comment_system', UNDEFINED)
livefyre = _mako_get_namespace(context, 'livefyre')
disqus = _mako_get_namespace(context, 'disqus')
- comment_system = context.get('comment_system', UNDEFINED)
+ muut = _mako_get_namespace(context, 'muut')
+ facebook = _mako_get_namespace(context, 'facebook')
+ googleplus = _mako_get_namespace(context, 'googleplus')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
+ isso = _mako_get_namespace(context, 'isso')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@@ -107,63 +107,17 @@ 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:
- googleplus = _mako_get_namespace(context, 'googleplus')
- muut = _mako_get_namespace(context, 'muut')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- facebook = _mako_get_namespace(context, 'facebook')
- isso = _mako_get_namespace(context, 'isso')
- livefyre = _mako_get_namespace(context, 'livefyre')
- disqus = _mako_get_namespace(context, 'disqus')
- comment_system = context.get('comment_system', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if comment_system == 'disqus':
- __M_writer(' ')
- __M_writer(str(disqus.comment_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:
- googleplus = _mako_get_namespace(context, 'googleplus')
- muut = _mako_get_namespace(context, 'muut')
- intensedebate = _mako_get_namespace(context, 'intensedebate')
- facebook = _mako_get_namespace(context, 'facebook')
- isso = _mako_get_namespace(context, 'isso')
+ comment_system = context.get('comment_system', UNDEFINED)
livefyre = _mako_get_namespace(context, 'livefyre')
disqus = _mako_get_namespace(context, 'disqus')
- comment_system = context.get('comment_system', UNDEFINED)
+ muut = _mako_get_namespace(context, 'muut')
+ facebook = _mako_get_namespace(context, 'facebook')
+ googleplus = _mako_get_namespace(context, 'googleplus')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
+ isso = _mako_get_namespace(context, 'isso')
__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_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')
+ disqus = _mako_get_namespace(context, 'disqus')
+ muut = _mako_get_namespace(context, 'muut')
+ facebook = _mako_get_namespace(context, 'facebook')
+ googleplus = _mako_get_namespace(context, 'googleplus')
+ intensedebate = _mako_get_namespace(context, 'intensedebate')
+ isso = _mako_get_namespace(context, 'isso')
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system == 'disqus':
+ __M_writer(' ')
+ __M_writer(str(disqus.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'livefyre':
+ __M_writer(' ')
+ __M_writer(str(livefyre.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'intensedebate':
+ __M_writer(' ')
+ __M_writer(str(intensedebate.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'muut':
+ __M_writer(' ')
+ __M_writer(str(muut.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'googleplus':
+ __M_writer(' ')
+ __M_writer(str(googleplus.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'facebook':
+ __M_writer(' ')
+ __M_writer(str(facebook.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ elif comment_system == 'isso':
+ __M_writer(' ')
+ __M_writer(str(isso.comment_form(url, title, identifier)))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 4, "25": 7, "28": 6, "31": 5, "34": 3, "37": 8, "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": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}, "source_encoding": "utf-8"}
+{"source_encoding": "utf-8", "line_map": {"22": 7, "25": 5, "28": 4, "31": 3, "34": 6, "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": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "uri": "comments_helper.tmpl", "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 62d8317c..bb97331a 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 = 1434092407.0694473
+_modified_time = 1434096007.7016845
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl'
_template_uri = 'comments_helper_disqus.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_link_script', 'comment_form', 'comment_link']
+_exports = ['comment_link_script', 'comment_link', 'comment_form']
import json
@@ -44,11 +44,28 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+def render_comment_link(context,link,identifier):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ comment_system_id = context.get('comment_system_id', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if comment_system_id:
+ __M_writer(' Comments\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
- lang = context.get('lang', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
@@ -76,25 +93,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
-def render_comment_link(context,link,identifier):
- __M_caller = context.caller_stack._push_frame()
- try:
- comment_system_id = context.get('comment_system_id', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if comment_system_id:
- __M_writer(' Comments\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 5, "53": 5, "54": 6, "55": 7, "56": 9, "57": 9, "58": 10, "59": 11, "60": 11, "61": 11, "62": 13, "63": 13, "64": 13, "65": 14, "66": 14, "67": 16, "68": 17, "69": 18, "70": 19, "71": 19, "72": 19, "73": 21, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "source_encoding": "utf-8"}
+{"source_encoding": "utf-8", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "uri": "comments_helper_disqus.tmpl", "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 650e2109..135a2f6c 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 = 1434092407.1065226
+_modified_time = 1434096007.7390096
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl'
_template_uri = 'comments_helper_facebook.tmpl'
_source_encoding = 'utf-8'
-_exports = ['comment_link_script', 'comment_form', 'comment_link']
+_exports = ['comment_link_script', 'comment_link', 'comment_form']
def render_body(context,**pageargs):
@@ -38,6 +38,18 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
+def render_comment_link(context,link,identifier):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ __M_writer = context.writer()
+ __M_writer('\n\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"uri": "post.tmpl", "filename": "themes/bootstrap/templates/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": 4, "151": 22, "152": 22, "25": 2, "154": 23, "155": 23, "28": 3, "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"}
+{"source_encoding": "utf-8", "line_map": {"128": 45, "129": 45, "130": 47, "131": 47, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 2, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 4, "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, "153": 12, "66": 48, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 27, "169": 20, "110": 27, "111": 28, "112": 28, "113": 29, "114": 29, "115": 31, "116": 31, "117": 35, "118": 35, "119": 36, "120": 36, "121": 39, "122": 40, "123": 41, "124": 41, "125": 42, "126": 42, "127": 45}, "uri": "post.tmpl", "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 850d3b56..fe775232 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 = 1434092407.3665543
+_modified_time = 1434096008.0004394
_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_sourcelink', 'html_post_header', 'html_translations', 'html_title']
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,38 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_html_sourcelink(context):
+ __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)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if show_sourcelink:
+ __M_writer(' ')
+ __M_writer(str(messages("Source")))
+ __M_writer('
\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
def html_translations(post):
return render_html_translations(context,post)
+ comments = _mako_get_namespace(context, 'comments')
+ date_format = context.get('date_format', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
- post = context.get('post', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
def html_title():
return render_html_title(context)
+ messages = context.get('messages', UNDEFINED)
+ post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n