Automatic commit via /home/don/bin/deployweb Fri Jun 12 18:00:10 UTC 2015

This commit is contained in:
Don Harper 2015-06-12 18:00:10 +00:00
parent f45a1e0e3e
commit b4a340d57e
50 changed files with 745 additions and 745 deletions

View file

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