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