Automatic commit via /home/don/bin/deployweb Thu Jun 11 11:00:11 UTC 2015

This commit is contained in:
Don Harper 2015-06-11 11:00:11 +00:00
parent 282b499818
commit 67b22b2b22
48 changed files with 550 additions and 550 deletions

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434016807.851848
_modified_time = 1434020407.504063
_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', 'mathjax_script', 'html_pager', 'open_graph_metadata', 'meta_translations', 'twitter_card_information']
_exports = ['meta_translations', 'html_pager', 'html_tags', 'open_graph_metadata', 'twitter_card_information', 'mathjax_script']
def render_body(context,**pageargs):
@ -29,35 +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)
len = context.get('len', UNDEFINED)
lang = context.get('lang', 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_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 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()
@ -93,16 +80,38 @@ def render_html_pager(context,post):
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(' <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_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
striphtml = context.get('striphtml', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
blog_title = context.get('blog_title', 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,27 +149,6 @@ def render_open_graph_metadata(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)
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(' <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_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@ -192,8 +180,20 @@ 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()
"""
__M_BEGIN_METADATA
{"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"}
{"line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 25, "58": 25, "59": 26, "60": 27, "61": 28, "62": 29, "63": 30, "64": 30, "65": 30, "66": 30, "67": 30, "68": 30, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "76": 35, "77": 38, "83": 13, "89": 13, "90": 14, "91": 15, "92": 16, "93": 17, "94": 18, "95": 18, "96": 18, "97": 18, "98": 18, "99": 21, "105": 42, "116": 42, "117": 43, "118": 44, "119": 44, "120": 44, "121": 45, "122": 45, "123": 46, "124": 46, "125": 47, "126": 48, "127": 48, "128": 48, "129": 49, "130": 50, "131": 50, "132": 50, "133": 52, "134": 53, "135": 53, "136": 53, "137": 55, "138": 60, "139": 61, "140": 61, "141": 61, "142": 63, "143": 64, "144": 65, "145": 65, "146": 65, "152": 71, "157": 71, "158": 72, "159": 73, "160": 73, "161": 73, "162": 74, "163": 75, "164": 75, "165": 75, "166": 76, "167": 77, "168": 77, "169": 77, "170": 79, "171": 80, "172": 80, "173": 80, "174": 81, "175": 82, "176": 82, "177": 82, "183": 87, "187": 87, "188": 88, "189": 89, "195": 189}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl"}
__M_END_METADATA
"""