')
@@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "source_encoding": "utf-8", "uri": "list.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py
index 687660a5..896d12fc 100644
--- a/cache/.mako.tmp/list_post.tmpl.py
+++ b/cache/.mako.tmp/list_post.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434060007.5142412
+_modified_time = 1434063607.814984
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
@@ -28,11 +28,11 @@ def render_body(context,**pageargs):
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
posts = context.get('posts', UNDEFINED)
- title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- messages = context.get('messages', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -49,11 +49,11 @@ def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
posts = context.get('posts', UNDEFINED)
- title = context.get('title', UNDEFINED)
def content():
return render_content(context)
- messages = context.get('messages', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(str(title))
@@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8", "uri": "list_post.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 6ab2fbf9..00640275 100644
--- a/cache/.mako.tmp/listing.tmpl.py
+++ b/cache/.mako.tmp/listing.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434060007.4677331
+_modified_time = 1434063607.7682188
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
_source_encoding = 'utf-8'
-_exports = ['sourcelink', 'content']
+_exports = ['content', 'sourcelink']
def _mako_get_namespace(context, name):
@@ -31,15 +31,15 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- code = _import_ns.get('code', context.get('code', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- ui = _mako_get_namespace(context, 'ui')
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ ui = _mako_get_namespace(context, 'ui')
def content():
return render_content(context._locals(__M_locals))
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
__M_writer = context.writer()
@@ -60,28 +60,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_sourcelink(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- _import_ns = {}
- _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context)
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- __M_writer = context.writer()
- __M_writer('\n')
- if source_link:
- __M_writer('
\n ')
- __M_writer(str(messages("Source")))
- __M_writer('\n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -89,10 +67,10 @@ def render_content(context,**pageargs):
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
code = _import_ns.get('code', context.get('code', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
def content():
return render_content(context)
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
@@ -122,8 +100,30 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
+def render_sourcelink(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _import_ns = {}
+ _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context)
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if source_link:
+ __M_writer(' \n ')
+ __M_writer(str(messages("Source")))
+ __M_writer('\n \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl", "source_encoding": "utf-8", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}}
+{"filename": "themes/bootstrap3/templates/listing.tmpl", "source_encoding": "utf-8", "uri": "listing.tmpl", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index a5044f9b..50529cf5 100644
--- a/cache/.mako.tmp/post.tmpl.py
+++ b/cache/.mako.tmp/post.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434060007.5419414
+_modified_time = 1434063607.8430324
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['extra_head', 'sourcelink', 'content']
+_exports = ['content', 'sourcelink', 'extra_head']
def _mako_get_namespace(context, name):
@@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
+ ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'helper')] = ns
+
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
- ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'helper')] = ns
-
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
@@ -35,19 +35,19 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
site_has_comments = context.get('site_has_comments', UNDEFINED)
parent = context.get('parent', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
+ helper = _mako_get_namespace(context, 'helper')
+ comments = _mako_get_namespace(context, 'comments')
def content():
return render_content(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- helper = _mako_get_namespace(context, 'helper')
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
+ pheader = _mako_get_namespace(context, 'pheader')
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -74,14 +74,74 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_content(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ def content():
+ return render_content(context)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ comments = _mako_get_namespace(context, 'comments')
+ post = context.get('post', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n\n ')
+ __M_writer(str(pheader.html_post_header()))
+ __M_writer('\n \n ')
+ __M_writer(str(post.text()))
+ __M_writer('\n \n \n')
+ if not post.meta('nocomments') and site_has_comments:
+ __M_writer(' \n')
+ __M_writer(str(comments.comment_link_script()))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_sourcelink(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ messages = context.get('messages', UNDEFINED)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context)
+ post = context.get('post', UNDEFINED)
+ __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()
+
+
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
+ parent = context.get('parent', UNDEFINED)
+ post = context.get('post', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
def extra_head():
return render_extra_head(context)
- parent = context.get('parent', UNDEFINED)
- post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -121,68 +181,8 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
-def render_sourcelink(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- def sourcelink():
- return render_sourcelink(context)
- messages = context.get('messages', UNDEFINED)
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- post = context.get('post', UNDEFINED)
- __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()
-
-
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- pheader = _mako_get_namespace(context, 'pheader')
- def content():
- return render_content(context)
- helper = _mako_get_namespace(context, 'helper')
- comments = _mako_get_namespace(context, 'comments')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- post = context.get('post', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n\n ')
- __M_writer(str(pheader.html_post_header()))
- __M_writer('\n \n ')
- __M_writer(str(post.text()))
- __M_writer('\n \n \n')
- if not post.meta('nocomments') and site_has_comments:
- __M_writer(' \n ')
- __M_writer(str(messages("Comments")))
- __M_writer('
\n ')
- __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
- __M_writer('\n \n')
- __M_writer(' ')
- __M_writer(str(helper.mathjax_script(post)))
- __M_writer('\n \n')
- __M_writer(str(comments.comment_link_script()))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl", "source_encoding": "utf-8", "line_map": {"133": 50, "134": 51, "135": 52, "136": 53, "137": 53, "138": 53, "139": 53, "145": 27, "22": 3, "25": 4, "28": 2, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 7, "184": 178, "86": 7, "87": 8, "88": 8, "89": 9, "90": 10, "91": 10, "92": 10, "93": 12, "94": 13, "95": 13, "96": 13, "97": 15, "98": 15, "99": 15, "100": 16, "101": 17, "102": 17, "103": 17, "104": 17, "105": 17, "106": 19, "107": 20, "108": 20, "109": 20, "110": 20, "111": 20, "112": 22, "113": 22, "114": 22, "115": 23, "116": 23, "117": 24, "118": 24, "124": 50}}
+{"filename": "themes/bootstrap/templates/post.tmpl", "source_encoding": "utf-8", "uri": "post.tmpl", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 2, "151": 10, "152": 10, "25": 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, "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}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py
index 06f697bb..4993d881 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 = 1434060007.6056926
+_modified_time = 1434063607.9081469
_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_translations', 'html_sourcelink', 'html_title', 'html_post_header']
+_exports = ['html_translations', 'html_post_header', 'html_sourcelink', '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:
@@ -45,9 +45,9 @@ def render_html_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
lang = context.get('lang', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(post.translated_to) > 1:
@@ -69,56 +69,19 @@ def render_html_translations(context,post):
context.caller_stack._pop_frame()
-def render_html_sourcelink(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- messages = context.get('messages', UNDEFINED)
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- post = context.get('post', 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_title(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- title = context.get('title', UNDEFINED)
- post = context.get('post', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if title and not post.meta('hidetitle'):
- __M_writer(' ')
- __M_writer(filters.html_escape(str(post.title())))
- __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)
site_has_comments = context.get('site_has_comments', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
- date_format = context.get('date_format', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
+ def html_translations(post):
+ return render_html_translations(context,post)
+ messages = context.get('messages', UNDEFINED)
def html_title():
return render_html_title(context)
- messages = context.get('messages', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n \n ')
@@ -159,8 +122,45 @@ def render_html_post_header(context):
context.caller_stack._pop_frame()
+def render_html_sourcelink(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ post = context.get('post', 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_title(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ title = context.get('title', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if title and not post.meta('hidetitle'):
+ __M_writer(' ')
+ __M_writer(filters.html_escape(str(post.title())))
+ __M_writer('
\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 3, "151": 44, "152": 44, "25": 2, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 24, "162": 156, "79": 24, "80": 25, "81": 26, "82": 26, "83": 26, "84": 26, "85": 26, "91": 5, "97": 5, "98": 6, "99": 7, "100": 7, "101": 7, "102": 7, "103": 7, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8", "uri": "post_header.tmpl", "line_map": {"132": 24, "133": 25, "134": 26, "135": 26, "136": 26, "137": 26, "138": 26, "144": 5, "22": 2, "151": 6, "152": 7, "25": 3, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 30, "162": 156, "87": 30, "88": 32, "89": 32, "90": 34, "91": 34, "92": 35, "93": 35, "94": 35, "95": 35, "96": 35, "97": 35, "98": 35, "99": 35, "100": 36, "101": 37, "102": 37, "103": 37, "104": 39, "105": 39, "106": 39, "107": 40, "108": 41, "109": 41, "110": 41, "111": 41, "112": 41, "113": 43, "114": 44, "115": 44, "116": 44, "117": 46, "118": 47, "119": 47, "153": 7, "125": 24}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py
index 9ba76d46..c1ef53e2 100644
--- a/cache/.mako.tmp/post_helper.tmpl.py
+++ b/cache/.mako.tmp/post_helper.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434060007.5734885
+_modified_time = 1434063607.875161
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
_template_uri = 'post_helper.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_pager', 'twitter_card_information', 'mathjax_script', 'open_graph_metadata', 'html_tags', 'meta_translations']
+_exports = ['twitter_card_information', 'meta_translations', 'open_graph_metadata', 'html_tags', 'mathjax_script', 'html_pager']
def render_body(context,**pageargs):
@@ -29,36 +29,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_html_pager(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- messages = context.get('messages', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if post.prev_post or post.next_post:
- __M_writer(' \n')
- if post.prev_post:
- __M_writer(' - \n ')
- __M_writer(str(messages("Previous post")))
- __M_writer('\n
\n')
- if post.next_post:
- __M_writer(' - \n ')
- __M_writer(str(messages("Next post")))
- __M_writer('\n
\n')
- __M_writer('
\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@@ -90,13 +60,22 @@ def render_twitter_card_information(context,post):
context.caller_stack._pop_frame()
-def render_mathjax_script(context,post):
+def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
+ translations = context.get('translations', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ len = context.get('len', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
- if post.is_mathjax:
- __M_writer(' \n \n')
+ if len(translations) > 1:
+ for langname in translations.keys():
+ if langname != lang and post.is_translation_available(langname):
+ __M_writer(' \n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -105,13 +84,13 @@ def render_mathjax_script(context,post):
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
+ permalink = context.get('permalink', UNDEFINED)
+ blog_title = context.get('blog_title', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
- blog_title = context.get('blog_title', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
@@ -171,22 +150,43 @@ def render_html_tags(context,post):
context.caller_stack._pop_frame()
-def render_meta_translations(context,post):
+def render_mathjax_script(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
- if len(translations) > 1:
- for langname in translations.keys():
- if langname != lang and post.is_translation_available(langname):
- __M_writer(' \n')
+ if post.is_mathjax:
+ __M_writer(' \n \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_html_pager(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ messages = context.get('messages', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if post.prev_post or post.next_post:
+ __M_writer(' \n')
+ if post.prev_post:
+ __M_writer(' - \n ')
+ __M_writer(str(messages("Previous post")))
+ __M_writer('\n
\n')
+ if post.next_post:
+ __M_writer(' - \n ')
+ __M_writer(str(messages("Next post")))
+ __M_writer('\n
\n')
+ __M_writer('
\n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -194,6 +194,6 @@ def render_meta_translations(context,post):
"""
__M_BEGIN_METADATA
-{"uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 71, "67": 71, "68": 72, "69": 73, "70": 73, "71": 73, "72": 74, "73": 75, "74": 75, "75": 75, "76": 76, "77": 77, "78": 77, "79": 77, "80": 79, "81": 80, "82": 80, "83": 80, "84": 81, "85": 82, "86": 82, "87": 82, "93": 87, "97": 87, "98": 88, "99": 89, "105": 42, "116": 42, "117": 43, "118": 44, "119": 44, "120": 44, "121": 45, "122": 45, "123": 46, "124": 46, "125": 47, "126": 48, "127": 48, "128": 48, "129": 49, "130": 50, "131": 50, "132": 50, "133": 52, "134": 53, "135": 53, "136": 53, "137": 55, "138": 60, "139": 61, "140": 61, "141": 61, "142": 63, "143": 64, "144": 65, "145": 65, "146": 65, "152": 13, "158": 13, "159": 14, "160": 15, "161": 16, "162": 17, "163": 18, "164": 18, "165": 18, "166": 18, "167": 18, "168": 21, "174": 3, "181": 3, "182": 4, "183": 5, "184": 6, "185": 7, "186": 7, "187": 7, "188": 7, "189": 7, "195": 189}}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "source_encoding": "utf-8", "uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 71, "37": 71, "38": 72, "39": 73, "40": 73, "41": 73, "42": 74, "43": 75, "44": 75, "45": 75, "46": 76, "47": 77, "48": 77, "49": 77, "50": 79, "51": 80, "52": 80, "53": 80, "54": 81, "55": 82, "56": 82, "57": 82, "63": 3, "70": 3, "71": 4, "72": 5, "73": 6, "74": 7, "75": 7, "76": 7, "77": 7, "78": 7, "84": 42, "95": 42, "96": 43, "97": 44, "98": 44, "99": 44, "100": 45, "101": 45, "102": 46, "103": 46, "104": 47, "105": 48, "106": 48, "107": 48, "108": 49, "109": 50, "110": 50, "111": 50, "112": 52, "113": 53, "114": 53, "115": 53, "116": 55, "117": 60, "118": 61, "119": 61, "120": 61, "121": 63, "122": 64, "123": 65, "124": 65, "125": 65, "131": 13, "137": 13, "138": 14, "139": 15, "140": 16, "141": 17, "142": 18, "143": 18, "144": 18, "145": 18, "146": 18, "147": 21, "153": 87, "157": 87, "158": 88, "159": 89, "165": 25, "170": 25, "171": 26, "172": 27, "173": 28, "174": 29, "175": 30, "176": 30, "177": 30, "178": 30, "179": 30, "180": 30, "181": 33, "182": 34, "183": 35, "184": 35, "185": 35, "186": 35, "187": 35, "188": 35, "189": 38, "195": 189}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py
index 3bddcbdd..55043872 100644
--- a/cache/.mako.tmp/story.tmpl.py
+++ b/cache/.mako.tmp/story.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434060007.6290083
+_modified_time = 1434063607.9318528
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
@@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
+ ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'helper')] = ns
+
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
- ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'helper')] = ns
-
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'post.tmpl', _template_uri)
@@ -35,14 +35,14 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- enable_comments = context.get('enable_comments', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
+ helper = _mako_get_namespace(context, 'helper')
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
def content():
return render_content(context._locals(__M_locals))
- helper = _mako_get_namespace(context, 'helper')
- comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -62,14 +62,14 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- enable_comments = context.get('enable_comments', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
+ helper = _mako_get_namespace(context, 'helper')
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
def content():
return render_content(context)
- helper = _mako_get_namespace(context, 'helper')
- comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
@@ -95,6 +95,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"uri": "story.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 3, "87": 19, "88": 22, "25": 4, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "source_encoding": "utf-8", "uri": "story.tmpl", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 3, "90": 22, "28": 4, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tag.tmpl.py b/cache/.mako.tmp/tag.tmpl.py
index 679a5303..bb07dade 100644
--- a/cache/.mako.tmp/tag.tmpl.py
+++ b/cache/.mako.tmp/tag.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434060007.6831322
+_modified_time = 1434063607.9861784
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
_template_uri = 'tag.tmpl'
_source_encoding = 'utf-8'
-_exports = ['extra_head', 'content']
+_exports = ['content', 'extra_head']
def _mako_get_namespace(context, name):
@@ -27,23 +27,23 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- len = context.get('len', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- title = context.get('title', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
tag = context.get('tag', UNDEFINED)
_link = context.get('_link', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ subcategories = context.get('subcategories', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
description = context.get('description', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
- subcategories = context.get('subcategories', UNDEFINED)
+ title = context.get('title', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
- translations = context.get('translations', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
@@ -61,63 +61,23 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_extra_head(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- len = context.get('len', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- def extra_head():
- return render_extra_head(context)
- translations = context.get('translations', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n ')
- __M_writer(str(parent.extra_head()))
- __M_writer('\n')
- if len(translations) > 1 and generate_rss:
- for language in translations:
- __M_writer(' \n')
- elif generate_rss:
- __M_writer(' \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- len = context.get('len', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- title = context.get('title', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
_link = context.get('_link', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
def content():
return render_content(context)
- description = context.get('description', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(filters.html_escape(str(title)))
@@ -177,8 +137,48 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
+def render_extra_head(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _link = context.get('_link', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ def extra_head():
+ return render_extra_head(context)
+ __M_writer = context.writer()
+ __M_writer('\n ')
+ __M_writer(str(parent.extra_head()))
+ __M_writer('\n')
+ if len(translations) > 1 and generate_rss:
+ for language in translations:
+ __M_writer(' \n')
+ elif generate_rss:
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"uri": "tag.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "source_encoding": "utf-8", "line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "source_encoding": "utf-8", "uri": "tag.tmpl", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tags.tmpl.py b/cache/.mako.tmp/tags.tmpl.py
index 6a0310da..63f545f2 100644
--- a/cache/.mako.tmp/tags.tmpl.py
+++ b/cache/.mako.tmp/tags.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434060007.6632223
+_modified_time = 1434063607.9661543
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
@@ -27,12 +27,12 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- cat_items = context.get('cat_items', UNDEFINED)
items = context.get('items', UNDEFINED)
- title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ cat_items = context.get('cat_items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- cat_items = context.get('cat_items', UNDEFINED)
items = context.get('items', UNDEFINED)
- title = context.get('title', UNDEFINED)
def content():
return render_content(context)
+ cat_items = context.get('cat_items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(title))
@@ -90,6 +90,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"uri": "tags.tmpl", "filename": "themes/bootstrap/templates/tags.tmpl", "source_encoding": "utf-8", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}}
+{"filename": "themes/bootstrap/templates/tags.tmpl", "source_encoding": "utf-8", "uri": "tags.tmpl", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}}
__M_END_METADATA
"""
diff --git a/cache/lastdeploy b/cache/lastdeploy
index 6f98b101..a3aa4729 100644
--- a/cache/lastdeploy
+++ b/cache/lastdeploy
@@ -1 +1 @@
-2015-06-11T22:00:10.386064
\ No newline at end of file
+2015-06-11T23:00:10.670437
\ No newline at end of file
') __M_writer(str(title)) @@ -85,6 +85,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}} +{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8", "uri": "list_post.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}} __M_END_METADATA """ diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py index 6ab2fbf9..00640275 100644 --- a/cache/.mako.tmp/listing.tmpl.py +++ b/cache/.mako.tmp/listing.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434060007.4677331 +_modified_time = 1434063607.7682188 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'content'] +_exports = ['content', 'sourcelink'] def _mako_get_namespace(context, name): @@ -31,15 +31,15 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - code = _import_ns.get('code', context.get('code', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) - ui = _mako_get_namespace(context, 'ui') - folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) - files = _import_ns.get('files', context.get('files', UNDEFINED)) source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) + code = _import_ns.get('code', context.get('code', UNDEFINED)) + ui = _mako_get_namespace(context, 'ui') def content(): return render_content(context._locals(__M_locals)) + folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) + files = _import_ns.get('files', context.get('files', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) __M_writer = context.writer() @@ -60,28 +60,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - _import_ns = {} - _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - __M_writer = context.writer() - __M_writer('\n') - if source_link: - __M_writer('
') - __M_writer(str(messages("Comments"))) - __M_writer('
\n ') - __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path))) - __M_writer('\n') - __M_writer(str(messages("Source"))) - __M_writer('
\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_title(context): - __M_caller = context.caller_stack._push_frame() - try: - title = context.get('title', UNDEFINED) - post = context.get('post', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if title and not post.meta('hidetitle'): - __M_writer('') - __M_writer(filters.html_escape(str(post.title()))) - __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) site_has_comments = context.get('site_has_comments', UNDEFINED) def html_sourcelink(): return render_html_sourcelink(context) - date_format = context.get('date_format', UNDEFINED) comments = _mako_get_namespace(context, 'comments') + def html_translations(post): + return render_html_translations(context,post) + messages = context.get('messages', UNDEFINED) def html_title(): return render_html_title(context) - messages = context.get('messages', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) post = context.get('post', UNDEFINED) __M_writer = context.writer() __M_writer('\n') + __M_writer(str(messages("Source"))) + __M_writer('
\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_title(context): + __M_caller = context.caller_stack._push_frame() + try: + title = context.get('title', UNDEFINED) + post = context.get('post', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if title and not post.meta('hidetitle'): + __M_writer('') + __M_writer(filters.html_escape(str(post.title()))) + __M_writer('
\n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 3, "151": 44, "152": 44, "25": 2, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 24, "162": 156, "79": 24, "80": 25, "81": 26, "82": 26, "83": 26, "84": 26, "85": 26, "91": 5, "97": 5, "98": 6, "99": 7, "100": 7, "101": 7, "102": 7, "103": 7, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}} +{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8", "uri": "post_header.tmpl", "line_map": {"132": 24, "133": 25, "134": 26, "135": 26, "136": 26, "137": 26, "138": 26, "144": 5, "22": 2, "151": 6, "152": 7, "25": 3, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 30, "162": 156, "87": 30, "88": 32, "89": 32, "90": 34, "91": 34, "92": 35, "93": 35, "94": 35, "95": 35, "96": 35, "97": 35, "98": 35, "99": 35, "100": 36, "101": 37, "102": 37, "103": 37, "104": 39, "105": 39, "106": 39, "107": 40, "108": 41, "109": 41, "110": 41, "111": 41, "112": 41, "113": 43, "114": 44, "115": 44, "116": 44, "117": 46, "118": 47, "119": 47, "153": 7, "125": 24}} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index 9ba76d46..c1ef53e2 100644 --- a/cache/.mako.tmp/post_helper.tmpl.py +++ b/cache/.mako.tmp/post_helper.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1434060007.5734885 +_modified_time = 1434063607.875161 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl' _template_uri = 'post_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_pager', 'twitter_card_information', 'mathjax_script', 'open_graph_metadata', 'html_tags', 'meta_translations'] +_exports = ['twitter_card_information', 'meta_translations', 'open_graph_metadata', 'html_tags', 'mathjax_script', 'html_pager'] def render_body(context,**pageargs): @@ -29,36 +29,6 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_html_pager(context,post): - __M_caller = context.caller_stack._push_frame() - try: - messages = context.get('messages', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if post.prev_post or post.next_post: - __M_writer('- \n')
- if post.prev_post:
- __M_writer('
- \n ') - __M_writer(str(messages("Previous post"))) - __M_writer('\n \n') - if post.next_post: - __M_writer('
- \n ') - __M_writer(str(messages("Next post"))) - __M_writer('\n \n') - __M_writer('
- \n')
+ if post.prev_post:
+ __M_writer('
- \n ') + __M_writer(str(messages("Previous post"))) + __M_writer('\n \n') + if post.next_post: + __M_writer('
- \n ') + __M_writer(str(messages("Next post"))) + __M_writer('\n \n') + __M_writer('
') + __M_writer(str(messages("Comments"))) + __M_writer('
\n ') + __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path))) + __M_writer('\n