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

This commit is contained in:
Don Harper 2015-06-11 16:00:11 +00:00
parent e6250ae643
commit ba22cf1a66
48 changed files with 674 additions and 674 deletions

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434034807.8103518
_modified_time = 1434038407.4031632
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_stylesheets', 'html_feedlinks', 'late_load_js', 'html_navigation_links', 'html_headstart', 'html_translations']
_exports = ['late_load_js', 'html_navigation_links', 'html_translations', 'html_headstart', 'html_feedlinks', 'html_stylesheets']
def render_body(context,**pageargs):
@ -29,82 +29,14 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
use_cdn = context.get('use_cdn', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
notes = context.get('notes', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
else:
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
else:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
else:
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
if has_custom_css:
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
if annotations and post and not post.meta('noannotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
elif not annotations and post and post.meta('annotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
_link = context.get('_link', UNDEFINED)
len = context.get('len', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if rss_link:
__M_writer(' ')
__M_writer(str(rss_link))
__M_writer('\n')
elif generate_rss:
if len(translations) > 1:
for language in translations:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
__M_writer(str(language))
__M_writer(')" href="')
__M_writer(str(_link('rss', None, language)))
__M_writer('">\n')
else:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
__M_writer(str(_link('rss', None)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
@ -134,11 +66,11 @@ def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
navigation_links = context.get('navigation_links', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for url, text in navigation_links[lang]:
@ -178,32 +110,55 @@ def render_html_navigation_links(context):
context.caller_stack._pop_frame()
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
messages = context.get('messages', UNDEFINED)
_link = context.get('_link', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for langname in translations.keys():
if langname != lang:
__M_writer(' <li><a href="')
__M_writer(str(_link("index", None, langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></li>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
nextlink = context.get('nextlink', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
permalink = context.get('permalink', UNDEFINED)
title = context.get('title', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
description = context.get('description', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
lang = context.get('lang', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
description = context.get('description', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
title = context.get('title', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
twitter_card = context.get('twitter_card', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<!DOCTYPE html>\n<html\n')
if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook'):
@ -278,24 +233,69 @@ def render_html_headstart(context):
context.caller_stack._pop_frame()
def render_html_translations(context):
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
translations = context.get('translations', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
_link = context.get('_link', UNDEFINED)
messages = context.get('messages', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for langname in translations.keys():
if langname != lang:
__M_writer(' <li><a href="')
__M_writer(str(_link("index", None, langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></li>\n')
if rss_link:
__M_writer(' ')
__M_writer(str(rss_link))
__M_writer('\n')
elif generate_rss:
if len(translations) > 1:
for language in translations:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
__M_writer(str(language))
__M_writer(')" href="')
__M_writer(str(_link('rss', None, language)))
__M_writer('">\n')
else:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
__M_writer(str(_link('rss', None)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
use_bundles = context.get('use_bundles', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
post = context.get('post', UNDEFINED)
notes = context.get('notes', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
else:
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
else:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
else:
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
if has_custom_css:
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
if annotations and post and not post.meta('noannotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
elif not annotations and post and post.meta('annotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
@ -303,6 +303,6 @@ def render_html_translations(context):
"""
__M_BEGIN_METADATA
{"uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 95, "42": 95, "43": 96, "44": 97, "45": 98, "46": 100, "47": 101, "48": 103, "49": 104, "50": 105, "51": 106, "52": 107, "53": 109, "54": 113, "55": 114, "56": 117, "57": 118, "58": 118, "59": 118, "60": 119, "61": 120, "62": 120, "63": 120, "69": 147, "78": 147, "79": 148, "80": 149, "81": 149, "82": 149, "83": 150, "84": 151, "85": 152, "86": 153, "87": 153, "88": 153, "89": 153, "90": 153, "91": 155, "92": 156, "93": 156, "94": 156, "100": 67, "109": 67, "110": 68, "111": 69, "112": 70, "113": 73, "114": 74, "115": 76, "116": 77, "117": 78, "118": 80, "119": 81, "120": 86, "121": 88, "122": 89, "123": 89, "124": 89, "125": 91, "126": 91, "127": 91, "133": 124, "143": 124, "144": 125, "145": 126, "146": 127, "147": 127, "148": 127, "149": 129, "150": 130, "151": 131, "152": 131, "153": 131, "154": 131, "155": 131, "156": 132, "157": 133, "158": 133, "159": 133, "160": 133, "161": 133, "162": 136, "163": 137, "164": 138, "165": 139, "166": 139, "167": 139, "168": 139, "169": 139, "170": 140, "171": 141, "172": 141, "173": 141, "174": 141, "175": 141, "181": 3, "208": 3, "209": 7, "210": 8, "211": 9, "212": 10, "213": 12, "214": 13, "215": 15, "216": 16, "217": 18, "218": 21, "219": 22, "220": 25, "221": 25, "222": 25, "223": 28, "224": 29, "225": 29, "226": 29, "227": 31, "228": 32, "229": 32, "230": 32, "231": 32, "232": 34, "233": 34, "234": 35, "235": 35, "236": 36, "237": 37, "238": 37, "239": 37, "240": 39, "241": 40, "242": 41, "243": 42, "244": 42, "245": 42, "246": 42, "247": 42, "248": 42, "249": 42, "250": 45, "251": 46, "252": 47, "253": 47, "254": 47, "255": 49, "256": 50, "257": 51, "258": 51, "259": 51, "260": 53, "261": 54, "262": 54, "263": 54, "264": 56, "265": 57, "266": 57, "267": 58, "268": 59, "269": 60, "270": 61, "271": 61, "272": 61, "273": 63, "274": 64, "275": 64, "281": 161, "289": 161, "290": 162, "291": 163, "292": 164, "293": 164, "294": 164, "295": 164, "296": 164, "297": 164, "298": 164, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "source_encoding": "utf-8"}
{"line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 67, "41": 67, "42": 68, "43": 69, "44": 70, "45": 73, "46": 74, "47": 76, "48": 77, "49": 78, "50": 80, "51": 81, "52": 86, "53": 88, "54": 89, "55": 89, "56": 89, "57": 91, "58": 91, "59": 91, "65": 124, "75": 124, "76": 125, "77": 126, "78": 127, "79": 127, "80": 127, "81": 129, "82": 130, "83": 131, "84": 131, "85": 131, "86": 131, "87": 131, "88": 132, "89": 133, "90": 133, "91": 133, "92": 133, "93": 133, "94": 136, "95": 137, "96": 138, "97": 139, "98": 139, "99": 139, "100": 139, "101": 139, "102": 140, "103": 141, "104": 141, "105": 141, "106": 141, "107": 141, "113": 161, "121": 161, "122": 162, "123": 163, "124": 164, "125": 164, "126": 164, "127": 164, "128": 164, "129": 164, "130": 164, "136": 3, "163": 3, "164": 7, "165": 8, "166": 9, "167": 10, "168": 12, "169": 13, "170": 15, "171": 16, "172": 18, "173": 21, "174": 22, "175": 25, "176": 25, "177": 25, "178": 28, "179": 29, "180": 29, "181": 29, "182": 31, "183": 32, "184": 32, "185": 32, "186": 32, "187": 34, "188": 34, "189": 35, "190": 35, "191": 36, "192": 37, "193": 37, "194": 37, "195": 39, "196": 40, "197": 41, "198": 42, "199": 42, "200": 42, "201": 42, "202": 42, "203": 42, "204": 42, "205": 45, "206": 46, "207": 47, "208": 47, "209": 47, "210": 49, "211": 50, "212": 51, "213": 51, "214": 51, "215": 53, "216": 54, "217": 54, "218": 54, "219": 56, "220": 57, "221": 57, "222": 58, "223": 59, "224": 60, "225": 61, "226": 61, "227": 61, "228": 63, "229": 64, "230": 64, "236": 147, "245": 147, "246": 148, "247": 149, "248": 149, "249": 149, "250": 150, "251": 151, "252": 152, "253": 153, "254": 153, "255": 153, "256": 153, "257": 153, "258": 155, "259": 156, "260": 156, "261": 156, "267": 95, "277": 95, "278": 96, "279": 97, "280": 98, "281": 100, "282": 101, "283": 103, "284": 104, "285": 105, "286": 106, "287": 107, "288": 109, "289": 113, "290": 114, "291": 117, "292": 118, "293": 118, "294": 118, "295": 119, "296": 120, "297": 120, "298": 120, "304": 298}, "source_encoding": "utf-8", "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl"}
__M_END_METADATA
"""