')
__M_writer(str(title))
@@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "source_encoding": "utf-8", "uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"}
+{"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", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py
index 4ebb2782..5b9bdb7f 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 = 1434070807.712149
+_modified_time = 1434074407.9291914
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
@@ -28,11 +28,11 @@ def render_body(context,**pageargs):
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
title = context.get('title', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -49,11 +49,11 @@ def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
title = context.get('title', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
def content():
return render_content(context)
+ date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(str(title))
@@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "source_encoding": "utf-8", "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/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}, "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 6ac56f5a..598e0e19 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 = 1434070807.6652734
+_modified_time = 1434074407.8828063
_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'])
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
+ ui = _mako_get_namespace(context, 'ui')
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- 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))
- ui = _mako_get_namespace(context, 'ui')
- code = _import_ns.get('code', context.get('code', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
__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))
+ source_link = _import_ns.get('source_link', context.get('source_link', 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'])
- def content():
- return render_content(context)
+ ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
- ui = _mako_get_namespace(context, 'ui')
code = _import_ns.get('code', context.get('code', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
+ def content():
+ return render_content(context)
__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
-{"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}, "source_encoding": "utf-8", "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"}
+{"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", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index edbb4ad1..0cd721c4 100644
--- a/cache/.mako.tmp/post.tmpl.py
+++ b/cache/.mako.tmp/post.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434070807.7400808
+_modified_time = 1434074407.9568436
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
@@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
+ ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('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)
- pheader = _mako_get_namespace(context, 'pheader')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- def content():
- return render_content(context._locals(__M_locals))
+ helper = _mako_get_namespace(context, 'helper')
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
parent = context.get('parent', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
+ def content():
+ return render_content(context._locals(__M_locals))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -79,9 +79,9 @@ def render_extra_head(context,**pageargs):
try:
def extra_head():
return render_extra_head(context)
- helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
post = context.get('post', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -125,9 +125,9 @@ def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
+ post = context.get('post', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
- post = context.get('post', UNDEFINED)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -145,14 +145,14 @@ def render_sourcelink(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
+ post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
pheader = _mako_get_namespace(context, 'pheader')
site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
def content():
return render_content(context)
- helper = _mako_get_namespace(context, 'helper')
messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
- __M_writer(filters.html_escape(str(post.title())))
- __M_writer('
\n')
+ if show_sourcelink:
+ __M_writer(' ')
+ __M_writer(str(messages("Source")))
+ __M_writer('
\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_html_translations(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ translations = context.get('translations', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if len(post.translated_to) > 1:
+ __M_writer(' \n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -62,17 +91,17 @@ def render_html_title(context):
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
- def html_sourcelink():
- return render_html_sourcelink(context)
- def html_title():
- return render_html_title(context)
+ comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
def html_translations(post):
return render_html_translations(context,post)
+ def html_sourcelink():
+ return render_html_sourcelink(context)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ def html_title():
+ return render_html_title(context)
date_format = context.get('date_format', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n \n ')
__M_writer(str(html_title()))
@@ -112,48 +141,19 @@ def render_html_post_header(context):
context.caller_stack._pop_frame()
-def render_html_sourcelink(context):
+def render_html_title(context):
__M_caller = context.caller_stack._push_frame()
try:
- messages = context.get('messages', UNDEFINED)
+ title = context.get('title', UNDEFINED)
post = context.get('post', UNDEFINED)
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
- if show_sourcelink:
- __M_writer(' ')
- __M_writer(str(messages("Source")))
- __M_writer('
\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
-def render_html_translations(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- translations = context.get('translations', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- len = context.get('len', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if len(post.translated_to) > 1:
- __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()
@@ -161,6 +161,6 @@ def render_html_translations(context,post):
"""
__M_BEGIN_METADATA
-{"line_map": {"128": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 2, "151": 17, "152": 17, "25": 3, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 24, "153": 17, "122": 24, "123": 25, "124": 26, "125": 26, "126": 26, "127": 26}, "source_encoding": "utf-8", "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"}
+{"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": 3, "151": 6, "152": 7, "25": 2, "154": 7, "155": 7, "28": 0, "150": 5, "162": 156, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 11, "71": 11, "72": 12, "73": 13, "74": 14, "75": 14, "76": 15, "77": 16, "78": 17, "79": 17, "80": 17, "81": 17, "82": 17, "83": 17, "84": 17, "85": 20, "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}, "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py
index 791a3f19..2ff0ecef 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 = 1434070807.772088
+_modified_time = 1434074407.9883745
_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', 'meta_translations', 'open_graph_metadata', 'twitter_card_information', 'html_tags', 'mathjax_script']
+_exports = ['meta_translations', 'twitter_card_information', 'mathjax_script', 'html_tags', 'html_pager', 'open_graph_metadata']
def render_body(context,**pageargs):
@@ -29,6 +29,92 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+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)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if len(translations) > 1:
+ for langname in translations.keys():
+ if langname != lang and post.is_translation_available(langname):
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
+def render_twitter_card_information(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ 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:
+ hidden_tags = context.get('hidden_tags', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n')
+ if post.tags:
+ __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,36 +145,15 @@ def render_html_pager(context,post):
context.caller_stack._pop_frame()
-def render_meta_translations(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- translations = context.get('translations', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- len = context.get('len', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if 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_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- abs_link = context.get('abs_link', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- url_replacer = context.get('url_replacer', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ abs_link = context.get('abs_link', UNDEFINED)
+ url_replacer = context.get('url_replacer', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -127,73 +192,8 @@ 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_html_tags(context,post):
- __M_caller = context.caller_stack._push_frame()
- try:
- hidden_tags = context.get('hidden_tags', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if post.tags:
- __M_writer(' \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()
-
-
"""
__M_BEGIN_METADATA
-{"line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 3, "69": 3, "70": 4, "71": 5, "72": 6, "73": 7, "74": 7, "75": 7, "76": 7, "77": 7, "83": 42, "94": 42, "95": 43, "96": 44, "97": 44, "98": 44, "99": 45, "100": 45, "101": 46, "102": 46, "103": 47, "104": 48, "105": 48, "106": 48, "107": 49, "108": 50, "109": 50, "110": 50, "111": 52, "112": 53, "113": 53, "114": 53, "115": 55, "116": 60, "117": 61, "118": 61, "119": 61, "120": 63, "121": 64, "122": 65, "123": 65, "124": 65, "130": 71, "135": 71, "136": 72, "137": 73, "138": 73, "139": 73, "140": 74, "141": 75, "142": 75, "143": 75, "144": 76, "145": 77, "146": 77, "147": 77, "148": 79, "149": 80, "150": 80, "151": 80, "152": 81, "153": 82, "154": 82, "155": 82, "161": 13, "167": 13, "168": 14, "169": 15, "170": 16, "171": 17, "172": 18, "173": 18, "174": 18, "175": 18, "176": 18, "177": 21, "183": 87, "187": 87, "188": 88, "189": 89, "195": 189}, "source_encoding": "utf-8", "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/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": 71, "58": 71, "59": 72, "60": 73, "61": 73, "62": 73, "63": 74, "64": 75, "65": 75, "66": 75, "67": 76, "68": 77, "69": 77, "70": 77, "71": 79, "72": 80, "73": 80, "74": 80, "75": 81, "76": 82, "77": 82, "78": 82, "84": 87, "88": 87, "89": 88, "90": 89, "96": 13, "102": 13, "103": 14, "104": 15, "105": 16, "106": 17, "107": 18, "108": 18, "109": 18, "110": 18, "111": 18, "112": 21, "118": 25, "123": 25, "124": 26, "125": 27, "126": 28, "127": 29, "128": 30, "129": 30, "130": 30, "131": 30, "132": 30, "133": 30, "134": 33, "135": 34, "136": 35, "137": 35, "138": 35, "139": 35, "140": 35, "141": 35, "142": 38, "148": 42, "159": 42, "160": 43, "161": 44, "162": 44, "163": 44, "164": 45, "165": 45, "166": 46, "167": 46, "168": 47, "169": 48, "170": 48, "171": 48, "172": 49, "173": 50, "174": 50, "175": 50, "176": 52, "177": 53, "178": 53, "179": 53, "180": 55, "181": 60, "182": 61, "183": 61, "184": 61, "185": 63, "186": 64, "187": 65, "188": 65, "189": 65, "195": 189}, "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py
index 1dbb3fa4..2dfafa83 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 = 1434070807.828452
+_modified_time = 1434074408.0440078
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
@@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
+ ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('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)
- pheader = _mako_get_namespace(context, 'pheader')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
enable_comments = context.get('enable_comments', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -62,15 +62,15 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- pheader = _mako_get_namespace(context, 'pheader')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
enable_comments = context.get('enable_comments', UNDEFINED)
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context)
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(str(pheader.html_title()))
@@ -95,6 +95,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 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}, "source_encoding": "utf-8", "uri": "story.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/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": 4, "87": 19, "88": 22, "25": 2, "90": 22, "28": 3, "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", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tag.tmpl.py b/cache/.mako.tmp/tag.tmpl.py
index 996ddf42..b73c2deb 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 = 1434070807.8822742
+_modified_time = 1434074408.0981414
_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)
- generate_rss = context.get('generate_rss', UNDEFINED)
- def content():
- return render_content(context._locals(__M_locals))
- translations = context.get('translations', UNDEFINED)
kind = context.get('kind', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- len = context.get('len', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ title = context.get('title', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
- title = context.get('title', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- description = context.get('description', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
tag = context.get('tag', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ def content():
+ return render_content(context._locals(__M_locals))
__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:
- generate_rss = context.get('generate_rss', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
kind = context.get('kind', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
_link = context.get('_link', UNDEFINED)
- len = context.get('len', UNDEFINED)
def extra_head():
return render_extra_head(context)
- parent = context.get('parent', UNDEFINED)
tag = context.get('tag', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ len = context.get('len', 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:
+ kind = context.get('kind', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ title = context.get('title', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ subcategories = context.get('subcategories', UNDEFINED)
+ _link = context.get('_link', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
def content():
return render_content(context)
- translations = context.get('translations', UNDEFINED)
- kind = context.get('kind', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- len = context.get('len', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- subcategories = context.get('subcategories', UNDEFINED)
- title = context.get('title', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
description = context.get('description', UNDEFINED)
- tag = context.get('tag', 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
-{"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", "uri": "tag.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/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}, "uri": "tag.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tags.tmpl.py b/cache/.mako.tmp/tags.tmpl.py
index 5a41e594..f396b156 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 = 1434070807.8625906
+_modified_time = 1434074408.0786676
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
@@ -28,11 +28,11 @@ def render_body(context,**pageargs):
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
title = context.get('title', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
items = context.get('items', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@@ -49,11 +49,11 @@ def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
title = context.get('title', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
items = context.get('items', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
def content():
return render_content(context)
+ messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(title))
@@ -90,6 +90,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "source_encoding": "utf-8", "uri": "tags.tmpl", "filename": "themes/bootstrap/templates/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}, "uri": "tags.tmpl", "filename": "themes/bootstrap/templates/tags.tmpl", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/lastdeploy b/cache/lastdeploy
index 3177b2b7..95b1eee4 100644
--- a/cache/lastdeploy
+++ b/cache/lastdeploy
@@ -1 +1 @@
-2015-06-12T01:00:10.795528
\ No newline at end of file
+2015-06-12T02:00:10.822429
\ No newline at end of file
diff --git a/output/categories/cli.html b/output/categories/cli.html
index 3bd4b3cd..9f4b8fab 100644
--- a/output/categories/cli.html
+++ b/output/categories/cli.html
@@ -136,10 +136,10 @@
Screen - terminal multiplexer
-iKog - the simple todo list
+BINS Photo Album
-BINS Photo Album
+iKog - the simple todo list
Strayed from the path
diff --git a/output/categories/software.html b/output/categories/software.html
index df839a6f..948d5765 100644
--- a/output/categories/software.html
+++ b/output/categories/software.html
@@ -148,10 +148,10 @@
Screen - terminal multiplexer
-iKog - the simple todo list
+BINS Photo Album
-BINS Photo Album
+iKog - the simple todo list
cli bug/issue/task tracking system?
')
__M_writer(str(title))
@@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "source_encoding": "utf-8", "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/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}, "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 6ac56f5a..598e0e19 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 = 1434070807.6652734
+_modified_time = 1434074407.8828063
_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'])
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
+ ui = _mako_get_namespace(context, 'ui')
+ crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
- crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- 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))
- ui = _mako_get_namespace(context, 'ui')
- code = _import_ns.get('code', context.get('code', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
__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))
+ source_link = _import_ns.get('source_link', context.get('source_link', 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'])
- def content():
- return render_content(context)
+ ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
- ui = _mako_get_namespace(context, 'ui')
code = _import_ns.get('code', context.get('code', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
+ def content():
+ return render_content(context)
__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
-{"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}, "source_encoding": "utf-8", "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"}
+{"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", "source_encoding": "utf-8"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index edbb4ad1..0cd721c4 100644
--- a/cache/.mako.tmp/post.tmpl.py
+++ b/cache/.mako.tmp/post.tmpl.py
@@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434070807.7400808
+_modified_time = 1434074407.9568436
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
@@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
+ ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('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)
- pheader = _mako_get_namespace(context, 'pheader')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- def content():
- return render_content(context._locals(__M_locals))
+ helper = _mako_get_namespace(context, 'helper')
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
- helper = _mako_get_namespace(context, 'helper')
- messages = context.get('messages', UNDEFINED)
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
parent = context.get('parent', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
+ def content():
+ return render_content(context._locals(__M_locals))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -79,9 +79,9 @@ def render_extra_head(context,**pageargs):
try:
def extra_head():
return render_extra_head(context)
- helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
post = context.get('post', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -125,9 +125,9 @@ def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
+ post = context.get('post', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
- post = context.get('post', UNDEFINED)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -145,14 +145,14 @@ def render_sourcelink(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
+ post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
pheader = _mako_get_namespace(context, 'pheader')
site_has_comments = context.get('site_has_comments', UNDEFINED)
- post = context.get('post', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
def content():
return render_content(context)
- helper = _mako_get_namespace(context, 'helper')
messages = context.get('messages', UNDEFINED)
- comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
- __M_writer(filters.html_escape(str(post.title())))
- __M_writer('
\n')
+ if show_sourcelink:
+ __M_writer(' ') + __M_writer(str(messages("Source"))) + __M_writer('
\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + translations = context.get('translations', UNDEFINED) + lang = context.get('lang', UNDEFINED) + len = context.get('len', UNDEFINED) + messages = context.get('messages', UNDEFINED) + __M_writer = context.writer() + __M_writer('\n') + if len(post.translated_to) > 1: + __M_writer(' \n') return '' finally: context.caller_stack._pop_frame() @@ -62,17 +91,17 @@ def render_html_title(context): def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - site_has_comments = context.get('site_has_comments', UNDEFINED) post = context.get('post', UNDEFINED) - def html_sourcelink(): - return render_html_sourcelink(context) - def html_title(): - return render_html_title(context) + comments = _mako_get_namespace(context, 'comments') + messages = context.get('messages', UNDEFINED) def html_translations(post): return render_html_translations(context,post) + def html_sourcelink(): + return render_html_sourcelink(context) + site_has_comments = context.get('site_has_comments', UNDEFINED) + def html_title(): + return render_html_title(context) date_format = context.get('date_format', UNDEFINED) - messages = context.get('messages', UNDEFINED) - comments = _mako_get_namespace(context, 'comments') __M_writer = context.writer() __M_writer('\n') - __M_writer(str(messages("Source"))) - __M_writer('
\n') - return '' - finally: - context.caller_stack._pop_frame() - - -def render_html_translations(context,post): - __M_caller = context.caller_stack._push_frame() - try: - translations = context.get('translations', UNDEFINED) - messages = context.get('messages', UNDEFINED) - lang = context.get('lang', UNDEFINED) - len = context.get('len', UNDEFINED) - __M_writer = context.writer() - __M_writer('\n') - if len(post.translated_to) > 1: - __M_writer(' \n') + if title and not post.meta('hidetitle'): + __M_writer('