')
@@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "uri": "list.tmpl", "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}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py
index 89a59535..6552e6a5 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 = 1434024007.4967172
+_modified_time = 1434027607.5741677
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
@@ -27,12 +27,12 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- posts = context.get('posts', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- title = context.get('title', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
+ 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:
- posts = context.get('posts', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context)
- title = context.get('title', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
+ title = context.get('title', 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
-{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "uri": "list_post.tmpl", "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}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index d864261c..fe304edd 100644
--- a/cache/.mako.tmp/listing.tmpl.py
+++ b/cache/.mako.tmp/listing.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434024007.4499018
+_modified_time = 1434027607.5275936
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- ui = _mako_get_namespace(context, 'ui')
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
+ ui = _mako_get_namespace(context, 'ui')
+ code = _import_ns.get('code', context.get('code', 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()
__M_writer('\n')
__M_writer('\n\n')
@@ -66,12 +66,12 @@ def render_content(context,**pageargs):
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- ui = _mako_get_namespace(context, 'ui')
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
def content():
return render_content(context)
+ ui = _mako_get_namespace(context, 'ui')
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(ui.bar(crumbs)))
@@ -105,10 +105,10 @@ def render_sourcelink(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def sourcelink():
return render_sourcelink(context)
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if source_link:
@@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl", "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}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index a5adc7b8..20e2ded5 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 = 1434024007.5246513
+_modified_time = 1434027607.601905
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['extra_head', 'content', 'sourcelink']
+_exports = ['content', 'extra_head', 'sourcelink']
def _mako_get_namespace(context, name):
@@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
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('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
+ 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,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
+ comments = _mako_get_namespace(context, 'comments')
+ def content():
+ return render_content(context._locals(__M_locals))
pheader = _mako_get_namespace(context, 'pheader')
helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
+ post = context.get('post', UNDEFINED)
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
def extra_head():
return render_extra_head(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
- def content():
- return render_content(context._locals(__M_locals))
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -74,13 +74,52 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_content(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ messages = context.get('messages', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ def content():
+ return render_content(context)
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ 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_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def extra_head():
return render_extra_head(context)
- helper = _mako_get_namespace(context, 'helper')
parent = context.get('parent', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
@@ -121,53 +160,14 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- pheader = _mako_get_namespace(context, 'pheader')
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
- def content():
- return render_content(context)
- __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()
-
-
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- post = context.get('post', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if show_sourcelink:
@@ -183,6 +183,6 @@ def render_sourcelink(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"150": 41, "136": 27, "137": 28, "138": 28, "139": 29, "140": 29, "141": 31, "142": 31, "143": 35, "144": 35, "145": 36, "146": 36, "147": 39, "148": 40, "149": 41, "22": 3, "151": 42, "152": 42, "25": 2, "154": 45, "155": 45, "28": 4, "157": 47, "34": 0, "163": 50, "156": 47, "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": 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, "153": 45, "124": 27}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "source_encoding": "utf-8"}
+{"uri": "post.tmpl", "line_map": {"128": 9, "129": 10, "130": 10, "131": 10, "132": 12, "133": 13, "134": 13, "135": 13, "136": 15, "137": 15, "138": 15, "139": 16, "140": 17, "141": 17, "142": 17, "143": 17, "144": 17, "145": 19, "146": 20, "147": 20, "148": 20, "149": 20, "22": 3, "151": 22, "152": 22, "25": 4, "154": 23, "155": 23, "28": 2, "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", "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 6b1ae1b5..4617ba5b 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 = 1434024007.590106
+_modified_time = 1434027607.6656828
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_title', 'html_post_header', 'html_sourcelink', 'html_translations']
+_exports = ['html_sourcelink', 'html_post_header', 'html_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('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
+ ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'helper')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -41,19 +41,20 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_html_title(context):
+def render_html_sourcelink(context):
__M_caller = context.caller_stack._push_frame()
try:
+ messages = context.get('messages', UNDEFINED)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
- title = context.get('title', 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')
+ if show_sourcelink:
+ __M_writer('
')
+ __M_writer(str(messages("Source")))
+ __M_writer('
\n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -62,17 +63,17 @@ def render_html_title(context):
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ def html_translations(post):
+ return render_html_translations(context,post)
post = context.get('post', UNDEFINED)
def html_title():
return render_html_title(context)
def html_sourcelink():
return render_html_sourcelink(context)
- def html_translations(post):
- return render_html_translations(context,post)
- date_format = context.get('date_format', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n \n ')
__M_writer(str(html_title()))
@@ -112,32 +113,13 @@ def render_html_post_header(context):
context.caller_stack._pop_frame()
-def render_html_sourcelink(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- post = context.get('post', UNDEFINED)
- messages = context.get('messages', 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_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
lang = context.get('lang', UNDEFINED)
- len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
+ len = context.get('len', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(post.translated_to) > 1:
@@ -159,8 +141,26 @@ def render_html_translations(context,post):
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
-{"line_map": {"128": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 2, "151": 17, "152": 17, "25": 3, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 24, "153": 17, "122": 24, "123": 25, "124": 26, "125": 26, "126": 26, "127": 26}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl", "source_encoding": "utf-8"}
+{"uri": "post_header.tmpl", "line_map": {"128": 14, "129": 15, "130": 16, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 17, "138": 20, "144": 5, "22": 3, "151": 6, "152": 7, "25": 2, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 30, "162": 156, "78": 30, "79": 32, "80": 32, "81": 34, "82": 34, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "91": 36, "92": 37, "93": 37, "94": 37, "95": 39, "96": 39, "97": 39, "98": 40, "99": 41, "100": 41, "101": 41, "102": 41, "103": 41, "104": 43, "105": 44, "106": 44, "107": 44, "108": 46, "109": 47, "110": 47, "116": 11, "153": 7, "124": 11, "125": 12, "126": 13, "127": 14}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py
index 38495c30..70107276 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 = 1434024007.5571609
+_modified_time = 1434027607.6333866
_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', 'mathjax_script', 'open_graph_metadata', 'meta_translations', 'twitter_card_information', 'html_tags']
+_exports = ['open_graph_metadata', 'twitter_card_information', 'mathjax_script', 'html_pager', 'meta_translations', 'html_tags']
def render_body(context,**pageargs):
@@ -29,58 +29,16 @@ 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_mathjax_script(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- __M_writer = context.writer()
- __M_writer('\n')
- if post.is_mathjax:
- __M_writer(' \n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- lang = context.get('lang', UNDEFINED)
- url_replacer = context.get('url_replacer', UNDEFINED)
- abs_link = context.get('abs_link', UNDEFINED)
- use_open_graph = context.get('use_open_graph', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- blog_title = context.get('blog_title', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
+ abs_link = context.get('abs_link', UNDEFINED)
+ url_replacer = context.get('url_replacer', UNDEFINED)
+ blog_title = context.get('blog_title', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
@@ -118,27 +76,6 @@ def render_open_graph_metadata(context,post):
context.caller_stack._pop_frame()
-def render_meta_translations(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- lang = context.get('lang', UNDEFINED)
- len = context.get('len', UNDEFINED)
- translations = context.get('translations', 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')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@@ -170,6 +107,69 @@ def render_twitter_card_information(context,post):
context.caller_stack._pop_frame()
+def render_mathjax_script(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ __M_writer = context.writer()
+ __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()
+
+
+def render_meta_translations(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')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@@ -194,6 +194,6 @@ def render_html_tags(context,post):
"""
__M_BEGIN_METADATA
-{"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": 87, "66": 87, "67": 88, "68": 89, "74": 42, "85": 42, "86": 43, "87": 44, "88": 44, "89": 44, "90": 45, "91": 45, "92": 46, "93": 46, "94": 47, "95": 48, "96": 48, "97": 48, "98": 49, "99": 50, "100": 50, "101": 50, "102": 52, "103": 53, "104": 53, "105": 53, "106": 55, "107": 60, "108": 61, "109": 61, "110": 61, "111": 63, "112": 64, "113": 65, "114": 65, "115": 65, "121": 3, "128": 3, "129": 4, "130": 5, "131": 6, "132": 7, "133": 7, "134": 7, "135": 7, "136": 7, "142": 71, "147": 71, "148": 72, "149": 73, "150": 73, "151": 73, "152": 74, "153": 75, "154": 75, "155": 75, "156": 76, "157": 77, "158": 77, "159": 77, "160": 79, "161": 80, "162": 80, "163": 80, "164": 81, "165": 82, "166": 82, "167": 82, "173": 13, "179": 13, "180": 14, "181": 15, "182": 16, "183": 17, "184": 18, "185": 18, "186": 18, "187": 18, "188": 18, "189": 21, "195": 189}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "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": 42, "43": 42, "44": 43, "45": 44, "46": 44, "47": 44, "48": 45, "49": 45, "50": 46, "51": 46, "52": 47, "53": 48, "54": 48, "55": 48, "56": 49, "57": 50, "58": 50, "59": 50, "60": 52, "61": 53, "62": 53, "63": 53, "64": 55, "65": 60, "66": 61, "67": 61, "68": 61, "69": 63, "70": 64, "71": 65, "72": 65, "73": 65, "79": 71, "84": 71, "85": 72, "86": 73, "87": 73, "88": 73, "89": 74, "90": 75, "91": 75, "92": 75, "93": 76, "94": 77, "95": 77, "96": 77, "97": 79, "98": 80, "99": 80, "100": 80, "101": 81, "102": 82, "103": 82, "104": 82, "110": 87, "114": 87, "115": 88, "116": 89, "122": 25, "127": 25, "128": 26, "129": 27, "130": 28, "131": 29, "132": 30, "133": 30, "134": 30, "135": 30, "136": 30, "137": 30, "138": 33, "139": 34, "140": 35, "141": 35, "142": 35, "143": 35, "144": 35, "145": 35, "146": 38, "152": 3, "159": 3, "160": 4, "161": 5, "162": 6, "163": 7, "164": 7, "165": 7, "166": 7, "167": 7, "173": 13, "179": 13, "180": 14, "181": 15, "182": 16, "183": 17, "184": 18, "185": 18, "186": 18, "187": 18, "188": 18, "189": 21, "195": 189}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py
index 410980aa..61ad98f0 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 = 1434024007.6137218
+_modified_time = 1434027607.689133
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
@@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
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('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
+ 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,15 +35,15 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- pheader = _mako_get_namespace(context, 'pheader')
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
- enable_comments = context.get('enable_comments', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ pheader = _mako_get_namespace(context, 'pheader')
+ helper = _mako_get_namespace(context, 'helper')
+ post = context.get('post', UNDEFINED)
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -62,15 +62,15 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- pheader = _mako_get_namespace(context, 'pheader')
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
- enable_comments = context.get('enable_comments', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
def content():
return render_content(context)
+ pheader = _mako_get_namespace(context, 'pheader')
+ helper = _mako_get_namespace(context, 'helper')
+ post = context.get('post', UNDEFINED)
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(str(pheader.html_title()))
@@ -95,6 +95,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"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": 2, "90": 22, "28": 4, "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", "uri": "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": 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}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tag.tmpl.py b/cache/.mako.tmp/tag.tmpl.py
index 69ed987c..00ce61b3 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 = 1434024007.6680367
+_modified_time = 1434027607.7428854
_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)
+ generate_rss = context.get('generate_rss', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- title = context.get('title', UNDEFINED)
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- tag = context.get('tag', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
len = context.get('len', UNDEFINED)
+ title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ kind = context.get('kind', UNDEFINED)
description = context.get('description', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ translations = context.get('translations', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ parent = context.get('parent', 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:
- parent = context.get('parent', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- def extra_head():
- return render_extra_head(context)
- tag = context.get('tag', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- len = context.get('len', UNDEFINED)
- generate_rss = context.get('generate_rss', 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:
+ generate_rss = context.get('generate_rss', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
_link = context.get('_link', UNDEFINED)
title = context.get('title', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
len = context.get('len', UNDEFINED)
def content():
return render_content(context)
+ kind = context.get('kind', UNDEFINED)
description = context.get('description', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ messages = context.get('messages', 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:
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ def extra_head():
+ return render_extra_head(context)
+ translations = context.get('translations', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ parent = context.get('parent', 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()
+
+
"""
__M_BEGIN_METADATA
-{"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", "uri": "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}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tags.tmpl.py b/cache/.mako.tmp/tags.tmpl.py
index 64fb64af..3c5a376f 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 = 1434024007.6480556
+_modified_time = 1434027607.7233758
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
@@ -28,11 +28,11 @@ def render_body(context,**pageargs):
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
messages = context.get('messages', UNDEFINED)
- items = context.get('items', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- title = context.get('title', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
+ items = context.get('items', 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'):
@@ -49,11 +49,11 @@ def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
- items = context.get('items', UNDEFINED)
def content():
return render_content(context)
- title = context.get('title', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
+ items = context.get('items', 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
-{"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", "uri": "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}, "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/tags.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/lastdeploy b/cache/lastdeploy
index df88fbb7..1222708a 100644
--- a/cache/lastdeploy
+++ b/cache/lastdeploy
@@ -1 +1 @@
-2015-06-11T12:00:10.971755
\ No newline at end of file
+2015-06-11T13:00:11.241125
\ No newline at end of file
')
__M_writer(str(title))
@@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "uri": "list_post.tmpl", "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}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index d864261c..fe304edd 100644
--- a/cache/.mako.tmp/listing.tmpl.py
+++ b/cache/.mako.tmp/listing.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434024007.4499018
+_modified_time = 1434027607.5275936
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- ui = _mako_get_namespace(context, 'ui')
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
+ ui = _mako_get_namespace(context, 'ui')
+ code = _import_ns.get('code', context.get('code', 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()
__M_writer('\n')
__M_writer('\n\n')
@@ -66,12 +66,12 @@ def render_content(context,**pageargs):
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- ui = _mako_get_namespace(context, 'ui')
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
def content():
return render_content(context)
+ ui = _mako_get_namespace(context, 'ui')
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(ui.bar(crumbs)))
@@ -105,10 +105,10 @@ def render_sourcelink(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def sourcelink():
return render_sourcelink(context)
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if source_link:
@@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl", "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}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index a5adc7b8..20e2ded5 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 = 1434024007.5246513
+_modified_time = 1434027607.601905
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['extra_head', 'content', 'sourcelink']
+_exports = ['content', 'extra_head', 'sourcelink']
def _mako_get_namespace(context, name):
@@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
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('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
+ 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,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
+ comments = _mako_get_namespace(context, 'comments')
+ def content():
+ return render_content(context._locals(__M_locals))
pheader = _mako_get_namespace(context, 'pheader')
helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
+ post = context.get('post', UNDEFINED)
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
def extra_head():
return render_extra_head(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
- def content():
- return render_content(context._locals(__M_locals))
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -74,13 +74,52 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_content(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ messages = context.get('messages', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ def content():
+ return render_content(context)
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ 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_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def extra_head():
return render_extra_head(context)
- helper = _mako_get_namespace(context, 'helper')
parent = context.get('parent', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
@@ -121,53 +160,14 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- pheader = _mako_get_namespace(context, 'pheader')
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
- def content():
- return render_content(context)
- __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()
-
-
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- post = context.get('post', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if show_sourcelink:
@@ -183,6 +183,6 @@ def render_sourcelink(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"150": 41, "136": 27, "137": 28, "138": 28, "139": 29, "140": 29, "141": 31, "142": 31, "143": 35, "144": 35, "145": 36, "146": 36, "147": 39, "148": 40, "149": 41, "22": 3, "151": 42, "152": 42, "25": 2, "154": 45, "155": 45, "28": 4, "157": 47, "34": 0, "163": 50, "156": 47, "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": 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, "153": 45, "124": 27}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "source_encoding": "utf-8"}
+{"uri": "post.tmpl", "line_map": {"128": 9, "129": 10, "130": 10, "131": 10, "132": 12, "133": 13, "134": 13, "135": 13, "136": 15, "137": 15, "138": 15, "139": 16, "140": 17, "141": 17, "142": 17, "143": 17, "144": 17, "145": 19, "146": 20, "147": 20, "148": 20, "149": 20, "22": 3, "151": 22, "152": 22, "25": 4, "154": 23, "155": 23, "28": 2, "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", "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 6b1ae1b5..4617ba5b 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 = 1434024007.590106
+_modified_time = 1434027607.6656828
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_title', 'html_post_header', 'html_sourcelink', 'html_translations']
+_exports = ['html_sourcelink', 'html_post_header', 'html_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('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
+ ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'helper')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -41,19 +41,20 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_html_title(context):
+def render_html_sourcelink(context):
__M_caller = context.caller_stack._push_frame()
try:
+ messages = context.get('messages', UNDEFINED)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
- title = context.get('title', 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')
+ if show_sourcelink:
+ __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() @@ -62,17 +63,17 @@ def render_html_title(context): def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) comments = _mako_get_namespace(context, 'comments') - site_has_comments = context.get('site_has_comments', UNDEFINED) + date_format = context.get('date_format', UNDEFINED) + def html_translations(post): + return render_html_translations(context,post) post = context.get('post', UNDEFINED) def html_title(): return render_html_title(context) def html_sourcelink(): return render_html_sourcelink(context) - def html_translations(post): - return render_html_translations(context,post) - date_format = context.get('date_format', UNDEFINED) + site_has_comments = context.get('site_has_comments', UNDEFINED) + messages = context.get('messages', 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_translations(context,post): __M_caller = context.caller_stack._push_frame() try: messages = context.get('messages', UNDEFINED) lang = context.get('lang', UNDEFINED) - len = context.get('len', UNDEFINED) translations = context.get('translations', UNDEFINED) + len = context.get('len', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if len(post.translated_to) > 1: @@ -159,8 +141,26 @@ def render_html_translations(context,post): 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 -{"line_map": {"128": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 2, "151": 17, "152": 17, "25": 3, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 24, "153": 17, "122": 24, "123": 25, "124": 26, "125": 26, "126": 26, "127": 26}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl", "source_encoding": "utf-8"} +{"uri": "post_header.tmpl", "line_map": {"128": 14, "129": 15, "130": 16, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 17, "138": 20, "144": 5, "22": 3, "151": 6, "152": 7, "25": 2, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 30, "162": 156, "78": 30, "79": 32, "80": 32, "81": 34, "82": 34, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "91": 36, "92": 37, "93": 37, "94": 37, "95": 39, "96": 39, "97": 39, "98": 40, "99": 41, "100": 41, "101": 41, "102": 41, "103": 41, "104": 43, "105": 44, "106": 44, "107": 44, "108": 46, "109": 47, "110": 47, "116": 11, "153": 7, "124": 11, "125": 12, "126": 13, "127": 14}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index 38495c30..70107276 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 = 1434024007.5571609 +_modified_time = 1434027607.6333866 _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', 'mathjax_script', 'open_graph_metadata', 'meta_translations', 'twitter_card_information', 'html_tags'] +_exports = ['open_graph_metadata', 'twitter_card_information', 'mathjax_script', 'html_pager', 'meta_translations', 'html_tags'] def render_body(context,**pageargs): @@ -29,58 +29,16 @@ 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