Automatic commit via /home/don/bin/deployweb Thu Jun 11 20:00:10 UTC 2015
This commit is contained in:
parent
2b33bf7e79
commit
5989e95aee
48 changed files with 861 additions and 861 deletions
170
cache/.mako.tmp/base_helper.tmpl.py
vendored
170
cache/.mako.tmp/base_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434049206.9699633
|
||||
_modified_time = 1434052807.07361
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
|
||||
_template_uri = 'base_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['late_load_js', 'html_headstart', 'html_navigation_links', 'html_stylesheets', 'html_feedlinks', 'html_translations']
|
||||
_exports = ['html_translations', 'late_load_js', 'html_headstart', 'html_navigation_links', 'html_feedlinks', 'html_stylesheets']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,14 +29,37 @@ 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)
|
||||
_link = context.get('_link', 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_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_cdn = context.get('use_cdn', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', 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)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
|
|
@ -65,29 +88,29 @@ def render_late_load_js(context):
|
|||
def render_html_headstart(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
def html_feedlinks():
|
||||
return render_html_feedlinks(context)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
def html_stylesheets():
|
||||
return render_html_stylesheets(context)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
permalink = context.get('permalink', 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'):
|
||||
|
|
@ -165,12 +188,12 @@ def render_html_headstart(context):
|
|||
def render_html_navigation_links(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
navigation_links = context.get('navigation_links', UNDEFINED)
|
||||
isinstance = context.get('isinstance', 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]:
|
||||
|
|
@ -210,15 +233,46 @@ def render_html_navigation_links(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_feedlinks(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
rss_link = context.get('rss_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:
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
|
|
@ -247,62 +301,8 @@ def render_html_stylesheets(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_feedlinks(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
translations = context.get('translations', 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)
|
||||
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()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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": 3, "92": 3, "93": 7, "94": 8, "95": 9, "96": 10, "97": 12, "98": 13, "99": 15, "100": 16, "101": 18, "102": 21, "103": 22, "104": 25, "105": 25, "106": 25, "107": 28, "108": 29, "109": 29, "110": 29, "111": 31, "112": 32, "113": 32, "114": 32, "115": 32, "116": 34, "117": 34, "118": 35, "119": 35, "120": 36, "121": 37, "122": 37, "123": 37, "124": 39, "125": 40, "126": 41, "127": 42, "128": 42, "129": 42, "130": 42, "131": 42, "132": 42, "133": 42, "134": 45, "135": 46, "136": 47, "137": 47, "138": 47, "139": 49, "140": 50, "141": 51, "142": 51, "143": 51, "144": 53, "145": 54, "146": 54, "147": 54, "148": 56, "149": 57, "150": 57, "151": 58, "152": 59, "153": 60, "154": 61, "155": 61, "156": 61, "157": 63, "158": 64, "159": 64, "165": 124, "175": 124, "176": 125, "177": 126, "178": 127, "179": 127, "180": 127, "181": 129, "182": 130, "183": 131, "184": 131, "185": 131, "186": 131, "187": 131, "188": 132, "189": 133, "190": 133, "191": 133, "192": 133, "193": 133, "194": 136, "195": 137, "196": 138, "197": 139, "198": 139, "199": 139, "200": 139, "201": 139, "202": 140, "203": 141, "204": 141, "205": 141, "206": 141, "207": 141, "213": 95, "223": 95, "224": 96, "225": 97, "226": 98, "227": 100, "228": 101, "229": 103, "230": 104, "231": 105, "232": 106, "233": 107, "234": 109, "235": 113, "236": 114, "237": 117, "238": 118, "239": 118, "240": 118, "241": 119, "242": 120, "243": 120, "244": 120, "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}, "uri": "base_helper.tmpl", "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": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 67, "64": 67, "65": 68, "66": 69, "67": 70, "68": 73, "69": 74, "70": 76, "71": 77, "72": 78, "73": 80, "74": 81, "75": 86, "76": 88, "77": 89, "78": 89, "79": 89, "80": 91, "81": 91, "82": 91, "88": 3, "115": 3, "116": 7, "117": 8, "118": 9, "119": 10, "120": 12, "121": 13, "122": 15, "123": 16, "124": 18, "125": 21, "126": 22, "127": 25, "128": 25, "129": 25, "130": 28, "131": 29, "132": 29, "133": 29, "134": 31, "135": 32, "136": 32, "137": 32, "138": 32, "139": 34, "140": 34, "141": 35, "142": 35, "143": 36, "144": 37, "145": 37, "146": 37, "147": 39, "148": 40, "149": 41, "150": 42, "151": 42, "152": 42, "153": 42, "154": 42, "155": 42, "156": 42, "157": 45, "158": 46, "159": 47, "160": 47, "161": 47, "162": 49, "163": 50, "164": 51, "165": 51, "166": 51, "167": 53, "168": 54, "169": 54, "170": 54, "171": 56, "172": 57, "173": 57, "174": 58, "175": 59, "176": 60, "177": 61, "178": 61, "179": 61, "180": 63, "181": 64, "182": 64, "188": 124, "198": 124, "199": 125, "200": 126, "201": 127, "202": 127, "203": 127, "204": 129, "205": 130, "206": 131, "207": 131, "208": 131, "209": 131, "210": 131, "211": 132, "212": 133, "213": 133, "214": 133, "215": 133, "216": 133, "217": 136, "218": 137, "219": 138, "220": 139, "221": 139, "222": 139, "223": 139, "224": 139, "225": 140, "226": 141, "227": 141, "228": 141, "229": 141, "230": 141, "236": 147, "245": 147, "246": 148, "247": 149, "248": 149, "249": 149, "250": 150, "251": 151, "252": 152, "253": 153, "254": 153, "255": 153, "256": 153, "257": 153, "258": 155, "259": 156, "260": 156, "261": 156, "267": 95, "277": 95, "278": 96, "279": 97, "280": 98, "281": 100, "282": 101, "283": 103, "284": 104, "285": 105, "286": 106, "287": 107, "288": 109, "289": 113, "290": 114, "291": 117, "292": 118, "293": 118, "294": 118, "295": 119, "296": 120, "297": 120, "298": 120, "304": 298}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue