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

This commit is contained in:
Don Harper 2015-06-11 08:00:10 +00:00
parent 41dd9b637e
commit 497a2d698b
50 changed files with 774 additions and 774 deletions

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434006007.1262412
_modified_time = 1434009607.1546872
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_headstart', 'html_navigation_links', 'html_feedlinks', 'html_translations', 'html_stylesheets', 'late_load_js']
_exports = ['late_load_js', 'html_translations', 'html_navigation_links', 'html_headstart', 'html_stylesheets', 'html_feedlinks']
def render_body(context,**pageargs):
@ -29,32 +29,136 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
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)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
if colorbox_locales[lang]:
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
__M_writer(str(colorbox_locales[lang]))
__M_writer('.js"></script>\n')
__M_writer(' ')
__M_writer(str(social_buttons_code))
__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)
_link = context.get('_link', UNDEFINED)
lang = context.get('lang', 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_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
tuple = context.get('tuple', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for url, text in navigation_links[lang]:
if isinstance(url, tuple):
__M_writer(' <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">')
__M_writer(str(text))
__M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n')
for suburl, text in url:
if rel_link(permalink, suburl) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(suburl))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
__M_writer(' </ul>\n')
else:
if rel_link(permalink, url) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(url))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
description = context.get('description', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
title = context.get('title', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
comment_system_id = context.get('comment_system_id', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
use_open_graph = context.get('use_open_graph', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
title = context.get('title', UNDEFINED)
lang = context.get('lang', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
description = context.get('description', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
striphtml = context.get('striphtml', 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'):
@ -129,117 +233,15 @@ def render_html_headstart(context):
context.caller_stack._pop_frame()
def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for url, text in navigation_links[lang]:
if isinstance(url, tuple):
__M_writer(' <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">')
__M_writer(str(text))
__M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n')
for suburl, text in url:
if rel_link(permalink, suburl) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(suburl))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
__M_writer(' </ul>\n')
else:
if rel_link(permalink, url) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(url))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\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)
rss_link = context.get('rss_link', UNDEFINED)
generate_rss = context.get('generate_rss', 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_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
lang = context.get('lang', 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')
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)
post = context.get('post', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
post = context.get('post', UNDEFINED)
notes = context.get('notes', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
@ -268,34 +270,32 @@ def render_html_stylesheets(context):
context.caller_stack._pop_frame()
def render_late_load_js(context):
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
use_bundles = context.get('use_bundles', UNDEFINED)
lang = context.get('lang', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
_link = context.get('_link', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\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(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
if colorbox_locales[lang]:
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
__M_writer(str(colorbox_locales[lang]))
__M_writer('.js"></script>\n')
__M_writer(' ')
__M_writer(str(social_buttons_code))
__M_writer('\n')
__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()
@ -303,6 +303,6 @@ def render_late_load_js(context):
"""
__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": 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": 124, "142": 124, "143": 125, "144": 126, "145": 127, "146": 127, "147": 127, "148": 129, "149": 130, "150": 131, "151": 131, "152": 131, "153": 131, "154": 131, "155": 132, "156": 133, "157": 133, "158": 133, "159": 133, "160": 133, "161": 136, "162": 137, "163": 138, "164": 139, "165": 139, "166": 139, "167": 139, "168": 139, "169": 140, "170": 141, "171": 141, "172": 141, "173": 141, "174": 141, "180": 147, "189": 147, "190": 148, "191": 149, "192": 149, "193": 149, "194": 150, "195": 151, "196": 152, "197": 153, "198": 153, "199": 153, "200": 153, "201": 153, "202": 155, "203": 156, "204": 156, "205": 156, "211": 161, "219": 161, "220": 162, "221": 163, "222": 164, "223": 164, "224": 164, "225": 164, "226": 164, "227": 164, "228": 164, "234": 95, "244": 95, "245": 96, "246": 97, "247": 98, "248": 100, "249": 101, "250": 103, "251": 104, "252": 105, "253": 106, "254": 107, "255": 109, "256": 113, "257": 114, "258": 117, "259": 118, "260": 118, "261": 118, "262": 119, "263": 120, "264": 120, "265": 120, "271": 67, "280": 67, "281": 68, "282": 69, "283": 70, "284": 73, "285": 74, "286": 76, "287": 77, "288": 78, "289": 80, "290": 81, "291": 86, "292": 88, "293": 89, "294": 89, "295": 89, "296": 91, "297": 91, "298": 91, "304": 298}, "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/base_helper.tmpl"}
{"source_encoding": "utf-8", "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": 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": 161, "73": 161, "74": 162, "75": 163, "76": 164, "77": 164, "78": 164, "79": 164, "80": 164, "81": 164, "82": 164, "88": 124, "98": 124, "99": 125, "100": 126, "101": 127, "102": 127, "103": 127, "104": 129, "105": 130, "106": 131, "107": 131, "108": 131, "109": 131, "110": 131, "111": 132, "112": 133, "113": 133, "114": 133, "115": 133, "116": 133, "117": 136, "118": 137, "119": 138, "120": 139, "121": 139, "122": 139, "123": 139, "124": 139, "125": 140, "126": 141, "127": 141, "128": 141, "129": 141, "130": 141, "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": 95, "246": 95, "247": 96, "248": 97, "249": 98, "250": 100, "251": 101, "252": 103, "253": 104, "254": 105, "255": 106, "256": 107, "257": 109, "258": 113, "259": 114, "260": 117, "261": 118, "262": 118, "263": 118, "264": 119, "265": 120, "266": 120, "267": 120, "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}}
__M_END_METADATA
"""