')
@@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"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}, "source_encoding": "utf-8"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "uri": "list.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/list_post.tmpl.py b/cache/.mako.tmp/list_post.tmpl.py
index 8b5f0db5..543f7ee3 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 = 1434013207.488205
+_modified_time = 1434016807.7926817
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
@@ -27,11 +27,11 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
+ posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
title = context.get('title', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
@@ -48,11 +48,11 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
+ posts = context.get('posts', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context)
title = context.get('title', UNDEFINED)
- posts = context.get('posts', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
@@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"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}, "source_encoding": "utf-8"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "uri": "list_post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 919fb112..5912419e 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 = 1434013207.441729
+_modified_time = 1434016807.7462327
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- ui = _mako_get_namespace(context, 'ui')
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ ui = _mako_get_namespace(context, 'ui')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
@@ -65,9 +65,9 @@ def render_sourcelink(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
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')
@@ -87,13 +87,13 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- ui = _mako_get_namespace(context, 'ui')
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context)
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ ui = _mako_get_namespace(context, 'ui')
__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
-{"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}, "source_encoding": "utf-8"}
+{"filename": "themes/bootstrap3/templates/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}, "uri": "listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index 1e5b7ca7..067eb991 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 = 1434013207.5158496
+_modified_time = 1434016807.8203647
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['sourcelink', 'content', 'extra_head']
+_exports = ['sourcelink', 'extra_head', 'content']
def _mako_get_namespace(context, name):
@@ -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('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
- ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'helper')] = ns
-
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
@@ -35,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- pheader = _mako_get_namespace(context, 'pheader')
- messages = context.get('messages', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- def content():
- return render_content(context._locals(__M_locals))
- comments = _mako_get_namespace(context, 'comments')
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
+ def content():
+ return render_content(context._locals(__M_locals))
+ parent = context.get('parent', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -77,10 +77,10 @@ def render_body(context,**pageargs):
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- def sourcelink():
- return render_sourcelink(context)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -95,53 +95,14 @@ def render_sourcelink(context,**pageargs):
context.caller_stack._pop_frame()
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- def content():
- return render_content(context)
- pheader = _mako_get_namespace(context, 'pheader')
- comments = _mako_get_namespace(context, 'comments')
- post = context.get('post', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n\n ')
- __M_writer(str(pheader.html_post_header()))
- __M_writer('\n \n ')
- __M_writer(str(post.text()))
- __M_writer('\n \n \n')
- if not post.meta('nocomments') and site_has_comments:
- __M_writer(' \n')
- __M_writer(str(comments.comment_link_script()))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
+ post = context.get('post', UNDEFINED)
def extra_head():
return render_extra_head(context)
- post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ parent = context.get('parent', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -181,8 +142,47 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
+def render_content(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ post = context.get('post', UNDEFINED)
+ def content():
+ return render_content(context)
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n\n ')
+ __M_writer(str(pheader.html_post_header()))
+ __M_writer('\n \n ')
+ __M_writer(str(post.text()))
+ __M_writer('\n \n \n')
+ if not post.meta('nocomments') and site_has_comments:
+ __M_writer(' \n ')
+ __M_writer(str(messages("Comments")))
+ __M_writer('
\n ')
+ __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
+ __M_writer('\n \n')
+ __M_writer(' ')
+ __M_writer(str(helper.mathjax_script(post)))
+ __M_writer('\n \n')
+ __M_writer(str(comments.comment_link_script()))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl", "line_map": {"128": 45, "129": 45, "130": 47, "131": 47, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 3, "151": 10, "152": 10, "25": 4, "154": 13, "155": 13, "28": 2, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "153": 12, "66": 48, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 27, "169": 20, "110": 27, "111": 28, "112": 28, "113": 29, "114": 29, "115": 31, "116": 31, "117": 35, "118": 35, "119": 36, "120": 36, "121": 39, "122": 40, "123": 41, "124": 41, "125": 42, "126": 42, "127": 45}, "source_encoding": "utf-8"}
+{"filename": "themes/bootstrap/templates/post.tmpl", "source_encoding": "utf-8", "line_map": {"128": 20, "129": 20, "130": 20, "131": 20, "132": 20, "133": 22, "134": 22, "135": 22, "136": 23, "137": 23, "138": 24, "139": 24, "145": 27, "22": 2, "25": 3, "28": 4, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 7, "107": 7, "108": 8, "109": 8, "110": 9, "111": 10, "112": 10, "113": 10, "114": 12, "115": 13, "116": 13, "117": 13, "118": 15, "119": 15, "120": 15, "121": 16, "122": 17, "123": 17, "124": 17, "125": 17, "126": 17, "127": 19}, "uri": "post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py
index cc3c873e..0207432a 100644
--- a/cache/.mako.tmp/post_header.tmpl.py
+++ b/cache/.mako.tmp/post_header.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434013207.5793424
+_modified_time = 1434016807.8840508
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_title', 'html_post_header', 'html_translations', 'html_sourcelink']
+_exports = ['html_sourcelink', 'html_translations', 'html_title', 'html_post_header']
def _mako_get_namespace(context, name):
@@ -19,12 +19,12 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
- ns = runtime.TemplateNamespace('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('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -41,11 +41,58 @@ def render_body(context,**pageargs):
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_translations(context,post):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ lang = context.get('lang', UNDEFINED)
+ translations = context.get('translations', 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()
+
+
def render_html_title(context):
__M_caller = context.caller_stack._push_frame()
try:
- title = context.get('title', UNDEFINED)
post = context.get('post', UNDEFINED)
+ title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if title and not post.meta('hidetitle'):
@@ -62,17 +109,17 @@ def render_html_title(context):
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
- def html_title():
- return render_html_title(context)
+ post = context.get('post', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def html_translations(post):
return render_html_translations(context,post)
messages = context.get('messages', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
+ def html_title():
+ return render_html_title(context)
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
- post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n \n ')
__M_writer(str(html_title()))
@@ -112,55 +159,8 @@ def render_html_post_header(context):
context.caller_stack._pop_frame()
-def render_html_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)
- 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()
-
-
-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
-{"uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "162": 156, "143": 24, "22": 3, "151": 25, "152": 26, "25": 2, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 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": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}, "source_encoding": "utf-8"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 2, "151": 44, "152": 44, "25": 3, "154": 46, "155": 47, "28": 0, "150": 43, "162": 156, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 11, "71": 11, "72": 12, "73": 13, "74": 14, "75": 14, "76": 15, "77": 16, "78": 17, "79": 17, "80": 17, "81": 17, "82": 17, "83": 17, "84": 17, "85": 20, "91": 5, "97": 5, "98": 6, "99": 7, "100": 7, "101": 7, "102": 7, "103": 7, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "uri": "post_header.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py
index 5e633806..3f686e6c 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 = 1434013207.5472324
+_modified_time = 1434016807.851848
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
_template_uri = 'post_helper.tmpl'
_source_encoding = 'utf-8'
-_exports = ['mathjax_script', 'twitter_card_information', 'open_graph_metadata', 'meta_translations', 'html_tags', 'html_pager']
+_exports = ['html_tags', 'mathjax_script', 'html_pager', 'open_graph_metadata', 'meta_translations', 'twitter_card_information']
def render_body(context,**pageargs):
@@ -29,6 +29,28 @@ def render_body(context,**pageargs):
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:
@@ -41,32 +63,31 @@ def render_mathjax_script(context,post):
context.caller_stack._pop_frame()
-def render_twitter_card_information(context,post):
+def render_html_pager(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- twitter_card = context.get('twitter_card', UNDEFINED)
+ messages = context.get('messages', 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')
+ if post.prev_post or post.next_post:
+ __M_writer(' \n')
+ if post.prev_post:
+ __M_writer(' - \n ')
+ __M_writer(str(messages("Previous post")))
+ __M_writer('\n
\n')
+ if post.next_post:
+ __M_writer(' - \n ')
+ __M_writer(str(messages("Next post")))
+ __M_writer('\n
\n')
+ __M_writer('
\n')
return ''
finally:
context.caller_stack._pop_frame()
@@ -75,13 +96,13 @@ def render_twitter_card_information(context,post):
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- permalink = context.get('permalink', UNDEFINED)
- use_open_graph = context.get('use_open_graph', UNDEFINED)
- striphtml = context.get('striphtml', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
- lang = context.get('lang', UNDEFINED)
- abs_link = context.get('abs_link', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
+ lang = context.get('lang', UNDEFINED)
+ use_open_graph = context.get('use_open_graph', UNDEFINED)
+ abs_link = context.get('abs_link', UNDEFINED)
+ permalink = context.get('permalink', UNDEFINED)
+ striphtml = context.get('striphtml', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
@@ -140,53 +161,32 @@ def render_meta_translations(context,post):
context.caller_stack._pop_frame()
-def render_html_tags(context,post):
+def render_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
- hidden_tags = context.get('hidden_tags', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
+ twitter_card = context.get('twitter_card', 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:
- messages = context.get('messages', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n')
- if post.prev_post or post.next_post:
- __M_writer(' \n')
- if post.prev_post:
- __M_writer(' - \n ')
- __M_writer(str(messages("Previous post")))
- __M_writer('\n
\n')
- if post.next_post:
- __M_writer(' - \n ')
- __M_writer(str(messages("Next post")))
- __M_writer('\n
\n')
- __M_writer('
\n')
+ if 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()
@@ -194,6 +194,6 @@ def render_html_pager(context,post):
"""
__M_BEGIN_METADATA
-{"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": 87, "36": 87, "37": 88, "38": 89, "44": 71, "49": 71, "50": 72, "51": 73, "52": 73, "53": 73, "54": 74, "55": 75, "56": 75, "57": 75, "58": 76, "59": 77, "60": 77, "61": 77, "62": 79, "63": 80, "64": 80, "65": 80, "66": 81, "67": 82, "68": 82, "69": 82, "75": 42, "86": 42, "87": 43, "88": 44, "89": 44, "90": 44, "91": 45, "92": 45, "93": 46, "94": 46, "95": 47, "96": 48, "97": 48, "98": 48, "99": 49, "100": 50, "101": 50, "102": 50, "103": 52, "104": 53, "105": 53, "106": 53, "107": 55, "108": 60, "109": 61, "110": 61, "111": 61, "112": 63, "113": 64, "114": 65, "115": 65, "116": 65, "122": 3, "129": 3, "130": 4, "131": 5, "132": 6, "133": 7, "134": 7, "135": 7, "136": 7, "137": 7, "143": 13, "149": 13, "150": 14, "151": 15, "152": 16, "153": 17, "154": 18, "155": 18, "156": 18, "157": 18, "158": 18, "159": 21, "165": 25, "170": 25, "171": 26, "172": 27, "173": 28, "174": 29, "175": 30, "176": 30, "177": 30, "178": 30, "179": 30, "180": 30, "181": 33, "182": 34, "183": 35, "184": 35, "185": 35, "186": 35, "187": 35, "188": 35, "189": 38, "195": 189}, "source_encoding": "utf-8"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/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": 13, "38": 13, "39": 14, "40": 15, "41": 16, "42": 17, "43": 18, "44": 18, "45": 18, "46": 18, "47": 18, "48": 21, "54": 87, "58": 87, "59": 88, "60": 89, "66": 25, "71": 25, "72": 26, "73": 27, "74": 28, "75": 29, "76": 30, "77": 30, "78": 30, "79": 30, "80": 30, "81": 30, "82": 33, "83": 34, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 38, "96": 42, "107": 42, "108": 43, "109": 44, "110": 44, "111": 44, "112": 45, "113": 45, "114": 46, "115": 46, "116": 47, "117": 48, "118": 48, "119": 48, "120": 49, "121": 50, "122": 50, "123": 50, "124": 52, "125": 53, "126": 53, "127": 53, "128": 55, "129": 60, "130": 61, "131": 61, "132": 61, "133": 63, "134": 64, "135": 65, "136": 65, "137": 65, "143": 3, "150": 3, "151": 4, "152": 5, "153": 6, "154": 7, "155": 7, "156": 7, "157": 7, "158": 7, "164": 71, "169": 71, "170": 72, "171": 73, "172": 73, "173": 73, "174": 74, "175": 75, "176": 75, "177": 75, "178": 76, "179": 77, "180": 77, "181": 77, "182": 79, "183": 80, "184": 80, "185": 80, "186": 81, "187": 82, "188": 82, "189": 82, "195": 189}, "uri": "post_helper.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/story.tmpl.py b/cache/.mako.tmp/story.tmpl.py
index 6d27d706..3b580eec 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 = 1434013207.602594
+_modified_time = 1434016807.9072902
_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('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
- ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'helper')] = ns
-
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'post.tmpl', _template_uri)
@@ -35,15 +35,15 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- pheader = _mako_get_namespace(context, 'pheader')
- enable_comments = context.get('enable_comments', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
+ post = context.get('post', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
+ messages = context.get('messages', UNDEFINED)
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
- post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -62,15 +62,15 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- pheader = _mako_get_namespace(context, 'pheader')
- enable_comments = context.get('enable_comments', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
+ post = context.get('post', UNDEFINED)
def content():
return render_content(context)
+ messages = context.get('messages', UNDEFINED)
+ enable_comments = context.get('enable_comments', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
- post = context.get('post', 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
-{"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": 3, "87": 19, "88": 22, "25": 4, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "source_encoding": "utf-8"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "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}, "uri": "story.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tag.tmpl.py b/cache/.mako.tmp/tag.tmpl.py
index 0176ff0e..44a9ddeb 100644
--- a/cache/.mako.tmp/tag.tmpl.py
+++ b/cache/.mako.tmp/tag.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434013207.6560807
+_modified_time = 1434016807.960893
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
_template_uri = 'tag.tmpl'
_source_encoding = 'utf-8'
-_exports = ['content', 'extra_head']
+_exports = ['extra_head', 'content']
def _mako_get_namespace(context, name):
@@ -27,23 +27,23 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- posts = context.get('posts', UNDEFINED)
- subcategories = context.get('subcategories', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- description = context.get('description', UNDEFINED)
- len = context.get('len', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- def content():
- return render_content(context._locals(__M_locals))
- title = context.get('title', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
+ _link = context.get('_link', UNDEFINED)
+ def content():
+ return render_content(context._locals(__M_locals))
+ description = context.get('description', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ subcategories = context.get('subcategories', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ len = context.get('len', UNDEFINED)
kind = context.get('kind', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ translations = context.get('translations', 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'], 'extra_head'):
@@ -61,23 +61,63 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
+def render_extra_head(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ def extra_head():
+ return render_extra_head(context)
+ _link = context.get('_link', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ parent = context.get('parent', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ kind = context.get('kind', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n ')
+ __M_writer(str(parent.extra_head()))
+ __M_writer('\n')
+ if len(translations) > 1 and generate_rss:
+ for language in translations:
+ __M_writer(' \n')
+ elif generate_rss:
+ __M_writer(' \n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- posts = context.get('posts', UNDEFINED)
- subcategories = context.get('subcategories', UNDEFINED)
- date_format = context.get('date_format', UNDEFINED)
- generate_rss = context.get('generate_rss', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
_link = context.get('_link', UNDEFINED)
- description = context.get('description', UNDEFINED)
- len = context.get('len', UNDEFINED)
def content():
return render_content(context)
- title = context.get('title', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
+ description = context.get('description', UNDEFINED)
+ date_format = context.get('date_format', UNDEFINED)
+ subcategories = context.get('subcategories', UNDEFINED)
+ tag = context.get('tag', UNDEFINED)
+ len = context.get('len', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
kind = context.get('kind', UNDEFINED)
+ generate_rss = context.get('generate_rss', UNDEFINED)
+ posts = context.get('posts', UNDEFINED)
+ translations = context.get('translations', UNDEFINED)
+ title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n \n ')
__M_writer(filters.html_escape(str(title)))
@@ -137,48 +177,8 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
-def render_extra_head(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- generate_rss = context.get('generate_rss', UNDEFINED)
- _link = context.get('_link', UNDEFINED)
- tag = context.get('tag', UNDEFINED)
- len = context.get('len', UNDEFINED)
- parent = context.get('parent', UNDEFINED)
- translations = context.get('translations', UNDEFINED)
- def extra_head():
- return render_extra_head(context)
- kind = context.get('kind', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n ')
- __M_writer(str(parent.extra_head()))
- __M_writer('\n')
- if len(translations) > 1 and generate_rss:
- for language in translations:
- __M_writer(' \n')
- elif generate_rss:
- __M_writer(' \n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
"""
__M_BEGIN_METADATA
-{"uri": "tag.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "source_encoding": "utf-8"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "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}, "uri": "tag.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/tags.tmpl.py b/cache/.mako.tmp/tags.tmpl.py
index 741ce636..de4a3424 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 = 1434013207.636725
+_modified_time = 1434016807.9414444
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
@@ -27,11 +27,11 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
+ cat_items = context.get('cat_items', UNDEFINED)
+ items = context.get('items', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
title = context.get('title', UNDEFINED)
- cat_items = context.get('cat_items', UNDEFINED)
- items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
@@ -48,11 +48,11 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
+ cat_items = context.get('cat_items', UNDEFINED)
+ items = context.get('items', UNDEFINED)
def content():
return render_content(context)
title = context.get('title', UNDEFINED)
- cat_items = context.get('cat_items', UNDEFINED)
- items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -90,6 +90,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"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}, "source_encoding": "utf-8"}
+{"filename": "themes/bootstrap/templates/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}, "uri": "tags.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/lastdeploy b/cache/lastdeploy
index 3f87e95c..1507b064 100644
--- a/cache/lastdeploy
+++ b/cache/lastdeploy
@@ -1 +1 @@
-2015-06-11T09:00:10.476754
\ No newline at end of file
+2015-06-11T10:00:11.221086
\ 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?
')
@@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
-{"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}, "source_encoding": "utf-8"}
+{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "uri": "list_post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/listing.tmpl.py b/cache/.mako.tmp/listing.tmpl.py
index 919fb112..5912419e 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 = 1434013207.441729
+_modified_time = 1434016807.7462327
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
- ui = _mako_get_namespace(context, 'ui')
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
+ messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ ui = _mako_get_namespace(context, 'ui')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
@@ -65,9 +65,9 @@ def render_sourcelink(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
+ source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
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')
@@ -87,13 +87,13 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
- ui = _mako_get_namespace(context, 'ui')
- folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
- files = _import_ns.get('files', context.get('files', UNDEFINED))
- code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context)
+ folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
+ files = _import_ns.get('files', context.get('files', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
+ code = _import_ns.get('code', context.get('code', UNDEFINED))
+ ui = _mako_get_namespace(context, 'ui')
__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
-{"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}, "source_encoding": "utf-8"}
+{"filename": "themes/bootstrap3/templates/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}, "uri": "listing.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post.tmpl.py b/cache/.mako.tmp/post.tmpl.py
index 1e5b7ca7..067eb991 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 = 1434013207.5158496
+_modified_time = 1434016807.8203647
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
-_exports = ['sourcelink', 'content', 'extra_head']
+_exports = ['sourcelink', 'extra_head', 'content']
def _mako_get_namespace(context, name):
@@ -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('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
- ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
- context.namespaces[(__name__, 'helper')] = ns
-
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
@@ -35,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
- pheader = _mako_get_namespace(context, 'pheader')
- messages = context.get('messages', UNDEFINED)
- def sourcelink():
- return render_sourcelink(context._locals(__M_locals))
- helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- def content():
- return render_content(context._locals(__M_locals))
- comments = _mako_get_namespace(context, 'comments')
- show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
+ def content():
+ return render_content(context._locals(__M_locals))
+ parent = context.get('parent', UNDEFINED)
+ messages = context.get('messages', UNDEFINED)
+ show_sourcelink = context.get('show_sourcelink', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context._locals(__M_locals))
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@@ -77,10 +77,10 @@ def render_body(context,**pageargs):
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- def sourcelink():
- return render_sourcelink(context)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
+ def sourcelink():
+ return render_sourcelink(context)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@@ -95,53 +95,14 @@ def render_sourcelink(context,**pageargs):
context.caller_stack._pop_frame()
-def render_content(context,**pageargs):
- __M_caller = context.caller_stack._push_frame()
- try:
- helper = _mako_get_namespace(context, 'helper')
- site_has_comments = context.get('site_has_comments', UNDEFINED)
- def content():
- return render_content(context)
- pheader = _mako_get_namespace(context, 'pheader')
- comments = _mako_get_namespace(context, 'comments')
- post = context.get('post', UNDEFINED)
- messages = context.get('messages', UNDEFINED)
- __M_writer = context.writer()
- __M_writer('\n\n ')
- __M_writer(str(pheader.html_post_header()))
- __M_writer('\n \n ')
- __M_writer(str(post.text()))
- __M_writer('\n \n \n')
- if not post.meta('nocomments') and site_has_comments:
- __M_writer(' \n')
- __M_writer(str(comments.comment_link_script()))
- __M_writer('\n')
- return ''
- finally:
- context.caller_stack._pop_frame()
-
-
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
- helper = _mako_get_namespace(context, 'helper')
- parent = context.get('parent', UNDEFINED)
+ post = context.get('post', UNDEFINED)
def extra_head():
return render_extra_head(context)
- post = context.get('post', UNDEFINED)
+ helper = _mako_get_namespace(context, 'helper')
+ parent = context.get('parent', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@@ -181,8 +142,47 @@ def render_extra_head(context,**pageargs):
context.caller_stack._pop_frame()
+def render_content(context,**pageargs):
+ __M_caller = context.caller_stack._push_frame()
+ try:
+ post = context.get('post', UNDEFINED)
+ def content():
+ return render_content(context)
+ helper = _mako_get_namespace(context, 'helper')
+ pheader = _mako_get_namespace(context, 'pheader')
+ site_has_comments = context.get('site_has_comments', UNDEFINED)
+ comments = _mako_get_namespace(context, 'comments')
+ messages = context.get('messages', UNDEFINED)
+ __M_writer = context.writer()
+ __M_writer('\n\n ')
+ __M_writer(str(pheader.html_post_header()))
+ __M_writer('\n \n ')
+ __M_writer(str(post.text()))
+ __M_writer('\n \n \n')
+ if not post.meta('nocomments') and site_has_comments:
+ __M_writer(' \n ')
+ __M_writer(str(messages("Comments")))
+ __M_writer('
\n ')
+ __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
+ __M_writer('\n \n')
+ __M_writer(' ')
+ __M_writer(str(helper.mathjax_script(post)))
+ __M_writer('\n \n')
+ __M_writer(str(comments.comment_link_script()))
+ __M_writer('\n')
+ return ''
+ finally:
+ context.caller_stack._pop_frame()
+
+
"""
__M_BEGIN_METADATA
-{"uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl", "line_map": {"128": 45, "129": 45, "130": 47, "131": 47, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 3, "151": 10, "152": 10, "25": 4, "154": 13, "155": 13, "28": 2, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "153": 12, "66": 48, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 27, "169": 20, "110": 27, "111": 28, "112": 28, "113": 29, "114": 29, "115": 31, "116": 31, "117": 35, "118": 35, "119": 36, "120": 36, "121": 39, "122": 40, "123": 41, "124": 41, "125": 42, "126": 42, "127": 45}, "source_encoding": "utf-8"}
+{"filename": "themes/bootstrap/templates/post.tmpl", "source_encoding": "utf-8", "line_map": {"128": 20, "129": 20, "130": 20, "131": 20, "132": 20, "133": 22, "134": 22, "135": 22, "136": 23, "137": 23, "138": 24, "139": 24, "145": 27, "22": 2, "25": 3, "28": 4, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 7, "107": 7, "108": 8, "109": 8, "110": 9, "111": 10, "112": 10, "113": 10, "114": 12, "115": 13, "116": 13, "117": 13, "118": 15, "119": 15, "120": 15, "121": 16, "122": 17, "123": 17, "124": 17, "125": 17, "126": 17, "127": 19}, "uri": "post.tmpl"}
__M_END_METADATA
"""
diff --git a/cache/.mako.tmp/post_header.tmpl.py b/cache/.mako.tmp/post_header.tmpl.py
index cc3c873e..0207432a 100644
--- a/cache/.mako.tmp/post_header.tmpl.py
+++ b/cache/.mako.tmp/post_header.tmpl.py
@@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
-_modified_time = 1434013207.5793424
+_modified_time = 1434016807.8840508
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
-_exports = ['html_title', 'html_post_header', 'html_translations', 'html_sourcelink']
+_exports = ['html_sourcelink', 'html_translations', 'html_title', 'html_post_header']
def _mako_get_namespace(context, name):
@@ -19,12 +19,12 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
- ns = runtime.TemplateNamespace('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('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
+ context.namespaces[(__name__, 'comments')] = ns
+
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@@ -41,11 +41,58 @@ def render_body(context,**pageargs):
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("Comments"))) + __M_writer('
\n ') + __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path))) + __M_writer('\n') + __M_writer(str(messages("Source"))) + __M_writer('
\n') + return '' + finally: + context.caller_stack._pop_frame() + + +def render_html_translations(context,post): + __M_caller = context.caller_stack._push_frame() + try: + lang = context.get('lang', UNDEFINED) + translations = context.get('translations', 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() + + def render_html_title(context): __M_caller = context.caller_stack._push_frame() try: - title = context.get('title', UNDEFINED) post = context.get('post', UNDEFINED) + title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if title and not post.meta('hidetitle'): @@ -62,17 +109,17 @@ def render_html_title(context): def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: - def html_title(): - return render_html_title(context) + post = context.get('post', UNDEFINED) date_format = context.get('date_format', UNDEFINED) def html_translations(post): return render_html_translations(context,post) messages = context.get('messages', UNDEFINED) def html_sourcelink(): return render_html_sourcelink(context) + def html_title(): + return render_html_title(context) site_has_comments = context.get('site_has_comments', UNDEFINED) comments = _mako_get_namespace(context, 'comments') - 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 -{"uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "162": 156, "143": 24, "22": 3, "151": 25, "152": 26, "25": 2, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 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": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}, "source_encoding": "utf-8"} +{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "source_encoding": "utf-8", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 2, "151": 44, "152": 44, "25": 3, "154": 46, "155": 47, "28": 0, "150": 43, "162": 156, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 11, "71": 11, "72": 12, "73": 13, "74": 14, "75": 14, "76": 15, "77": 16, "78": 17, "79": 17, "80": 17, "81": 17, "82": 17, "83": 17, "84": 17, "85": 20, "91": 5, "97": 5, "98": 6, "99": 7, "100": 7, "101": 7, "102": 7, "103": 7, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "uri": "post_header.tmpl"} __M_END_METADATA """ diff --git a/cache/.mako.tmp/post_helper.tmpl.py b/cache/.mako.tmp/post_helper.tmpl.py index 5e633806..3f686e6c 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 = 1434013207.5472324 +_modified_time = 1434016807.851848 _enable_loop = True _template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl' _template_uri = 'post_helper.tmpl' _source_encoding = 'utf-8' -_exports = ['mathjax_script', 'twitter_card_information', 'open_graph_metadata', 'meta_translations', 'html_tags', 'html_pager'] +_exports = ['html_tags', 'mathjax_script', 'html_pager', 'open_graph_metadata', 'meta_translations', 'twitter_card_information'] def render_body(context,**pageargs): @@ -29,6 +29,28 @@ def render_body(context,**pageargs): 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: @@ -41,32 +63,31 @@ def render_mathjax_script(context,post): context.caller_stack._pop_frame() -def render_twitter_card_information(context,post): +def render_html_pager(context,post): __M_caller = context.caller_stack._push_frame() try: - twitter_card = context.get('twitter_card', UNDEFINED) + messages = context.get('messages', 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') + if post.prev_post or post.next_post: + __M_writer('- \n')
+ if post.prev_post:
+ __M_writer('
- \n ') + __M_writer(str(messages("Previous post"))) + __M_writer('\n \n') + if post.next_post: + __M_writer('
- \n ') + __M_writer(str(messages("Next post"))) + __M_writer('\n \n') + __M_writer('
- \n')
- if post.prev_post:
- __M_writer('
- \n ') - __M_writer(str(messages("Previous post"))) - __M_writer('\n \n') - if post.next_post: - __M_writer('
- \n ') - __M_writer(str(messages("Next post"))) - __M_writer('\n \n') - __M_writer('
') - __M_writer(str(messages("Comments"))) - __M_writer('
\n ') - __M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path))) - __M_writer('\n