')
__M_writer(str(title))
@@ -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}, "source_encoding": "utf-8", "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", "uri": "list.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py
index da1635f2..df7e3d21 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 = 1434038407.5097938
+_modified_time = 1434042007.4842474
_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,11 +27,11 @@ 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)
def content():
return render_content(context._locals(__M_locals))
- title = context.get('title', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
@@ -48,11 +48,11 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- posts = context.get('posts', UNDEFINED)
def content():
return render_content(context)
- title = context.get('title', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
@@ -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}, "source_encoding": "utf-8", "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", "uri": "list_post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 499b8d0a..cbd3a52e 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 = 1434038407.462948
+_modified_time = 1434042007.437249
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@@ -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'])
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
__M_writer = context.writer()
@@ -65,13 +65,13 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- files = _import_ns.get('files', context.get('files', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context)
ui = _mako_get_namespace(context, 'ui')
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', 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))
__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}, "source_encoding": "utf-8", "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"}
+{"source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index 7677d32e..b719df3c 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 = 1434038407.537656
+_modified_time = 1434042007.5122461
_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):
@@ -36,19 +36,19 @@ def render_body(context,**pageargs):
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
site_has_comments = context.get('site_has_comments', UNDEFINED)
- helper = _mako_get_namespace(context, 'helper')
pheader = _mako_get_namespace(context, 'pheader')
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
+ messages = context.get('messages', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ parent = context.get('parent', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
def content():
return render_content(context._locals(__M_locals))
- messages = context.get('messages', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- post = context.get('post', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__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)
+ pheader = _mako_get_namespace(context, 'pheader')
+ messages = context.get('messages', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ helper = _mako_get_namespace(context, 'helper')
+ site_has_comments = context.get('site_has_comments', 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(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)
+ 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:
+ __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)
+ helper = _mako_get_namespace(context, 'helper')
post = context.get('post', UNDEFINED)
def extra_head():
return render_extra_head(context)
- helper = _mako_get_namespace(context, 'helper')
__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:
- post = context.get('post', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context)
- show_sourcelink = context.get('show_sourcelink', 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:
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- def content():
- return render_content(context)
- messages = context.get('messages', UNDEFINED)
- helper = _mako_get_namespace(context, 'helper')
- post = context.get('post', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
- pheader = _mako_get_namespace(context, 'pheader')
- __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
-{"line_map": {"133": 50, "134": 51, "135": 52, "136": 53, "137": 53, "138": 53, "139": 53, "145": 27, "22": 4, "25": 3, "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}, "source_encoding": "utf-8", "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl"}
+{"source_encoding": "utf-8", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 4, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 2, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py
index 87c4c86b..d3c20a61 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 = 1434038407.6020782
+_modified_time = 1434042007.5761755
_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_sourcelink', 'html_translations', 'html_title', 'html_post_header']
+_exports = ['html_title', 'html_post_header', 'html_sourcelink', 'html_translations']
def _mako_get_namespace(context, name):
@@ -41,58 +41,11 @@ def render_body(context,**pageargs):
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:
- lang = context.get('lang', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if len(post.translated_to) > 1:
- __M_writer(' \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_html_title(context):
__M_caller = context.caller_stack._push_frame()
try:
- post = context.get('post', UNDEFINED)
title = context.get('title', UNDEFINED)
+ post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if title and not post.meta('hidetitle'):
@@ -109,17 +62,17 @@ def render_html_title(context):
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- def html_title():
- return render_html_title(context)
messages = context.get('messages', UNDEFINED)
- def html_translations(post):
- return render_html_translations(context,post)
- post = context.get('post', UNDEFINED)
- def html_sourcelink():
- return render_html_sourcelink(context)
comments = _mako_get_namespace(context, 'comments')
date_format = context.get('date_format', 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)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n \n ')
__M_writer(str(html_title()))
@@ -159,8 +112,55 @@ def render_html_post_header(context):
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_translations(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ lang = context.get('lang', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if len(post.translated_to) > 1:
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"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, "162": 156, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 11, "71": 11, "72": 12, "73": 13, "74": 14, "75": 14, "76": 15, "77": 16, "78": 17, "79": 17, "80": 17, "81": 17, "82": 17, "83": 17, "84": 17, "85": 20, "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}, "source_encoding": "utf-8", "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": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 3, "151": 17, "152": 17, "25": 2, "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"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py
index 173a5d6d..dadef949 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 = 1434038407.5694616
+_modified_time = 1434042007.543795
_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 = ['mathjax_script', 'open_graph_metadata', 'meta_translations', 'twitter_card_information', 'html_pager', 'html_tags']
+_exports = ['mathjax_script', 'html_pager', 'html_tags', 'meta_translations', 'twitter_card_information', 'open_graph_metadata']
def render_body(context,**pageargs):
@@ -41,48 +41,53 @@ def render_mathjax_script(context,post):
context.caller_stack._pop_frame()
-def render_open_graph_metadata(context,post):
+def render_html_pager(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- use_open_graph = context.get('use_open_graph', UNDEFINED)
- striphtml = context.get('striphtml', UNDEFINED)
- url_replacer = context.get('url_replacer', UNDEFINED)
- abs_link = context.get('abs_link', UNDEFINED)
- blog_title = context.get('blog_title', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
- if use_open_graph:
- __M_writer(' \n \n \n')
- if post.description():
- __M_writer(' \n')
- else:
- __M_writer(' \n')
- if post.previewimage:
- __M_writer(' \n')
- __M_writer(' \n')
- if post.date.isoformat():
- __M_writer(' \n')
- if post.tags:
- for tag in post.tags:
- __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_html_tags(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _link = context.get('_link', UNDEFINED)
+ hidden_tags = context.get('hidden_tags', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if post.tags:
+ __M_writer(' \n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -140,53 +145,48 @@ def render_twitter_card_information(context,post):
context.caller_stack._pop_frame()
-def render_html_pager(context,post):
+def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- messages = context.get('messages', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ blog_title = context.get('blog_title', UNDEFINED)
+ abs_link = context.get('abs_link', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
+ striphtml = context.get('striphtml', UNDEFINED)
+ url_replacer = context.get('url_replacer', 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_html_tags(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- hidden_tags = context.get('hidden_tags', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if post.tags:
- __M_writer('
')
@@ -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}, "source_encoding": "utf-8", "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", "uri": "list_post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 499b8d0a..cbd3a52e 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 = 1434038407.462948
+_modified_time = 1434042007.437249
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@@ -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'])
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
__M_writer = context.writer()
@@ -65,13 +65,13 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- files = _import_ns.get('files', context.get('files', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context)
ui = _mako_get_namespace(context, 'ui')
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', 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))
__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}, "source_encoding": "utf-8", "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"}
+{"source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index 7677d32e..b719df3c 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 = 1434038407.537656
+_modified_time = 1434042007.5122461
_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):
@@ -36,19 +36,19 @@ def render_body(context,**pageargs):
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
site_has_comments = context.get('site_has_comments', UNDEFINED)
- helper = _mako_get_namespace(context, 'helper')
pheader = _mako_get_namespace(context, 'pheader')
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
+ messages = context.get('messages', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ parent = context.get('parent', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
def content():
return render_content(context._locals(__M_locals))
- messages = context.get('messages', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- post = context.get('post', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__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)
+ pheader = _mako_get_namespace(context, 'pheader')
+ messages = context.get('messages', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ helper = _mako_get_namespace(context, 'helper')
+ site_has_comments = context.get('site_has_comments', 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(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)
+ 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:
+ __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_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - lang = context.get('lang', UNDEFINED) - messages = context.get('messages', UNDEFINED) - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(post.translated_to) > 1: - __M_writer(' \n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_title(context): __M_caller = context.caller_stack._push_frame() try: - post = context.get('post', UNDEFINED) title = context.get('title', UNDEFINED) + post = context.get('post', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if title and not post.meta('hidetitle'): @@ -109,17 +62,17 @@ def render_html_title(context): def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - site_has_comments = context.get('site_has_comments', UNDEFINED) - def html_title(): - return render_html_title(context) messages = context.get('messages', UNDEFINED) - def html_translations(post): - return render_html_translations(context,post) - post = context.get('post', UNDEFINED) - def html_sourcelink(): - return render_html_sourcelink(context) comments = _mako_get_namespace(context, 'comments') date_format = context.get('date_format', 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) + site_has_comments = context.get('site_has_comments', 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_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + lang = context.get('lang', UNDEFINED) + len = context.get('len', UNDEFINED) + messages = context.get('messages', UNDEFINED) + translations = context.get('translations', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(post.translated_to) > 1: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"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, "162": 156, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 11, "71": 11, "72": 12, "73": 13, "74": 14, "75": 14, "76": 15, "77": 16, "78": 17, "79": 17, "80": 17, "81": 17, "82": 17, "83": 17, "84": 17, "85": 20, "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}, "source_encoding": "utf-8", "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": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 3, "151": 17, "152": 17, "25": 2, "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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index 173a5d6d..dadef949 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 = 1434038407.5694616 +_modified_time = 1434042007.543795 _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 = ['mathjax_script', 'open_graph_metadata', 'meta_translations', 'twitter_card_information', 'html_pager', 'html_tags'] +_exports = ['mathjax_script', 'html_pager', 'html_tags', 'meta_translations', 'twitter_card_information', 'open_graph_metadata'] def render_body(context,**pageargs): @@ -41,48 +41,53 @@ def render_mathjax_script(context,post): context.caller_stack._pop_frame() -def render_open_graph_metadata(context,post): +def render_html_pager(context,post): __M_caller = context.caller_stack._push_frame() try: - use_open_graph = context.get('use_open_graph', UNDEFINED) - striphtml = context.get('striphtml', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - blog_title = context.get('blog_title', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - lang = context.get('lang', UNDEFINED) + messages = context.get('messages', UNDEFINED) __M_writer = context.writer() __M_writer('\n') - if use_open_graph: - __M_writer(' \n \n \n') - if post.description(): - __M_writer(' \n') - else: - __M_writer(' \n') - if post.previewimage: - __M_writer(' \n') - __M_writer(' \n') - if post.date.isoformat(): - __M_writer(' \n') - if post.tags: - for tag in post.tags: - __M_writer(' \n') + if post.prev_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('
') + __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