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

This commit is contained in:
Don Harper 2015-06-10 21:00:10 +00:00
parent ac5074db77
commit fd48fe1b7a
50 changed files with 802 additions and 802 deletions

View file

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