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

This commit is contained in:
Don Harper 2015-06-12 21:00:11 +00:00
parent 100570ca59
commit fde6d6d9da
50 changed files with 727 additions and 727 deletions

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434139207.497861
_modified_time = 1434142807.8405757
_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 = ['meta_translations', 'html_tags', 'mathjax_script', 'twitter_card_information', 'open_graph_metadata', 'html_pager']
_exports = ['mathjax_script', 'html_pager', 'twitter_card_information', 'meta_translations', 'open_graph_metadata', 'html_tags']
def render_body(context,**pageargs):
@ -29,49 +29,6 @@ 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(' <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_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_mathjax_script(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@ -84,6 +41,36 @@ def render_mathjax_script(context,post):
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_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@ -115,16 +102,37 @@ def render_twitter_card_information(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_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
abs_link = context.get('abs_link', UNDEFINED)
lang = context.get('lang', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
lang = context.get('lang', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
@ -162,30 +170,22 @@ def render_open_graph_metadata(context,post):
context.caller_stack._pop_frame()
def render_html_pager(context,post):
def render_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
_link = context.get('_link', UNDEFINED)
hidden_tags = context.get('hidden_tags', 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')
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:
@ -194,6 +194,6 @@ def render_html_pager(context,post):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 13, "59": 13, "60": 14, "61": 15, "62": 16, "63": 17, "64": 18, "65": 18, "66": 18, "67": 18, "68": 18, "69": 21, "75": 87, "79": 87, "80": 88, "81": 89, "87": 71, "92": 71, "93": 72, "94": 73, "95": 73, "96": 73, "97": 74, "98": 75, "99": 75, "100": 75, "101": 76, "102": 77, "103": 77, "104": 77, "105": 79, "106": 80, "107": 80, "108": 80, "109": 81, "110": 82, "111": 82, "112": 82, "118": 42, "129": 42, "130": 43, "131": 44, "132": 44, "133": 44, "134": 45, "135": 45, "136": 46, "137": 46, "138": 47, "139": 48, "140": 48, "141": 48, "142": 49, "143": 50, "144": 50, "145": 50, "146": 52, "147": 53, "148": 53, "149": 53, "150": 55, "151": 60, "152": 61, "153": 61, "154": 61, "155": 63, "156": 64, "157": 65, "158": 65, "159": 65, "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "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": 25, "49": 25, "50": 26, "51": 27, "52": 28, "53": 29, "54": 30, "55": 30, "56": 30, "57": 30, "58": 30, "59": 30, "60": 33, "61": 34, "62": 35, "63": 35, "64": 35, "65": 35, "66": 35, "67": 35, "68": 38, "74": 71, "79": 71, "80": 72, "81": 73, "82": 73, "83": 73, "84": 74, "85": 75, "86": 75, "87": 75, "88": 76, "89": 77, "90": 77, "91": 77, "92": 79, "93": 80, "94": 80, "95": 80, "96": 81, "97": 82, "98": 82, "99": 82, "105": 3, "112": 3, "113": 4, "114": 5, "115": 6, "116": 7, "117": 7, "118": 7, "119": 7, "120": 7, "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}, "uri": "post_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"}
__M_END_METADATA
"""