')
__M_writer(str(title))
@@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "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"}
+{"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}, "uri": "list.tmpl", "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 53989184..fc993242 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 = 1433948407.8668184
+_modified_time = 1433952007.3943014
_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)
+ title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
- title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
+ title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context)
+ date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', 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
-{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "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"}
+{"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}, "uri": "list_post.tmpl", "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 f8a7898b..c981c6a6 100644
--- a/cache/.mako.tmp/listing.tmpl.py
+++ b/cache/.mako.tmp/listing.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1433948407.8176663
+_modified_time = 1433952007.347692
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
_source_encoding = 'utf-8'
-_exports = ['content', 'sourcelink']
+_exports = ['sourcelink', 'content']
def _mako_get_namespace(context, name):
@@ -31,15 +31,15 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- code = _import_ns.get('code', context.get('code', UNDEFINED))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
__M_writer = context.writer()
@@ -60,16 +60,38 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_sourcelink(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ _import_ns = {}
+ _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ 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:
+ __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:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- code = _import_ns.get('code', context.get('code', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context)
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
__M_writer = context.writer()
@@ -100,30 +122,8 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
-def render_sourcelink(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- _import_ns = {}
- _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- def sourcelink():
- return render_sourcelink(context)
- __M_writer = context.writer()
- __M_writer('\n')
- if source_link:
- __M_writer(' \n ')
- __M_writer(str(messages("Source")))
- __M_writer('\n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"filename": "themes/bootstrap3/templates/listing.tmpl", "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"}
+{"source_encoding": "utf-8", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "uri": "listing.tmpl", "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 0ce91182..f1882d09 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 = 1433948407.8954434
+_modified_time = 1433952007.4222386
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['extra_head', 'content', 'sourcelink']
+_exports = ['sourcelink', 'content', 'extra_head']
def _mako_get_namespace(context, name):
@@ -35,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- messages = context.get('messages', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- parent = context.get('parent', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
def content():
return render_content(context._locals(__M_locals))
- comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ parent = context.get('parent', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
+ pheader = _mako_get_namespace(context, 'pheader')
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', 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_sourcelink(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ def sourcelink():
+ return render_sourcelink(context)
+ 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(' \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:
+ post = context.get('post', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ def content():
+ return render_content(context)
+ messages = context.get('messages', 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:
+ post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
def extra_head():
return render_extra_head(context)
parent = context.get('parent', UNDEFINED)
- helper = _mako_get_namespace(context, 'helper')
- post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -121,68 +181,8 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- messages = context.get('messages', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
- def content():
- return render_content(context)
- helper = _mako_get_namespace(context, 'helper')
- comments = _mako_get_namespace(context, 'comments')
- __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:
- post = context.get('post', UNDEFINED)
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context)
- __M_writer = context.writer()
- __M_writer('\n')
- if show_sourcelink:
- __M_writer(' \n ')
- __M_writer(str(messages("Source")))
- __M_writer('\n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "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": 4, "154": 45, "155": 45, "28": 2, "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}, "source_encoding": "utf-8"}
+{"source_encoding": "utf-8", "line_map": {"128": 45, "129": 45, "130": 47, "131": 47, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 3, "151": 10, "152": 10, "25": 4, "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, "153": 12, "66": 48, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 27, "169": 20, "110": 27, "111": 28, "112": 28, "113": 29, "114": 29, "115": 31, "116": 31, "117": 35, "118": 35, "119": 36, "120": 36, "121": 39, "122": 40, "123": 41, "124": 41, "125": 42, "126": 42, "127": 45}, "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py
index 722a9cff..df84edaa 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 = 1433948407.9596682
+_modified_time = 1433952007.4861798
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_translations', 'html_title', 'html_sourcelink', 'html_post_header']
+_exports = ['html_post_header', 'html_title', 'html_translations', 'html_sourcelink']
def _mako_get_namespace(context, name):
@@ -41,85 +41,20 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_html_translations(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- translations = context.get('translations', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- len = context.get('len', 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:
- title = context.get('title', UNDEFINED)
- post = context.get('post', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if title and not post.meta('hidetitle'):
- __M_writer(' ')
- __M_writer(filters.html_escape(str(post.title())))
- __M_writer('
\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_html_sourcelink(context):
- __M_caller = context.caller_stack._push_frame()
- try:
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- post = context.get('post', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if show_sourcelink:
- __M_writer(' ')
- __M_writer(str(messages("Source")))
- __M_writer('
\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- messages = context.get('messages', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
- def html_sourcelink():
- return render_html_sourcelink(context)
- def html_translations(post):
- return render_html_translations(context,post)
+ post = context.get('post', UNDEFINED)
def html_title():
return render_html_title(context)
comments = _mako_get_namespace(context, 'comments')
+ def html_sourcelink():
+ return render_html_sourcelink(context)
+ messages = context.get('messages', UNDEFINED)
+ def html_translations(post):
+ return render_html_translations(context,post)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n \n ')
__M_writer(str(html_title()))
@@ -159,8 +94,73 @@ def render_html_post_header(context):
context.caller_stack._pop_frame()
+def render_html_title(context):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ title = context.get('title', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if title and not post.meta('hidetitle'):
+ __M_writer(' ')
+ __M_writer(filters.html_escape(str(post.title())))
+ __M_writer('
\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_html_translations(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ translations = context.get('translations', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ lang = context.get('lang', 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_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()
+
+
"""
__M_BEGIN_METADATA
-{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 3, "151": 44, "152": 44, "25": 2, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 5, "162": 156, "78": 5, "79": 6, "80": 7, "81": 7, "82": 7, "83": 7, "84": 7, "90": 24, "97": 24, "98": 25, "99": 26, "100": 26, "101": 26, "102": 26, "103": 26, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "source_encoding": "utf-8"}
+{"source_encoding": "utf-8", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "143": 24, "22": 3, "151": 25, "152": 26, "25": 2, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 30, "162": 156, "59": 30, "60": 32, "61": 32, "62": 34, "63": 34, "64": 35, "65": 35, "66": 35, "67": 35, "68": 35, "69": 35, "70": 35, "71": 35, "72": 36, "73": 37, "74": 37, "75": 37, "76": 39, "77": 39, "78": 39, "79": 40, "80": 41, "81": 41, "82": 41, "83": 41, "84": 41, "85": 43, "86": 44, "87": 44, "88": 44, "89": 46, "90": 47, "91": 47, "97": 5, "103": 5, "104": 6, "105": 7, "106": 7, "107": 7, "108": 7, "109": 7, "115": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}, "uri": "post_header.tmpl", "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 43847280..b1c5944e 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 = 1433948407.9271908
+_modified_time = 1433952007.4538
_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 = ['meta_translations', 'open_graph_metadata', 'twitter_card_information', 'mathjax_script', 'html_tags', 'html_pager']
+_exports = ['meta_translations', 'open_graph_metadata', 'html_tags', 'mathjax_script', 'html_pager', 'twitter_card_information']
def render_body(context,**pageargs):
@@ -32,9 +32,9 @@ def render_body(context,**pageargs):
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
+ translations = context.get('translations', UNDEFINED)
len = context.get('len', UNDEFINED)
lang = context.get('lang', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
@@ -53,13 +53,13 @@ def render_meta_translations(context,post):
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- striphtml = context.get('striphtml', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- abs_link = context.get('abs_link', UNDEFINED)
- use_open_graph = context.get('use_open_graph', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
+ abs_link = context.get('abs_link', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
lang = context.get('lang', UNDEFINED)
+ striphtml = context.get('striphtml', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
@@ -97,49 +97,6 @@ def render_open_graph_metadata(context,post):
context.caller_stack._pop_frame()
-def render_twitter_card_information(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- twitter_card = context.get('twitter_card', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if twitter_card and twitter_card['use_twitter_cards']:
- __M_writer(' \n')
- if 'site:id' in twitter_card:
- __M_writer(' \n')
- elif 'site' in twitter_card:
- __M_writer(' \n')
- if 'creator:id' in twitter_card:
- __M_writer(' \n')
- elif 'creator' in twitter_card:
- __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_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@@ -162,6 +119,18 @@ def render_html_tags(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:
@@ -192,8 +161,39 @@ def render_html_pager(context,post):
context.caller_stack._pop_frame()
+def render_twitter_card_information(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ twitter_card = context.get('twitter_card', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if twitter_card and twitter_card['use_twitter_cards']:
+ __M_writer(' \n')
+ if 'site:id' in twitter_card:
+ __M_writer(' \n')
+ elif 'site' in twitter_card:
+ __M_writer(' \n')
+ if 'creator:id' in twitter_card:
+ __M_writer(' \n')
+ elif 'creator' in twitter_card:
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 42, "64": 42, "65": 43, "66": 44, "67": 44, "68": 44, "69": 45, "70": 45, "71": 46, "72": 46, "73": 47, "74": 48, "75": 48, "76": 48, "77": 49, "78": 50, "79": 50, "80": 50, "81": 52, "82": 53, "83": 53, "84": 53, "85": 55, "86": 60, "87": 61, "88": 61, "89": 61, "90": 63, "91": 64, "92": 65, "93": 65, "94": 65, "100": 71, "105": 71, "106": 72, "107": 73, "108": 73, "109": 73, "110": 74, "111": 75, "112": 75, "113": 75, "114": 76, "115": 77, "116": 77, "117": 77, "118": 79, "119": 80, "120": 80, "121": 80, "122": 81, "123": 82, "124": 82, "125": 82, "131": 87, "135": 87, "136": 88, "137": 89, "143": 13, "149": 13, "150": 14, "151": 15, "152": 16, "153": 17, "154": 18, "155": 18, "156": 18, "157": 18, "158": 18, "159": 21, "165": 25, "170": 25, "171": 26, "172": 27, "173": 28, "174": 29, "175": 30, "176": 30, "177": 30, "178": 30, "179": 30, "180": 30, "181": 33, "182": 34, "183": 35, "184": 35, "185": 35, "186": 35, "187": 35, "188": 35, "189": 38, "195": 189}, "source_encoding": "utf-8"}
+{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 42, "64": 42, "65": 43, "66": 44, "67": 44, "68": 44, "69": 45, "70": 45, "71": 46, "72": 46, "73": 47, "74": 48, "75": 48, "76": 48, "77": 49, "78": 50, "79": 50, "80": 50, "81": 52, "82": 53, "83": 53, "84": 53, "85": 55, "86": 60, "87": 61, "88": 61, "89": 61, "90": 63, "91": 64, "92": 65, "93": 65, "94": 65, "100": 13, "106": 13, "107": 14, "108": 15, "109": 16, "110": 17, "111": 18, "112": 18, "113": 18, "114": 18, "115": 18, "116": 21, "122": 87, "126": 87, "127": 88, "128": 89, "134": 25, "139": 25, "140": 26, "141": 27, "142": 28, "143": 29, "144": 30, "145": 30, "146": 30, "147": 30, "148": 30, "149": 30, "150": 33, "151": 34, "152": 35, "153": 35, "154": 35, "155": 35, "156": 35, "157": 35, "158": 38, "164": 71, "169": 71, "170": 72, "171": 73, "172": 73, "173": 73, "174": 74, "175": 75, "176": 75, "177": 75, "178": 76, "179": 77, "180": 77, "181": 77, "182": 79, "183": 80, "184": 80, "185": 80, "186": 81, "187": 82, "188": 82, "189": 82, "195": 189}, "uri": "post_helper.tmpl", "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 9840c710..a65a4fcd 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 = 1433948407.983156
+_modified_time = 1433952007.5095634
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
@@ -35,15 +35,15 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- enable_comments = context.get('enable_comments', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
- def content():
- return render_content(context._locals(__M_locals))
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
+ def content():
+ return render_content(context._locals(__M_locals))
+ messages = context.get('messages', UNDEFINED)
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', 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:
- enable_comments = context.get('enable_comments', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
- def content():
- return render_content(context)
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
+ def content():
+ return render_content(context)
+ messages = context.get('messages', UNDEFINED)
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', 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
-{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "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"}
+{"source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 3, "87": 19, "88": 22, "25": 4, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "uri": "story.tmpl", "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 5be532c8..9238ddf6 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 = 1433948408.0370464
+_modified_time = 1433952007.5634046
_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)
- subcategories = context.get('subcategories', UNDEFINED)
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- messages = context.get('messages', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- len = context.get('len', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- description = context.get('description', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ parent = context.get('parent', UNDEFINED)
+ subcategories = context.get('subcategories', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ _link = context.get('_link', 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:
- def extra_head():
- return render_extra_head(context)
- kind = context.get('kind', UNDEFINED)
- len = context.get('len', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- generate_rss = context.get('generate_rss', 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()
-
-
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- subcategories = context.get('subcategories', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- len = context.get('len', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
def content():
return render_content(context)
- description = context.get('description', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ subcategories = context.get('subcategories', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ _link = context.get('_link', 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:
+ translations = context.get('translations', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ def extra_head():
+ return render_extra_head(context)
+ parent = context.get('parent', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ _link = context.get('_link', 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
-{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl", "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}, "source_encoding": "utf-8"}
+{"source_encoding": "utf-8", "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}, "uri": "tag.tmpl", "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 c4041ef7..98750dc7 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 = 1433948408.0174668
+_modified_time = 1433952007.5438395
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
@@ -27,12 +27,12 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- cat_items = context.get('cat_items', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ items = context.get('items', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- items = context.get('items', UNDEFINED)
- title = context.get('title', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ cat_items = context.get('cat_items', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- cat_items = context.get('cat_items', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ items = context.get('items', UNDEFINED)
def content():
return render_content(context)
- items = context.get('items', UNDEFINED)
- title = context.get('title', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ cat_items = context.get('cat_items', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(title))
@@ -90,6 +90,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"filename": "themes/bootstrap/templates/tags.tmpl", "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"}
+{"source_encoding": "utf-8", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "uri": "tags.tmpl", "filename": "themes/bootstrap/templates/tags.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/lastdeploy b/cache/lastdeploy
index 81067181..d452cf0d 100644
--- a/cache/lastdeploy
+++ b/cache/lastdeploy
@@ -1 +1 @@
-2015-06-10T15:00:11.185025
\ No newline at end of file
+2015-06-10T16:00:10.722475
\ No newline at end of file
') __M_writer(str(title)) @@ -85,6 +85,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "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"} +{"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}, "uri": "list_post.tmpl", "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 f8a7898b..c981c6a6 100644 --- a/cache/.mako.tmp/listing.tmpl.py +++ b/cache/.mako.tmp/listing.tmpl.py @@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 -_modified_time = 1433948407.8176663 +_modified_time = 1433952007.347692 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' _source_encoding = 'utf-8' -_exports = ['content', 'sourcelink'] +_exports = ['sourcelink', 'content'] def _mako_get_namespace(context, name): @@ -31,15 +31,15 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - code = _import_ns.get('code', context.get('code', UNDEFINED)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - files = _import_ns.get('files', context.get('files', UNDEFINED)) crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) - def sourcelink(): - return render_sourcelink(context._locals(__M_locals)) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) + code = _import_ns.get('code', context.get('code', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + def sourcelink(): + return render_sourcelink(context._locals(__M_locals)) + files = _import_ns.get('files', context.get('files', UNDEFINED)) folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) ui = _mako_get_namespace(context, 'ui') __M_writer = context.writer() @@ -60,16 +60,38 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_sourcelink(context,**pageargs): + __M_caller = context.caller_stack._push_frame() + try: + _import_ns = {} + _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + 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: + __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(filters.html_escape(str(post.title()))) - __M_writer('
\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_sourcelink(context): - __M_caller = context.caller_stack._push_frame() - try: - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - messages = context.get('messages', UNDEFINED) - post = context.get('post', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if show_sourcelink: - __M_writer('') - __M_writer(str(messages("Source"))) - __M_writer('
\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - messages = context.get('messages', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) - post = context.get('post', UNDEFINED) date_format = context.get('date_format', UNDEFINED) - def html_sourcelink(): - return render_html_sourcelink(context) - def html_translations(post): - return render_html_translations(context,post) + post = context.get('post', UNDEFINED) def html_title(): return render_html_title(context) comments = _mako_get_namespace(context, 'comments') + def html_sourcelink(): + return render_html_sourcelink(context) + messages = context.get('messages', UNDEFINED) + def html_translations(post): + return render_html_translations(context,post) + site_has_comments = context.get('site_has_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n') + __M_writer(filters.html_escape(str(post.title()))) + __M_writer('
\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + translations = context.get('translations', UNDEFINED) + messages = context.get('messages', UNDEFINED) + len = context.get('len', UNDEFINED) + lang = context.get('lang', 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_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() + + """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 3, "151": 44, "152": 44, "25": 2, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 5, "162": 156, "78": 5, "79": 6, "80": 7, "81": 7, "82": 7, "83": 7, "84": 7, "90": 24, "97": 24, "98": 25, "99": 26, "100": 26, "101": 26, "102": 26, "103": 26, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "143": 24, "22": 3, "151": 25, "152": 26, "25": 2, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 30, "162": 156, "59": 30, "60": 32, "61": 32, "62": 34, "63": 34, "64": 35, "65": 35, "66": 35, "67": 35, "68": 35, "69": 35, "70": 35, "71": 35, "72": 36, "73": 37, "74": 37, "75": 37, "76": 39, "77": 39, "78": 39, "79": 40, "80": 41, "81": 41, "82": 41, "83": 41, "84": 41, "85": 43, "86": 44, "87": 44, "88": 44, "89": 46, "90": 47, "91": 47, "97": 5, "103": 5, "104": 6, "105": 7, "106": 7, "107": 7, "108": 7, "109": 7, "115": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}, "uri": "post_header.tmpl", "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 43847280..b1c5944e 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 = 1433948407.9271908 +_modified_time = 1433952007.4538 _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 = ['meta_translations', 'open_graph_metadata', 'twitter_card_information', 'mathjax_script', 'html_tags', 'html_pager'] +_exports = ['meta_translations', 'open_graph_metadata', 'html_tags', 'mathjax_script', 'html_pager', 'twitter_card_information'] def render_body(context,**pageargs): @@ -32,9 +32,9 @@ def render_body(context,**pageargs): def render_meta_translations(context,post): __M_caller = context.caller_stack._push_frame() try: + translations = context.get('translations', UNDEFINED) len = context.get('len', UNDEFINED) lang = context.get('lang', UNDEFINED) - translations = context.get('translations', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if len(translations) > 1: @@ -53,13 +53,13 @@ def render_meta_translations(context,post): def render_open_graph_metadata(context,post): __M_caller = context.caller_stack._push_frame() try: - striphtml = context.get('striphtml', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) - use_open_graph = context.get('use_open_graph', UNDEFINED) blog_title = context.get('blog_title', UNDEFINED) url_replacer = context.get('url_replacer', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) + use_open_graph = context.get('use_open_graph', UNDEFINED) lang = context.get('lang', UNDEFINED) + striphtml = context.get('striphtml', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_open_graph: @@ -97,49 +97,6 @@ def render_open_graph_metadata(context,post): context.caller_stack._pop_frame() -def render_twitter_card_information(context,post): - __M_caller = context.caller_stack._push_frame() - try: - twitter_card = context.get('twitter_card', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if twitter_card and twitter_card['use_twitter_cards']: - __M_writer(' \n') - if 'site:id' in twitter_card: - __M_writer(' \n') - elif 'site' in twitter_card: - __M_writer(' \n') - if 'creator:id' in twitter_card: - __M_writer(' \n') - elif 'creator' in twitter_card: - __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_html_tags(context,post): __M_caller = context.caller_stack._push_frame() try: @@ -162,6 +119,18 @@ def render_html_tags(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: @@ -192,8 +161,39 @@ def render_html_pager(context,post): context.caller_stack._pop_frame() +def render_twitter_card_information(context,post): + __M_caller = context.caller_stack._push_frame() + try: + twitter_card = context.get('twitter_card', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if twitter_card and twitter_card['use_twitter_cards']: + __M_writer(' \n') + if 'site:id' in twitter_card: + __M_writer(' \n') + elif 'site' in twitter_card: + __M_writer(' \n') + if 'creator:id' in twitter_card: + __M_writer(' \n') + elif 'creator' in twitter_card: + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + """ __M_BEGIN_METADATA -{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 42, "64": 42, "65": 43, "66": 44, "67": 44, "68": 44, "69": 45, "70": 45, "71": 46, "72": 46, "73": 47, "74": 48, "75": 48, "76": 48, "77": 49, "78": 50, "79": 50, "80": 50, "81": 52, "82": 53, "83": 53, "84": 53, "85": 55, "86": 60, "87": 61, "88": 61, "89": 61, "90": 63, "91": 64, "92": 65, "93": 65, "94": 65, "100": 71, "105": 71, "106": 72, "107": 73, "108": 73, "109": 73, "110": 74, "111": 75, "112": 75, "113": 75, "114": 76, "115": 77, "116": 77, "117": 77, "118": 79, "119": 80, "120": 80, "121": 80, "122": 81, "123": 82, "124": 82, "125": 82, "131": 87, "135": 87, "136": 88, "137": 89, "143": 13, "149": 13, "150": 14, "151": 15, "152": 16, "153": 17, "154": 18, "155": 18, "156": 18, "157": 18, "158": 18, "159": 21, "165": 25, "170": 25, "171": 26, "172": 27, "173": 28, "174": 29, "175": 30, "176": 30, "177": 30, "178": 30, "179": 30, "180": 30, "181": 33, "182": 34, "183": 35, "184": 35, "185": 35, "186": 35, "187": 35, "188": 35, "189": 38, "195": 189}, "source_encoding": "utf-8"} +{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 42, "64": 42, "65": 43, "66": 44, "67": 44, "68": 44, "69": 45, "70": 45, "71": 46, "72": 46, "73": 47, "74": 48, "75": 48, "76": 48, "77": 49, "78": 50, "79": 50, "80": 50, "81": 52, "82": 53, "83": 53, "84": 53, "85": 55, "86": 60, "87": 61, "88": 61, "89": 61, "90": 63, "91": 64, "92": 65, "93": 65, "94": 65, "100": 13, "106": 13, "107": 14, "108": 15, "109": 16, "110": 17, "111": 18, "112": 18, "113": 18, "114": 18, "115": 18, "116": 21, "122": 87, "126": 87, "127": 88, "128": 89, "134": 25, "139": 25, "140": 26, "141": 27, "142": 28, "143": 29, "144": 30, "145": 30, "146": 30, "147": 30, "148": 30, "149": 30, "150": 33, "151": 34, "152": 35, "153": 35, "154": 35, "155": 35, "156": 35, "157": 35, "158": 38, "164": 71, "169": 71, "170": 72, "171": 73, "172": 73, "173": 73, "174": 74, "175": 75, "176": 75, "177": 75, "178": 76, "179": 77, "180": 77, "181": 77, "182": 79, "183": 80, "184": 80, "185": 80, "186": 81, "187": 82, "188": 82, "189": 82, "195": 189}, "uri": "post_helper.tmpl", "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 9840c710..a65a4fcd 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 = 1433948407.983156 +_modified_time = 1433952007.5095634 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl' _template_uri = 'story.tmpl' @@ -35,15 +35,15 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - enable_comments = context.get('enable_comments', UNDEFINED) - messages = context.get('messages', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) post = context.get('post', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') - def content(): - return render_content(context._locals(__M_locals)) comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') + def content(): + return render_content(context._locals(__M_locals)) + messages = context.get('messages', UNDEFINED) + enable_comments = context.get('enable_comments', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + site_has_comments = context.get('site_has_comments', 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: - enable_comments = context.get('enable_comments', UNDEFINED) - messages = context.get('messages', UNDEFINED) - site_has_comments = context.get('site_has_comments', UNDEFINED) post = context.get('post', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') - def content(): - return render_content(context) comments = _mako_get_namespace(context, 'comments') helper = _mako_get_namespace(context, 'helper') + def content(): + return render_content(context) + messages = context.get('messages', UNDEFINED) + enable_comments = context.get('enable_comments', UNDEFINED) + pheader = _mako_get_namespace(context, 'pheader') + site_has_comments = context.get('site_has_comments', UNDEFINED) __M_writer = context.writer() __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