Automatic commit via /home/don/bin/deployweb Fri Jun 12 13:00:13 UTC 2015

This commit is contained in:
Don Harper 2015-06-12 13:00:13 +00:00
parent 795d864e3b
commit 751c5925e4
48 changed files with 731 additions and 731 deletions

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434110407.6228857
_modified_time = 1434114007.6996331
_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_tags', 'html_pager', 'twitter_card_information', 'open_graph_metadata', 'meta_translations', 'mathjax_script']
_exports = ['meta_translations', 'twitter_card_information', 'mathjax_script', 'html_pager', 'open_graph_metadata', 'html_tags']
def render_body(context,**pageargs):
@ -29,53 +29,22 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_html_tags(context,post):
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
hidden_tags = context.get('hidden_tags', UNDEFINED)
_link = context.get('_link', UNDEFINED)
lang = context.get('lang', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if post.tags:
__M_writer(' <ul itemprop="keywords" class="tags">\n')
for tag in post.tags:
if tag not in hidden_tags:
__M_writer(' <li><a class="tag p-category" href="')
__M_writer(str(_link('tag', tag)))
__M_writer('" rel="tag">')
__M_writer(str(tag))
__M_writer('</a></li>\n')
__M_writer(' </ul>\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(' <ul class="pager">\n')
if post.prev_post:
__M_writer(' <li class="previous">\n <a href="')
__M_writer(str(post.prev_post.permalink()))
__M_writer('" rel="prev" title="')
__M_writer(filters.html_escape(str(post.prev_post.title())))
__M_writer('">')
__M_writer(str(messages("Previous post")))
__M_writer('</a>\n </li>\n')
if post.next_post:
__M_writer(' <li class="next">\n <a href="')
__M_writer(str(post.next_post.permalink()))
__M_writer('" rel="next" title="')
__M_writer(filters.html_escape(str(post.next_post.title())))
__M_writer('">')
__M_writer(str(messages("Next post")))
__M_writer('</a>\n </li>\n')
__M_writer(' </ul>\n')
if len(translations) > 1:
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <link rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('" href="')
__M_writer(str(post.permalink(langname)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
@ -112,16 +81,58 @@ def render_twitter_card_information(context,post):
context.caller_stack._pop_frame()
def render_mathjax_script(context,post):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
if post.is_mathjax:
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\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(' <ul class="pager">\n')
if post.prev_post:
__M_writer(' <li class="previous">\n <a href="')
__M_writer(str(post.prev_post.permalink()))
__M_writer('" rel="prev" title="')
__M_writer(filters.html_escape(str(post.prev_post.title())))
__M_writer('">')
__M_writer(str(messages("Previous post")))
__M_writer('</a>\n </li>\n')
if post.next_post:
__M_writer(' <li class="next">\n <a href="')
__M_writer(str(post.next_post.permalink()))
__M_writer('" rel="next" title="')
__M_writer(filters.html_escape(str(post.next_post.title())))
__M_writer('">')
__M_writer(str(messages("Next post")))
__M_writer('</a>\n </li>\n')
__M_writer(' </ul>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
use_open_graph = context.get('use_open_graph', UNDEFINED)
lang = context.get('lang', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
@ -159,34 +170,23 @@ def render_open_graph_metadata(context,post):
context.caller_stack._pop_frame()
def render_meta_translations(context,post):
def render_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
lang = context.get('lang', UNDEFINED)
hidden_tags = context.get('hidden_tags', UNDEFINED)
_link = context.get('_link', 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(' <link rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('" href="')
__M_writer(str(post.permalink(langname)))
__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(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
if post.tags:
__M_writer(' <ul itemprop="keywords" class="tags">\n')
for tag in post.tags:
if tag not in hidden_tags:
__M_writer(' <li><a class="tag p-category" href="')
__M_writer(str(_link('tag', tag)))
__M_writer('" rel="tag">')
__M_writer(str(tag))
__M_writer('</a></li>\n')
__M_writer(' </ul>\n')
return ''
finally:
context.caller_stack._pop_frame()
@ -194,6 +194,6 @@ def render_mathjax_script(context,post):
"""
__M_BEGIN_METADATA
{"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": 25, "59": 25, "60": 26, "61": 27, "62": 28, "63": 29, "64": 30, "65": 30, "66": 30, "67": 30, "68": 30, "69": 30, "70": 33, "71": 34, "72": 35, "73": 35, "74": 35, "75": 35, "76": 35, "77": 35, "78": 38, "84": 71, "89": 71, "90": 72, "91": 73, "92": 73, "93": 73, "94": 74, "95": 75, "96": 75, "97": 75, "98": 76, "99": 77, "100": 77, "101": 77, "102": 79, "103": 80, "104": 80, "105": 80, "106": 81, "107": 82, "108": 82, "109": 82, "115": 42, "126": 42, "127": 43, "128": 44, "129": 44, "130": 44, "131": 45, "132": 45, "133": 46, "134": 46, "135": 47, "136": 48, "137": 48, "138": 48, "139": 49, "140": 50, "141": 50, "142": 50, "143": 52, "144": 53, "145": 53, "146": 53, "147": 55, "148": 60, "149": 61, "150": 61, "151": 61, "152": 63, "153": 64, "154": 65, "155": 65, "156": 65, "162": 3, "169": 3, "170": 4, "171": 5, "172": 6, "173": 7, "174": 7, "175": 7, "176": 7, "177": 7, "183": 87, "187": 87, "188": 88, "189": 89, "195": 189}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl", "source_encoding": "utf-8"}
{"uri": "post_helper.tmpl", "source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 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": 25, "101": 25, "102": 26, "103": 27, "104": 28, "105": 29, "106": 30, "107": 30, "108": 30, "109": 30, "110": 30, "111": 30, "112": 33, "113": 34, "114": 35, "115": 35, "116": 35, "117": 35, "118": 35, "119": 35, "120": 38, "126": 42, "137": 42, "138": 43, "139": 44, "140": 44, "141": 44, "142": 45, "143": 45, "144": 46, "145": 46, "146": 47, "147": 48, "148": 48, "149": 48, "150": 49, "151": 50, "152": 50, "153": 50, "154": 52, "155": 53, "156": 53, "157": 53, "158": 55, "159": 60, "160": 61, "161": 61, "162": 61, "163": 63, "164": 64, "165": 65, "166": 65, "167": 65, "173": 13, "179": 13, "180": 14, "181": 15, "182": 16, "183": 17, "184": 18, "185": 18, "186": 18, "187": 18, "188": 18, "189": 21, "195": 189}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"}
__M_END_METADATA
"""