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

This commit is contained in:
Don Harper 2015-06-10 20:00:10 +00:00
parent 062949ddb0
commit ac5074db77
50 changed files with 746 additions and 746 deletions

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1433962807.008628
_modified_time = 1433966407.2412007
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_translations', 'html_navigation_links', 'html_headstart', 'html_stylesheets', 'late_load_js', 'html_feedlinks']
_exports = ['html_navigation_links', 'late_load_js', 'html_headstart', 'html_feedlinks', 'html_stylesheets', 'html_translations']
def render_body(context,**pageargs):
@ -29,38 +29,15 @@ 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)
_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_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
permalink = context.get('permalink', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
lang = context.get('lang', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
isinstance = context.get('isinstance', 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]:
@ -100,32 +77,65 @@ def render_html_navigation_links(context):
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)
__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_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
favicons = context.get('favicons', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
description = context.get('description', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
mathjax_config = context.get('mathjax_config', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
title = context.get('title', UNDEFINED)
lang = context.get('lang', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
twitter_card = context.get('twitter_card', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
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)
striphtml = context.get('striphtml', UNDEFINED)
use_cdn = context.get('use_cdn', 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'):
@ -200,15 +210,46 @@ 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:
use_cdn = context.get('use_cdn', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
post = context.get('post', UNDEFINED)
notes = context.get('notes', UNDEFINED)
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:
@ -237,65 +278,24 @@ def render_html_stylesheets(context):
context.caller_stack._pop_frame()
def render_late_load_js(context):
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
use_cdn = context.get('use_cdn', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
messages = context.get('messages', 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:
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_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
translations = context.get('translations', 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')
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()
@ -303,6 +303,6 @@ def render_html_feedlinks(context):
"""
__M_BEGIN_METADATA
{"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": 124, "65": 124, "66": 125, "67": 126, "68": 127, "69": 127, "70": 127, "71": 129, "72": 130, "73": 131, "74": 131, "75": 131, "76": 131, "77": 131, "78": 132, "79": 133, "80": 133, "81": 133, "82": 133, "83": 133, "84": 136, "85": 137, "86": 138, "87": 139, "88": 139, "89": 139, "90": 139, "91": 139, "92": 140, "93": 141, "94": 141, "95": 141, "96": 141, "97": 141, "103": 3, "130": 3, "131": 7, "132": 8, "133": 9, "134": 10, "135": 12, "136": 13, "137": 15, "138": 16, "139": 18, "140": 21, "141": 22, "142": 25, "143": 25, "144": 25, "145": 28, "146": 29, "147": 29, "148": 29, "149": 31, "150": 32, "151": 32, "152": 32, "153": 32, "154": 34, "155": 34, "156": 35, "157": 35, "158": 36, "159": 37, "160": 37, "161": 37, "162": 39, "163": 40, "164": 41, "165": 42, "166": 42, "167": 42, "168": 42, "169": 42, "170": 42, "171": 42, "172": 45, "173": 46, "174": 47, "175": 47, "176": 47, "177": 49, "178": 50, "179": 51, "180": 51, "181": 51, "182": 53, "183": 54, "184": 54, "185": 54, "186": 56, "187": 57, "188": 57, "189": 58, "190": 59, "191": 60, "192": 61, "193": 61, "194": 61, "195": 63, "196": 64, "197": 64, "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}, "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": 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"}
__M_END_METADATA
"""