')
__M_writer(str(title))
@@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"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"}
+{"uri": "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"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py
index 0c6eea65..f6921448 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 = 1434153608.3066664
+_modified_time = 1434157207.3942926
_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)
- messages = context.get('messages', UNDEFINED)
- title = context.get('title', UNDEFINED)
- def content():
- return render_content(context._locals(__M_locals))
date_format = context.get('date_format', UNDEFINED)
posts = context.get('posts', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ def content():
+ return render_content(context._locals(__M_locals))
+ 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:
- messages = context.get('messages', UNDEFINED)
- title = context.get('title', UNDEFINED)
- def content():
- return render_content(context)
date_format = context.get('date_format', UNDEFINED)
posts = context.get('posts', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ def content():
+ return render_content(context)
+ 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
-{"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"}
+{"uri": "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"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index c0480477..d4f63d9e 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 = 1434153608.259651
+_modified_time = 1434157207.3479712
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- files = _import_ns.get('files', context.get('files', UNDEFINED))
- source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
- ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
+ ui = _mako_get_namespace(context, 'ui')
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
@@ -65,10 +65,10 @@ def render_sourcelink(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def sourcelink():
return render_sourcelink(context)
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if source_link:
@@ -87,13 +87,13 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
code = _import_ns.get('code', context.get('code', 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))
def content():
return render_content(context)
+ ui = _mako_get_namespace(context, 'ui')
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(ui.bar(crumbs)))
@@ -124,6 +124,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"}
+{"uri": "listing.tmpl", "source_encoding": "utf-8", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "filename": "themes/bootstrap3/templates/listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index f7c811d5..e1aadd1d 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 = 1434153608.3346872
+_modified_time = 1434157207.4218714
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['sourcelink', 'extra_head', 'content']
+_exports = ['extra_head', 'sourcelink', 'content']
def _mako_get_namespace(context, name):
@@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
- ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'comments')] = ns
-
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
+ ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
@@ -35,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- comments = _mako_get_namespace(context, 'comments')
- helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
- messages = context.get('messages', UNDEFINED)
- post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
parent = context.get('parent', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -74,35 +74,14 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
-def render_sourcelink(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context)
- post = context.get('post', UNDEFINED)
- messages = context.get('messages', 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:
- 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')
parent = context.get('parent', UNDEFINED)
+ post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -142,17 +121,38 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
+def render_sourcelink(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context)
+ post = context.get('post', UNDEFINED)
+ messages = context.get('messages', 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:
comments = _mako_get_namespace(context, 'comments')
- messages = context.get('messages', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
+ messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context)
- pheader = _mako_get_namespace(context, 'pheader')
__M_writer = context.writer()
__M_writer('\n 1:
- __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)
- post = context.get('post', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if show_sourcelink:
- __M_writer(' ')
- __M_writer(str(messages("Source")))
- __M_writer('
\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- def html_translations(post):
- return render_html_translations(context,post)
def html_title():
return render_html_title(context)
+ messages = context.get('messages', UNDEFINED)
+ post = context.get('post', UNDEFINED)
+ def html_translations(post):
+ return render_html_translations(context,post)
comments = _mako_get_namespace(context, 'comments')
+ date_format = context.get('date_format', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
- date_format = context.get('date_format', UNDEFINED)
- messages = context.get('messages', 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_title(context):
context.caller_stack._pop_frame()
+def render_html_translations(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ len = context.get('len', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if len(post.translated_to) > 1:
+ __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)
+ post = context.get('post', UNDEFINED)
+ messages = context.get('messages', 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
-{"source_encoding": "utf-8", "line_map": {"128": 41, "129": 41, "130": 41, "131": 41, "132": 43, "133": 44, "134": 44, "135": 44, "136": 46, "137": 47, "138": 47, "144": 5, "22": 2, "151": 6, "152": 7, "25": 3, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 24, "162": 156, "79": 24, "80": 25, "81": 26, "82": 26, "83": 26, "84": 26, "85": 26, "153": 7, "91": 30, "106": 30, "107": 32, "108": 32, "109": 34, "110": 34, "111": 35, "112": 35, "113": 35, "114": 35, "115": 35, "116": 35, "117": 35, "118": 35, "119": 36, "120": 37, "121": 37, "122": 37, "123": 39, "124": 39, "125": 39, "126": 40, "127": 41}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl"}
+{"uri": "post_header.tmpl", "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": 2, "151": 25, "152": 26, "25": 3, "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}, "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 a2b1d103..c92e1904 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 = 1434153608.3662806
+_modified_time = 1434157207.4533014
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
_template_uri = 'post_helper.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_pager', 'mathjax_script', 'meta_translations', 'open_graph_metadata', 'html_tags', 'twitter_card_information']
+_exports = ['meta_translations', 'html_pager', 'html_tags', 'open_graph_metadata', 'mathjax_script', 'twitter_card_information']
def render_body(context,**pageargs):
@@ -29,6 +29,27 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_meta_translations(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ 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:
+ for langname in translations.keys():
+ if langname != lang and post.is_translation_available(langname):
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_html_pager(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@@ -59,34 +80,23 @@ def render_html_pager(context,post):
context.caller_stack._pop_frame()
-def render_mathjax_script(context,post):
+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.is_mathjax:
- __M_writer(' \n \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_meta_translations(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if len(translations) > 1:
- for langname in translations.keys():
- if langname != lang and post.is_translation_available(langname):
- __M_writer(' \n')
+ if post.tags:
+ __M_writer(' \n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -95,13 +105,13 @@ def render_meta_translations(context,post):
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- lang = context.get('lang', UNDEFINED)
- blog_title = context.get('blog_title', UNDEFINED)
- url_replacer = context.get('url_replacer', UNDEFINED)
- permalink = context.get('permalink', UNDEFINED)
- abs_link = context.get('abs_link', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ url_replacer = context.get('url_replacer', UNDEFINED)
+ blog_title = context.get('blog_title', UNDEFINED)
+ abs_link = context.get('abs_link', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
@@ -139,23 +149,13 @@ def render_open_graph_metadata(context,post):
context.caller_stack._pop_frame()
-def render_html_tags(context,post):
+def render_mathjax_script(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')
+ if post.is_mathjax:
+ __M_writer(' \n \n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -194,6 +194,6 @@ def render_twitter_card_information(context,post):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 87, "66": 87, "67": 88, "68": 89, "74": 3, "81": 3, "82": 4, "83": 5, "84": 6, "85": 7, "86": 7, "87": 7, "88": 7, "89": 7, "95": 42, "106": 42, "107": 43, "108": 44, "109": 44, "110": 44, "111": 45, "112": 45, "113": 46, "114": 46, "115": 47, "116": 48, "117": 48, "118": 48, "119": 49, "120": 50, "121": 50, "122": 50, "123": 52, "124": 53, "125": 53, "126": 53, "127": 55, "128": 60, "129": 61, "130": 61, "131": 61, "132": 63, "133": 64, "134": 65, "135": 65, "136": 65, "142": 13, "148": 13, "149": 14, "150": 15, "151": 16, "152": 17, "153": 18, "154": 18, "155": 18, "156": 18, "157": 18, "158": 21, "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl"}
+{"uri": "post_helper.tmpl", "source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 25, "58": 25, "59": 26, "60": 27, "61": 28, "62": 29, "63": 30, "64": 30, "65": 30, "66": 30, "67": 30, "68": 30, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "76": 35, "77": 38, "83": 13, "89": 13, "90": 14, "91": 15, "92": 16, "93": 17, "94": 18, "95": 18, "96": 18, "97": 18, "98": 18, "99": 21, "105": 42, "116": 42, "117": 43, "118": 44, "119": 44, "120": 44, "121": 45, "122": 45, "123": 46, "124": 46, "125": 47, "126": 48, "127": 48, "128": 48, "129": 49, "130": 50, "131": 50, "132": 50, "133": 52, "134": 53, "135": 53, "136": 53, "137": 55, "138": 60, "139": 61, "140": 61, "141": 61, "142": 63, "143": 64, "144": 65, "145": 65, "146": 65, "152": 87, "156": 87, "157": 88, "158": 89, "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}, "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 e60ad5d7..a6732a87 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 = 1434153608.4235196
+_modified_time = 1434157207.5097966
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
@@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
- ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'comments')] = ns
-
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
+ ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'post.tmpl', _template_uri)
@@ -35,15 +35,15 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- comments = _mako_get_namespace(context, 'comments')
+ enable_comments = context.get('enable_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- enable_comments = context.get('enable_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:
- comments = _mako_get_namespace(context, 'comments')
+ enable_comments = context.get('enable_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context)
- enable_comments = context.get('enable_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
-{"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": 2, "87": 19, "88": 22, "25": 4, "90": 22, "28": 3, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "uri": "story.tmpl"}
+{"uri": "story.tmpl", "source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 3, "90": 22, "28": 4, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "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 6b9f51c2..81b511a6 100644
--- a/cache/.mako.tmp/tag.tmpl.py
+++ b/cache/.mako.tmp/tag.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434153608.4766273
+_modified_time = 1434157207.563465
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
_template_uri = 'tag.tmpl'
@@ -27,23 +27,23 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- _link = context.get('_link', UNDEFINED)
- def extra_head():
- return render_extra_head(context._locals(__M_locals))
- subcategories = context.get('subcategories', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ title = context.get('title', UNDEFINED)
len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
+ subcategories = context.get('subcategories', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
messages = context.get('messages', UNDEFINED)
posts = context.get('posts', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ def extra_head():
+ return render_extra_head(context._locals(__M_locals))
+ _link = context.get('_link', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
- title = context.get('title', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- description = context.get('description', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
@@ -64,15 +64,15 @@ def render_body(context,**pageargs):
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- _link = context.get('_link', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
def extra_head():
return render_extra_head(context)
- kind = context.get('kind', UNDEFINED)
- len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -104,20 +104,20 @@ def render_extra_head(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- _link = context.get('_link', UNDEFINED)
- subcategories = context.get('subcategories', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- len = context.get('len', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
- title = context.get('title', UNDEFINED)
- def content():
- return render_content(context)
description = context.get('description', UNDEFINED)
tag = context.get('tag', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ subcategories = context.get('subcategories', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ def content():
+ return render_content(context)
+ generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(filters.html_escape(str(title)))
@@ -179,6 +179,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl"}
+{"uri": "tag.tmpl", "source_encoding": "utf-8", "line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tags.tmpl.py b/cache/.mako.tmp/tags.tmpl.py
index 639e060f..cf6527ea 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 = 1434153608.4571674
+_modified_time = 1434157207.5430803
_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)
+ items = context.get('items', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
- title = context.get('title', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- items = context.get('items', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
+ items = context.get('items', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
- title = context.get('title', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
def content():
return render_content(context)
- items = context.get('items', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(title))
@@ -90,6 +90,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"source_encoding": "utf-8", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "filename": "themes/bootstrap/templates/tags.tmpl", "uri": "tags.tmpl"}
+{"uri": "tags.tmpl", "source_encoding": "utf-8", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "filename": "themes/bootstrap/templates/tags.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/lastdeploy b/cache/lastdeploy
index f5ab2632..e4940595 100644
--- a/cache/lastdeploy
+++ b/cache/lastdeploy
@@ -1 +1 @@
-2015-06-13T00:00:11.230988
\ No newline at end of file
+2015-06-13T01:00:11.082791
\ No newline at end of file
') __M_writer(str(title)) @@ -85,6 +85,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"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"} +{"uri": "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"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py index c0480477..d4f63d9e 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 = 1434153608.259651 +_modified_time = 1434157207.3479712 _enable_loop = True _template_filename = 'themes/bootstrap3/templates/listing.tmpl' _template_uri = 'listing.tmpl' @@ -31,17 +31,17 @@ def render_body(context,**pageargs): __M_locals = __M_dict_builtin(pageargs=pageargs) _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) - files = _import_ns.get('files', context.get('files', UNDEFINED)) - source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - code = _import_ns.get('code', context.get('code', UNDEFINED)) - ui = _mako_get_namespace(context, 'ui') crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) - folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) def sourcelink(): return render_sourcelink(context._locals(__M_locals)) messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) + files = _import_ns.get('files', context.get('files', UNDEFINED)) + source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) + code = _import_ns.get('code', context.get('code', UNDEFINED)) def content(): return render_content(context._locals(__M_locals)) + ui = _mako_get_namespace(context, 'ui') + folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer('\n\n') @@ -65,10 +65,10 @@ def render_sourcelink(context,**pageargs): try: _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) def sourcelink(): return render_sourcelink(context) source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED)) - messages = _import_ns.get('messages', context.get('messages', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') if source_link: @@ -87,13 +87,13 @@ def render_content(context,**pageargs): try: _import_ns = {} _mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar']) + crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED)) files = _import_ns.get('files', context.get('files', UNDEFINED)) code = _import_ns.get('code', context.get('code', 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)) def content(): return render_content(context) + ui = _mako_get_namespace(context, 'ui') + folders = _import_ns.get('folders', context.get('folders', UNDEFINED)) __M_writer = context.writer() __M_writer('\n') __M_writer(str(ui.bar(crumbs))) @@ -124,6 +124,6 @@ def render_content(context,**pageargs): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"} +{"uri": "listing.tmpl", "source_encoding": "utf-8", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "filename": "themes/bootstrap3/templates/listing.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py index f7c811d5..e1aadd1d 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 = 1434153608.3346872 +_modified_time = 1434157207.4218714 _enable_loop = True _template_filename = 'themes/bootstrap/templates/post.tmpl' _template_uri = 'post.tmpl' _source_encoding = 'utf-8' -_exports = ['sourcelink', 'extra_head', 'content'] +_exports = ['extra_head', 'sourcelink', 'content'] def _mako_get_namespace(context, name): @@ -22,12 +22,12 @@ def _mako_generate_namespaces(context): ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'helper')] = ns - ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'comments')] = ns - ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'pheader')] = ns + ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'comments')] = ns + def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'base.tmpl', _template_uri) @@ -35,20 +35,20 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - def extra_head(): - return render_extra_head(context._locals(__M_locals)) - comments = _mako_get_namespace(context, 'comments') - helper = _mako_get_namespace(context, 'helper') - site_has_comments = context.get('site_has_comments', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') def sourcelink(): return render_sourcelink(context._locals(__M_locals)) - messages = context.get('messages', UNDEFINED) - post = context.get('post', UNDEFINED) + helper = _mako_get_namespace(context, 'helper') parent = context.get('parent', UNDEFINED) + post = context.get('post', UNDEFINED) + messages = context.get('messages', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + def extra_head(): + return render_extra_head(context._locals(__M_locals)) + pheader = _mako_get_namespace(context, 'pheader') + site_has_comments = context.get('site_has_comments', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) + show_sourcelink = context.get('show_sourcelink', UNDEFINED) __M_writer = context.writer() __M_writer('\n') __M_writer('\n') @@ -74,35 +74,14 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() -def render_sourcelink(context,**pageargs): - __M_caller = context.caller_stack._push_frame() - try: - show_sourcelink = context.get('show_sourcelink', UNDEFINED) - def sourcelink(): - return render_sourcelink(context) - post = context.get('post', UNDEFINED) - messages = context.get('messages', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if show_sourcelink: - __M_writer('
') - __M_writer(str(messages("Source"))) - __M_writer('
\n') - return '' - finally: - context.caller_stack._pop_frame() - - def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - def html_translations(post): - return render_html_translations(context,post) def html_title(): return render_html_title(context) + messages = context.get('messages', UNDEFINED) + post = context.get('post', UNDEFINED) + def html_translations(post): + return render_html_translations(context,post) comments = _mako_get_namespace(context, 'comments') + date_format = context.get('date_format', UNDEFINED) site_has_comments = context.get('site_has_comments', UNDEFINED) def html_sourcelink(): return render_html_sourcelink(context) - date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', 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() + + """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"128": 41, "129": 41, "130": 41, "131": 41, "132": 43, "133": 44, "134": 44, "135": 44, "136": 46, "137": 47, "138": 47, "144": 5, "22": 2, "151": 6, "152": 7, "25": 3, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 24, "162": 156, "79": 24, "80": 25, "81": 26, "82": 26, "83": 26, "84": 26, "85": 26, "153": 7, "91": 30, "106": 30, "107": 32, "108": 32, "109": 34, "110": 34, "111": 35, "112": 35, "113": 35, "114": 35, "115": 35, "116": 35, "117": 35, "118": 35, "119": 36, "120": 37, "121": 37, "122": 37, "123": 39, "124": 39, "125": 39, "126": 40, "127": 41}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl"} +{"uri": "post_header.tmpl", "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": 2, "151": 25, "152": 26, "25": 3, "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}, "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 a2b1d103..c92e1904 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 = 1434153608.3662806 +_modified_time = 1434157207.4533014 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl' _template_uri = 'post_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['html_pager', 'mathjax_script', 'meta_translations', 'open_graph_metadata', 'html_tags', 'twitter_card_information'] +_exports = ['meta_translations', 'html_pager', 'html_tags', 'open_graph_metadata', 'mathjax_script', 'twitter_card_information'] def render_body(context,**pageargs): @@ -29,6 +29,27 @@ def render_body(context,**pageargs): context.caller_stack._pop_frame() +def render_meta_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + 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: + for langname in translations.keys(): + if langname != lang and post.is_translation_available(langname): + __M_writer(' \n') + return '' + finally: + context.caller_stack._pop_frame() + + def render_html_pager(context,post): __M_caller = context.caller_stack._push_frame() try: @@ -59,34 +80,23 @@ def render_html_pager(context,post): context.caller_stack._pop_frame() -def render_mathjax_script(context,post): +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.is_mathjax: - __M_writer(' \n \n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_meta_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - len = context.get('len', UNDEFINED) - translations = context.get('translations', UNDEFINED) - lang = context.get('lang', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(translations) > 1: - for langname in translations.keys(): - if langname != lang and post.is_translation_available(langname): - __M_writer(' \n') + if post.tags: + __M_writer(' \n') return '' finally: context.caller_stack._pop_frame() @@ -95,13 +105,13 @@ def render_meta_translations(context,post): def render_open_graph_metadata(context,post): __M_caller = context.caller_stack._push_frame() try: - lang = context.get('lang', UNDEFINED) - blog_title = context.get('blog_title', UNDEFINED) - url_replacer = context.get('url_replacer', UNDEFINED) - permalink = context.get('permalink', UNDEFINED) - abs_link = context.get('abs_link', UNDEFINED) use_open_graph = context.get('use_open_graph', UNDEFINED) + permalink = context.get('permalink', UNDEFINED) striphtml = context.get('striphtml', UNDEFINED) + lang = context.get('lang', UNDEFINED) + url_replacer = context.get('url_replacer', UNDEFINED) + blog_title = context.get('blog_title', UNDEFINED) + abs_link = context.get('abs_link', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if use_open_graph: @@ -139,23 +149,13 @@ def render_open_graph_metadata(context,post): context.caller_stack._pop_frame() -def render_html_tags(context,post): +def render_mathjax_script(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') + if post.is_mathjax: + __M_writer(' \n \n') return '' finally: context.caller_stack._pop_frame() @@ -194,6 +194,6 @@ def render_twitter_card_information(context,post): """ __M_BEGIN_METADATA -{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 87, "66": 87, "67": 88, "68": 89, "74": 3, "81": 3, "82": 4, "83": 5, "84": 6, "85": 7, "86": 7, "87": 7, "88": 7, "89": 7, "95": 42, "106": 42, "107": 43, "108": 44, "109": 44, "110": 44, "111": 45, "112": 45, "113": 46, "114": 46, "115": 47, "116": 48, "117": 48, "118": 48, "119": 49, "120": 50, "121": 50, "122": 50, "123": 52, "124": 53, "125": 53, "126": 53, "127": 55, "128": 60, "129": 61, "130": 61, "131": 61, "132": 63, "133": 64, "134": 65, "135": 65, "136": 65, "142": 13, "148": 13, "149": 14, "150": 15, "151": 16, "152": 17, "153": 18, "154": 18, "155": 18, "156": 18, "157": 18, "158": 21, "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl"} +{"uri": "post_helper.tmpl", "source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 25, "58": 25, "59": 26, "60": 27, "61": 28, "62": 29, "63": 30, "64": 30, "65": 30, "66": 30, "67": 30, "68": 30, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "76": 35, "77": 38, "83": 13, "89": 13, "90": 14, "91": 15, "92": 16, "93": 17, "94": 18, "95": 18, "96": 18, "97": 18, "98": 18, "99": 21, "105": 42, "116": 42, "117": 43, "118": 44, "119": 44, "120": 44, "121": 45, "122": 45, "123": 46, "124": 46, "125": 47, "126": 48, "127": 48, "128": 48, "129": 49, "130": 50, "131": 50, "132": 50, "133": 52, "134": 53, "135": 53, "136": 53, "137": 55, "138": 60, "139": 61, "140": 61, "141": 61, "142": 63, "143": 64, "144": 65, "145": 65, "146": 65, "152": 87, "156": 87, "157": 88, "158": 89, "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}, "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 e60ad5d7..a6732a87 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 = 1434153608.4235196 +_modified_time = 1434157207.5097966 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl' _template_uri = 'story.tmpl' @@ -22,12 +22,12 @@ def _mako_generate_namespaces(context): ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'helper')] = ns - ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) - context.namespaces[(__name__, 'comments')] = ns - ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri) context.namespaces[(__name__, 'pheader')] = ns + ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri) + context.namespaces[(__name__, 'comments')] = ns + def _mako_inherit(template, context): _mako_generate_namespaces(context) return runtime._inherit_from(context, 'post.tmpl', _template_uri) @@ -35,15 +35,15 @@ def render_body(context,**pageargs): __M_caller = context.caller_stack._push_frame() try: __M_locals = __M_dict_builtin(pageargs=pageargs) - comments = _mako_get_namespace(context, 'comments') + enable_comments = context.get('enable_comments', UNDEFINED) helper = _mako_get_namespace(context, 'helper') - site_has_comments = context.get('site_has_comments', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') messages = context.get('messages', UNDEFINED) post = context.get('post', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + pheader = _mako_get_namespace(context, 'pheader') + site_has_comments = context.get('site_has_comments', UNDEFINED) def content(): return render_content(context._locals(__M_locals)) - enable_comments = context.get('enable_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: - comments = _mako_get_namespace(context, 'comments') + enable_comments = context.get('enable_comments', UNDEFINED) helper = _mako_get_namespace(context, 'helper') - site_has_comments = context.get('site_has_comments', UNDEFINED) - pheader = _mako_get_namespace(context, 'pheader') messages = context.get('messages', UNDEFINED) post = context.get('post', UNDEFINED) + comments = _mako_get_namespace(context, 'comments') + pheader = _mako_get_namespace(context, 'pheader') + site_has_comments = context.get('site_has_comments', UNDEFINED) def content(): return render_content(context) - enable_comments = context.get('enable_comments', UNDEFINED) __M_writer = context.writer() __M_writer('\n