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

This commit is contained in:
Don Harper 2015-06-12 10:00:11 +00:00
parent 83475b4df3
commit 2b823d6abf
51 changed files with 489 additions and 489 deletions

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434099607.9918644
_modified_time = 1434103207.7929707
_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_stylesheets', 'html_translations']
_exports = ['html_stylesheets', 'late_load_js', 'html_navigation_links', 'html_translations', 'html_headstart', 'html_feedlinks']
def render_body(context,**pageargs):
@ -29,32 +29,38 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_html_feedlinks(context):
def render_html_stylesheets(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)
_link = context.get('_link', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
notes = context.get('notes', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
post = context.get('post', UNDEFINED)
annotations = context.get('annotations', 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')
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 rel="alternate" type="application/rss+xml" title="RSS" href="')
__M_writer(str(_link('rss', None)))
__M_writer('">\n')
__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()
@ -63,9 +69,9 @@ def render_html_feedlinks(context):
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
use_cdn = context.get('use_cdn', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
lang = context.get('lang', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
__M_writer = context.writer()
@ -96,11 +102,11 @@ def render_late_load_js(context):
def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
rel_link = context.get('rel_link', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
lang = context.get('lang', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -141,32 +147,55 @@ def render_html_navigation_links(context):
context.caller_stack._pop_frame()
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
messages = context.get('messages', 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_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
def html_feedlinks():
return render_html_feedlinks(context)
use_open_graph = context.get('use_open_graph', UNDEFINED)
description = context.get('description', UNDEFINED)
title = context.get('title', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
lang = context.get('lang', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
lang = context.get('lang', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
abs_link = context.get('abs_link', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
title = context.get('title', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
description = context.get('description', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
permalink = context.get('permalink', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
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'):
@ -241,61 +270,32 @@ def render_html_headstart(context):
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
use_bundles = context.get('use_bundles', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
post = context.get('post', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
notes = context.get('notes', 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:
lang = context.get('lang', UNDEFINED)
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
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')
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')
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()
@ -303,6 +303,6 @@ def render_html_translations(context):
"""
__M_BEGIN_METADATA
{"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": 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", "uri": "base_helper.tmpl"}
{"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": 67, "78": 67, "79": 68, "80": 69, "81": 70, "82": 73, "83": 74, "84": 76, "85": 77, "86": 78, "87": 80, "88": 81, "89": 86, "90": 88, "91": 89, "92": 89, "93": 89, "94": 91, "95": 91, "96": 91, "102": 124, "112": 124, "113": 125, "114": 126, "115": 127, "116": 127, "117": 127, "118": 129, "119": 130, "120": 131, "121": 131, "122": 131, "123": 131, "124": 131, "125": 132, "126": 133, "127": 133, "128": 133, "129": 133, "130": 133, "131": 136, "132": 137, "133": 138, "134": 139, "135": 139, "136": 139, "137": 139, "138": 139, "139": 140, "140": 141, "141": 141, "142": 141, "143": 141, "144": 141, "150": 161, "158": 161, "159": 162, "160": 163, "161": 164, "162": 164, "163": 164, "164": 164, "165": 164, "166": 164, "167": 164, "173": 3, "200": 3, "201": 7, "202": 8, "203": 9, "204": 10, "205": 12, "206": 13, "207": 15, "208": 16, "209": 18, "210": 21, "211": 22, "212": 25, "213": 25, "214": 25, "215": 28, "216": 29, "217": 29, "218": 29, "219": 31, "220": 32, "221": 32, "222": 32, "223": 32, "224": 34, "225": 34, "226": 35, "227": 35, "228": 36, "229": 37, "230": 37, "231": 37, "232": 39, "233": 40, "234": 41, "235": 42, "236": 42, "237": 42, "238": 42, "239": 42, "240": 42, "241": 42, "242": 45, "243": 46, "244": 47, "245": 47, "246": 47, "247": 49, "248": 50, "249": 51, "250": 51, "251": 51, "252": 53, "253": 54, "254": 54, "255": 54, "256": 56, "257": 57, "258": 57, "259": 58, "260": 59, "261": 60, "262": 61, "263": 61, "264": 61, "265": 63, "266": 64, "267": 64, "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", "filename": "themes/bootstrap3/templates/base_helper.tmpl"}
__M_END_METADATA
"""