Automatic commit via /home/don/bin/deployweb Wed Jun 10 23:00:11 UTC 2015

This commit is contained in:
Don Harper 2015-06-10 23:00:11 +00:00
parent 00b5be3092
commit b7fc0e1105
48 changed files with 880 additions and 880 deletions

View file

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