Automatic commit via /home/don/bin/deployweb Fri Jun 12 11:00:11 UTC 2015
This commit is contained in:
parent
2b823d6abf
commit
acf285cb29
48 changed files with 688 additions and 688 deletions
BIN
.doit.db
BIN
.doit.db
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc
vendored
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc
vendored
Binary file not shown.
26
cache/.mako.tmp/annotation_helper.tmpl.py
vendored
26
cache/.mako.tmp/annotation_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.8258963
|
||||
_modified_time = 1434106807.4261796
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl'
|
||||
_template_uri = 'annotation_helper.tmpl'
|
||||
_source_encoding = 'ascii'
|
||||
_exports = ['css', 'code']
|
||||
_exports = ['code', 'css']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -24,16 +24,6 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_css(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <link rel="stylesheet" href="http://assets.annotateit.org/annotator/v1.2.5/annotator.min.css">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_code(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -44,8 +34,18 @@ def render_code(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_css(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <link rel="stylesheet" href="http://assets.annotateit.org/annotator/v1.2.5/annotator.min.css">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "source_encoding": "ascii", "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"}
|
||||
{"uri": "annotation_helper.tmpl", "source_encoding": "ascii", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
104
cache/.mako.tmp/base.tmpl.py
vendored
104
cache/.mako.tmp/base.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.7511253
|
||||
_modified_time = 1434106807.3519442
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
|
||||
_template_uri = 'base.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'extra_js', 'sourcelink', 'belowtitle', 'extra_head']
|
||||
_exports = ['belowtitle', 'content', 'sourcelink', 'extra_js', 'extra_head']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -32,37 +32,37 @@ def render_body(context,**pageargs):
|
|||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
def extra_js():
|
||||
return render_extra_js(context._locals(__M_locals))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
post = _import_ns.get('post', context.get('post', UNDEFINED))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
def extra_js():
|
||||
return render_extra_js(context._locals(__M_locals))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -158,6 +158,29 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_belowtitle(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
def belowtitle():
|
||||
return render_belowtitle(context)
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
__M_writer(' <li>')
|
||||
__M_writer(str(base.html_translations()))
|
||||
__M_writer('</li>\n')
|
||||
__M_writer(' ')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -172,20 +195,6 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_js(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def extra_js():
|
||||
return render_extra_js(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -200,24 +209,15 @@ def render_sourcelink(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_belowtitle(context,**pageargs):
|
||||
def render_extra_js(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context)
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
def extra_js():
|
||||
return render_extra_js(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
__M_writer(' <li>')
|
||||
__M_writer(str(base.html_translations()))
|
||||
__M_writer('</li>\n')
|
||||
__M_writer(' ')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -240,6 +240,6 @@ def render_extra_head(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "215": 45, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "218": 47, "150": 89, "161": 66, "219": 47, "220": 49, "226": 6, "175": 85, "216": 46, "189": 51, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "203": 45, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 47, "126": 66, "127": 71}, "source_encoding": "utf-8", "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/base.tmpl"}
|
||||
{"uri": "base.tmpl", "source_encoding": "utf-8", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 45, "198": 51, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 66, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 85, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "226": 6, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "filename": "themes/bootstrap3/templates/base.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
322
cache/.mako.tmp/base_helper.tmpl.py
vendored
322
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 = 1434103207.7929707
|
||||
_modified_time = 1434106807.3935785
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
|
||||
_template_uri = 'base_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['html_stylesheets', 'late_load_js', 'html_navigation_links', 'html_translations', 'html_headstart', 'html_feedlinks']
|
||||
_exports = ['html_headstart', 'html_stylesheets', 'html_translations', 'late_load_js', 'html_navigation_links', 'html_feedlinks']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,173 +29,32 @@ def render_body(context,**pageargs):
|
|||
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)
|
||||
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 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_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)
|
||||
lang = context.get('lang', 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:
|
||||
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)
|
||||
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_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:
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
comment_system = context.get('comment_system', 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)
|
||||
title = context.get('title', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
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)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
blog_title = context.get('blog_title', 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)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', 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'):
|
||||
|
|
@ -270,14 +129,155 @@ def render_html_headstart(context):
|
|||
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)
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', 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:
|
||||
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_late_load_js(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
colorbox_locales = context.get('colorbox_locales', 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:
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
tuple = context.get('tuple', 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_feedlinks(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', 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')
|
||||
if rss_link:
|
||||
|
|
@ -303,6 +303,6 @@ def render_html_feedlinks(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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"}
|
||||
{"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": 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": 95, "142": 95, "143": 96, "144": 97, "145": 98, "146": 100, "147": 101, "148": 103, "149": 104, "150": 105, "151": 106, "152": 107, "153": 109, "154": 113, "155": 114, "156": 117, "157": 118, "158": 118, "159": 118, "160": 119, "161": 120, "162": 120, "163": 120, "169": 161, "177": 161, "178": 162, "179": 163, "180": 164, "181": 164, "182": 164, "183": 164, "184": 164, "185": 164, "186": 164, "192": 67, "201": 67, "202": 68, "203": 69, "204": 70, "205": 73, "206": 74, "207": 76, "208": 77, "209": 78, "210": 80, "211": 81, "212": 86, "213": 88, "214": 89, "215": 89, "216": 89, "217": 91, "218": 91, "219": 91, "225": 124, "235": 124, "236": 125, "237": 126, "238": 127, "239": 127, "240": 127, "241": 129, "242": 130, "243": 131, "244": 131, "245": 131, "246": 131, "247": 131, "248": 132, "249": 133, "250": 133, "251": 133, "252": 133, "253": 133, "254": 136, "255": 137, "256": 138, "257": 139, "258": 139, "259": 139, "260": 139, "261": 139, "262": 140, "263": 141, "264": 141, "265": 141, "266": 141, "267": 141, "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"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
144
cache/.mako.tmp/comments_helper.tmpl.py
vendored
144
cache/.mako.tmp/comments_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.6655884
|
||||
_modified_time = 1434106807.2671669
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl'
|
||||
_template_uri = 'comments_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,26 +19,26 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'muut')] = ns
|
||||
ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'intensedebate')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'googleplus')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'facebook')] = ns
|
||||
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'livefyre')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'isso')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'disqus')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'livefyre')] = ns
|
||||
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'muut')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'intensedebate')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'isso')] = ns
|
||||
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'facebook')] = ns
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
|
|
@ -64,14 +64,14 @@ def render_body(context,**pageargs):
|
|||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -107,63 +107,17 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -199,8 +153,54 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"22": 6, "25": 7, "28": 8, "31": 3, "34": 4, "37": 5, "40": 9, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "source_encoding": "utf-8", "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"}
|
||||
{"uri": "comments_helper.tmpl", "source_encoding": "utf-8", "line_map": {"22": 5, "25": 7, "28": 4, "31": 9, "34": 3, "37": 6, "40": 8, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
42
cache/.mako.tmp/comments_helper_disqus.tmpl.py
vendored
42
cache/.mako.tmp/comments_helper_disqus.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.6901953
|
||||
_modified_time = 1434106807.2915964
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl'
|
||||
_template_uri = 'comments_helper_disqus.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
import json
|
||||
|
|
@ -44,28 +44,11 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#disqus_thread" data-disqus-identifier="')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('">Comments</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
|
|
@ -93,8 +76,25 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#disqus_thread" data-disqus-identifier="')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('">Comments</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "source_encoding": "utf-8", "uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"}
|
||||
{"uri": "comments_helper_disqus.tmpl", "source_encoding": "utf-8", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 5, "53": 5, "54": 6, "55": 7, "56": 9, "57": 9, "58": 10, "59": 11, "60": 11, "61": 11, "62": 13, "63": 13, "64": 13, "65": 14, "66": 14, "67": 16, "68": 17, "69": 18, "70": 19, "71": 19, "72": 19, "73": 21, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
30
cache/.mako.tmp/comments_helper_facebook.tmpl.py
vendored
30
cache/.mako.tmp/comments_helper_facebook.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.727538
|
||||
_modified_time = 1434106807.328734
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl'
|
||||
_template_uri = 'comments_helper_facebook.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -38,18 +38,6 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<span class="fb-comments-count" data-url="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -65,8 +53,20 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<span class="fb-comments-count" data-url="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 28, "60": 8, "45": 28, "46": 29, "15": 0, "59": 8, "20": 26, "21": 30, "22": 62, "58": 2, "47": 29, "28": 32, "61": 25, "62": 25, "53": 2}, "source_encoding": "utf-8", "uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"}
|
||||
{"uri": "comments_helper_facebook.tmpl", "source_encoding": "utf-8", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 2, "60": 28, "46": 2, "47": 8, "48": 8, "49": 25, "50": 25, "20": 26, "21": 30, "22": 62, "56": 28, "15": 0, "28": 32, "61": 29, "62": 29}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.721601
|
||||
_modified_time = 1434106807.3226833
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl'
|
||||
_template_uri = 'comments_helper_googleplus.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -35,18 +35,6 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div class="g-commentcount" data-href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('"></div>\n<script src="https://apis.google.com/js/plusone.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -59,8 +47,20 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div class="g-commentcount" data-href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('"></div>\n<script src="https://apis.google.com/js/plusone.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"32": 16, "54": 2, "38": 11, "42": 11, "43": 12, "44": 12, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 16, "62": 56}, "source_encoding": "utf-8", "uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"}
|
||||
{"uri": "comments_helper_googleplus.tmpl", "source_encoding": "utf-8", "line_map": {"32": 16, "54": 11, "38": 2, "42": 2, "43": 5, "44": 5, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 16, "62": 56}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.7082374
|
||||
_modified_time = 1434106807.309316
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl'
|
||||
_template_uri = 'comments_helper_intensedebate.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -35,6 +35,23 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer("\n<script>\nvar idcomments_acct = '")
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\';\nvar idcomments_post_id = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\nvar idcomments_post_url = "')
|
||||
__M_writer(str(url))
|
||||
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -56,25 +73,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer("\n<script>\nvar idcomments_acct = '")
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\';\nvar idcomments_post_id = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\nvar idcomments_post_url = "')
|
||||
__M_writer(str(url))
|
||||
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 13, "43": 13, "44": 14, "45": 14, "46": 14, "47": 14, "48": 16, "49": 16, "50": 17, "51": 17, "52": 18, "53": 18, "59": 2}, "source_encoding": "utf-8", "uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"}
|
||||
{"uri": "comments_helper_intensedebate.tmpl", "source_encoding": "utf-8", "line_map": {"64": 14, "65": 16, "66": 16, "67": 17, "68": 17, "69": 18, "70": 18, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 2, "43": 2, "44": 4, "45": 4, "46": 5, "47": 5, "48": 6, "49": 6, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/comments_helper_isso.tmpl.py
vendored
36
cache/.mako.tmp/comments_helper_isso.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.7354736
|
||||
_modified_time = 1434106807.3365908
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl'
|
||||
_template_uri = 'comments_helper_isso.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -42,21 +42,6 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#isso-thread">Comments</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -76,8 +61,23 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#isso-thread">Comments</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 9, "50": 9, "51": 10, "52": 11, "53": 11, "54": 11, "60": 2}, "source_encoding": "utf-8", "uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"}
|
||||
{"uri": "comments_helper_isso.tmpl", "source_encoding": "utf-8", "line_map": {"64": 9, "69": 9, "70": 10, "71": 11, "72": 11, "73": 11, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 2, "50": 2, "51": 3, "52": 4, "53": 4, "54": 4, "55": 5, "56": 5, "57": 5, "58": 5}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
36
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.7005303
|
||||
_modified_time = 1434106807.301657
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl'
|
||||
_template_uri = 'comments_helper_livefyre.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -35,6 +35,21 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -52,23 +67,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"32": 31, "64": 11, "70": 64, "38": 23, "60": 2, "43": 23, "44": 24, "45": 24, "46": 25, "15": 0, "48": 25, "49": 25, "20": 21, "21": 28, "22": 33, "55": 2, "47": 25, "28": 31, "61": 7, "62": 7, "63": 11}, "source_encoding": "utf-8", "uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"}
|
||||
{"uri": "comments_helper_livefyre.tmpl", "source_encoding": "utf-8", "line_map": {"32": 31, "64": 25, "59": 24, "70": 64, "38": 2, "63": 25, "60": 24, "43": 2, "44": 7, "45": 7, "46": 11, "15": 0, "20": 21, "21": 28, "22": 33, "58": 23, "47": 11, "28": 31, "61": 25, "62": 25, "53": 23}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
26
cache/.mako.tmp/comments_helper_muut.tmpl.py
vendored
26
cache/.mako.tmp/comments_helper_muut.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.715869
|
||||
_modified_time = 1434106807.3168967
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl'
|
||||
_template_uri = 'comments_helper_muut.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link_script', 'comment_link', 'comment_form']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -36,16 +36,6 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -63,8 +53,18 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"33": 11, "66": 60, "54": 3, "39": 7, "57": 4, "43": 7, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 11}, "source_encoding": "utf-8", "uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"}
|
||||
{"uri": "comments_helper_muut.tmpl", "source_encoding": "utf-8", "line_map": {"33": 11, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "47": 4, "60": 7, "29": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
4
cache/.mako.tmp/crumbs.tmpl.py
vendored
4
cache/.mako.tmp/crumbs.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.863264
|
||||
_modified_time = 1434106807.4632952
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl'
|
||||
_template_uri = 'crumbs.tmpl'
|
||||
|
|
@ -52,6 +52,6 @@ def render_bar(context,crumbs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "source_encoding": "utf-8", "uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"}
|
||||
{"uri": "crumbs.tmpl", "source_encoding": "utf-8", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
66
cache/.mako.tmp/index.tmpl.py
vendored
66
cache/.mako.tmp/index.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.6295557
|
||||
_modified_time = 1434106807.2315283
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl'
|
||||
_template_uri = 'index.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'content_header', 'extra_head']
|
||||
_exports = ['content_header', 'content', 'extra_head']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -32,21 +32,21 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
def content_header():
|
||||
return render_content_header(context._locals(__M_locals))
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content_header():
|
||||
return render_content_header(context._locals(__M_locals))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -66,19 +66,30 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content_header(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def content():
|
||||
return render_content(context)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
|
||||
|
|
@ -130,24 +141,13 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content_header(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
__M_writer = context.writer()
|
||||
|
|
@ -165,6 +165,6 @@ def render_extra_head(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"133": 14, "144": 6, "22": 2, "25": 3, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "source_encoding": "utf-8", "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"}
|
||||
{"uri": "index.tmpl", "source_encoding": "utf-8", "line_map": {"128": 32, "129": 33, "130": 33, "131": 35, "132": 38, "133": 39, "134": 39, "135": 40, "136": 40, "137": 41, "138": 41, "144": 6, "22": 2, "25": 3, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 14, "80": 13, "94": 13, "99": 14, "100": 16, "101": 17, "102": 17, "103": 17, "104": 19, "105": 19, "106": 19, "107": 19, "108": 21, "109": 21, "110": 22, "111": 22, "112": 22, "113": 22, "114": 22, "115": 22, "116": 22, "117": 22, "118": 23, "119": 24, "120": 24, "121": 24, "122": 26, "123": 28, "124": 29, "125": 30, "126": 30, "127": 31}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/index_helper.tmpl.py
vendored
36
cache/.mako.tmp/index_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.6482792
|
||||
_modified_time = 1434106807.2500343
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl'
|
||||
_template_uri = 'index_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['mathjax_script', 'html_pager']
|
||||
_exports = ['html_pager', 'mathjax_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -24,25 +24,12 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_mathjax_script(context,posts):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
any = context.get('any', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if any(post.is_mathjax for post in posts):
|
||||
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_pager(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if prevlink or nextlink:
|
||||
|
|
@ -65,8 +52,21 @@ def render_html_pager(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_mathjax_script(context,posts):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
any = context.get('any', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if any(post.is_mathjax for post in posts):
|
||||
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "source_encoding": "utf-8", "uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"}
|
||||
{"uri": "index_helper.tmpl", "source_encoding": "utf-8", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 2, "34": 2, "35": 3, "36": 4, "37": 6, "38": 7, "39": 8, "40": 8, "41": 8, "42": 8, "43": 11, "44": 12, "45": 13, "46": 13, "47": 13, "48": 13, "49": 16, "55": 21, "60": 21, "61": 22, "62": 23}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
8
cache/.mako.tmp/list.tmpl.py
vendored
8
cache/.mako.tmp/list.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.884582
|
||||
_modified_time = 1434106807.4840932
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
|
||||
_template_uri = 'list.tmpl'
|
||||
|
|
@ -27,10 +27,10 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
|
|
@ -47,10 +47,10 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
|
||||
|
|
@ -77,6 +77,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "source_encoding": "utf-8", "uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"}
|
||||
{"uri": "list.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
12
cache/.mako.tmp/list_post.tmpl.py
vendored
12
cache/.mako.tmp/list_post.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.8985322
|
||||
_modified_time = 1434106807.4982197
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
|
||||
_template_uri = 'list_post.tmpl'
|
||||
|
|
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
@ -85,6 +85,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "source_encoding": "utf-8", "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"}
|
||||
{"uri": "list_post.tmpl", "source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
24
cache/.mako.tmp/listing.tmpl.py
vendored
24
cache/.mako.tmp/listing.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.8518448
|
||||
_modified_time = 1434106807.45198
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
|
||||
_template_uri = 'listing.tmpl'
|
||||
|
|
@ -31,17 +31,17 @@ def render_body(context,**pageargs):
|
|||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n\n')
|
||||
|
|
@ -66,12 +66,12 @@ def render_content(context,**pageargs):
|
|||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context)
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer(str(ui.bar(crumbs)))
|
||||
|
|
@ -106,9 +106,9 @@ def render_sourcelink(context,**pageargs):
|
|||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if source_link:
|
||||
|
|
@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "source_encoding": "utf-8", "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"}
|
||||
{"uri": "listing.tmpl", "source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
34
cache/.mako.tmp/post.tmpl.py
vendored
34
cache/.mako.tmp/post.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.926303
|
||||
_modified_time = 1434106807.525691
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/post.tmpl'
|
||||
_template_uri = 'post.tmpl'
|
||||
|
|
@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
def _mako_inherit(template, context):
|
||||
_mako_generate_namespaces(context)
|
||||
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
|
||||
|
|
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -78,13 +78,13 @@ def render_content(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="post-')
|
||||
__M_writer(str(post.meta('type')))
|
||||
|
|
@ -118,9 +118,9 @@ def render_sourcelink(context,**pageargs):
|
|||
try:
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
|
|
@ -137,9 +137,9 @@ def render_sourcelink(context,**pageargs):
|
|||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
post = context.get('post', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
__M_writer = context.writer()
|
||||
|
|
@ -183,6 +183,6 @@ def render_extra_head(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 4, "151": 10, "152": 10, "25": 2, "154": 13, "155": 13, "28": 3, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "source_encoding": "utf-8", "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl"}
|
||||
{"uri": "post.tmpl", "source_encoding": "utf-8", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 2, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 4, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "filename": "themes/bootstrap/templates/post.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
74
cache/.mako.tmp/post_header.tmpl.py
vendored
74
cache/.mako.tmp/post_header.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.9904983
|
||||
_modified_time = 1434106807.5899985
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
|
||||
_template_uri = 'post_header.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['html_translations', 'html_title', 'html_post_header', 'html_sourcelink']
|
||||
_exports = ['html_title', 'html_post_header', 'html_translations', 'html_sourcelink']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -41,39 +41,11 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(post.translated_to) > 1:
|
||||
__M_writer(' <div class="metadata posttranslations translations">\n <h3 class="posttranslations-intro">')
|
||||
__M_writer(str(messages("Also available in:")))
|
||||
__M_writer('</h3>\n')
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <p><a href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></p>\n')
|
||||
__M_writer(' </div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_title(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
title = context.get('title', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
|
|
@ -90,17 +62,17 @@ def render_html_title(context):
|
|||
def render_html_post_header(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def html_title():
|
||||
return render_html_title(context)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def html_translations(post):
|
||||
return render_html_translations(context,post)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def html_sourcelink():
|
||||
return render_html_sourcelink(context)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <header>\n ')
|
||||
__M_writer(str(html_title()))
|
||||
|
|
@ -140,12 +112,40 @@ def render_html_post_header(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_sourcelink(context):
|
||||
def render_html_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(post.translated_to) > 1:
|
||||
__M_writer(' <div class="metadata posttranslations translations">\n <h3 class="posttranslations-intro">')
|
||||
__M_writer(str(messages("Also available in:")))
|
||||
__M_writer('</h3>\n')
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <p><a href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></p>\n')
|
||||
__M_writer(' </div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_sourcelink(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
|
|
@ -161,6 +161,6 @@ def render_html_sourcelink(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"128": 41, "129": 41, "130": 41, "131": 43, "132": 44, "133": 44, "134": 44, "135": 46, "136": 47, "137": 47, "143": 24, "22": 2, "151": 25, "152": 26, "25": 3, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 5, "162": 156, "78": 5, "79": 6, "80": 7, "81": 7, "82": 7, "83": 7, "84": 7, "153": 26, "90": 30, "105": 30, "106": 32, "107": 32, "108": 34, "109": 34, "110": 35, "111": 35, "112": 35, "113": 35, "114": 35, "115": 35, "116": 35, "117": 35, "118": 36, "119": 37, "120": 37, "121": 37, "122": 39, "123": 39, "124": 39, "125": 40, "126": 41, "127": 41}, "source_encoding": "utf-8", "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"}
|
||||
{"uri": "post_header.tmpl", "source_encoding": "utf-8", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "162": 156, "143": 24, "22": 2, "151": 25, "152": 26, "25": 3, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
188
cache/.mako.tmp/post_helper.tmpl.py
vendored
188
cache/.mako.tmp/post_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103207.9580777
|
||||
_modified_time = 1434106807.5577881
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
|
||||
_template_uri = 'post_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['mathjax_script', 'open_graph_metadata', 'html_pager', 'twitter_card_information', 'html_tags', 'meta_translations']
|
||||
_exports = ['html_pager', 'mathjax_script', 'meta_translations', 'html_tags', 'twitter_card_information', 'open_graph_metadata']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,65 +29,6 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_mathjax_script(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if post.is_mathjax:
|
||||
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_open_graph_metadata(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_open_graph:
|
||||
__M_writer(' <meta property="og:site_name" content="')
|
||||
__M_writer(striphtml(str(blog_title)))
|
||||
__M_writer('">\n <meta property="og:title" content="')
|
||||
__M_writer(filters.html_escape(str(post.title()[:70])))
|
||||
__M_writer('">\n <meta property="og:url" content="')
|
||||
__M_writer(str(abs_link(permalink)))
|
||||
__M_writer('">\n')
|
||||
if post.description():
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.description()[:200])))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
|
||||
__M_writer('">\n')
|
||||
if post.previewimage:
|
||||
__M_writer(' <meta property="og:image" content="')
|
||||
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
|
||||
__M_writer('">\n')
|
||||
__M_writer(' <meta property="og:type" content="article">\n')
|
||||
if post.date.isoformat():
|
||||
__M_writer(' <meta property="article:published_time" content="')
|
||||
__M_writer(str(post.date.isoformat()))
|
||||
__M_writer('">\n')
|
||||
if post.tags:
|
||||
for tag in post.tags:
|
||||
__M_writer(' <meta property="article:tag" content="')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_pager(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -118,6 +59,61 @@ def render_html_pager(context,post):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_mathjax_script(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if post.is_mathjax:
|
||||
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_meta_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <link rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('" href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_tags(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
hidden_tags = context.get('hidden_tags', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if post.tags:
|
||||
__M_writer(' <ul itemprop="keywords" class="tags">\n')
|
||||
for tag in post.tags:
|
||||
if tag not in hidden_tags:
|
||||
__M_writer(' <li><a class="tag p-category" href="')
|
||||
__M_writer(str(_link('tag', tag)))
|
||||
__M_writer('" rel="tag">')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('</a></li>\n')
|
||||
__M_writer(' </ul>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_twitter_card_information(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -149,43 +145,47 @@ def render_twitter_card_information(context,post):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_tags(context,post):
|
||||
def render_open_graph_metadata(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
hidden_tags = context.get('hidden_tags', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if post.tags:
|
||||
__M_writer(' <ul itemprop="keywords" class="tags">\n')
|
||||
for tag in post.tags:
|
||||
if tag not in hidden_tags:
|
||||
__M_writer(' <li><a class="tag p-category" href="')
|
||||
__M_writer(str(_link('tag', tag)))
|
||||
__M_writer('" rel="tag">')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('</a></li>\n')
|
||||
__M_writer(' </ul>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_meta_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <link rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('" href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
if use_open_graph:
|
||||
__M_writer(' <meta property="og:site_name" content="')
|
||||
__M_writer(striphtml(str(blog_title)))
|
||||
__M_writer('">\n <meta property="og:title" content="')
|
||||
__M_writer(filters.html_escape(str(post.title()[:70])))
|
||||
__M_writer('">\n <meta property="og:url" content="')
|
||||
__M_writer(str(abs_link(permalink)))
|
||||
__M_writer('">\n')
|
||||
if post.description():
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.description()[:200])))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
|
||||
__M_writer('">\n')
|
||||
if post.previewimage:
|
||||
__M_writer(' <meta property="og:image" content="')
|
||||
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
|
||||
__M_writer('">\n')
|
||||
__M_writer(' <meta property="og:type" content="article">\n')
|
||||
if post.date.isoformat():
|
||||
__M_writer(' <meta property="article:published_time" content="')
|
||||
__M_writer(str(post.date.isoformat()))
|
||||
__M_writer('">\n')
|
||||
if post.tags:
|
||||
for tag in post.tags:
|
||||
__M_writer(' <meta property="article:tag" content="')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
|
|
@ -194,6 +194,6 @@ def render_meta_translations(context,post):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 87, "36": 87, "37": 88, "38": 89, "44": 42, "55": 42, "56": 43, "57": 44, "58": 44, "59": 44, "60": 45, "61": 45, "62": 46, "63": 46, "64": 47, "65": 48, "66": 48, "67": 48, "68": 49, "69": 50, "70": 50, "71": 50, "72": 52, "73": 53, "74": 53, "75": 53, "76": 55, "77": 60, "78": 61, "79": 61, "80": 61, "81": 63, "82": 64, "83": 65, "84": 65, "85": 65, "91": 25, "96": 25, "97": 26, "98": 27, "99": 28, "100": 29, "101": 30, "102": 30, "103": 30, "104": 30, "105": 30, "106": 30, "107": 33, "108": 34, "109": 35, "110": 35, "111": 35, "112": 35, "113": 35, "114": 35, "115": 38, "121": 71, "126": 71, "127": 72, "128": 73, "129": 73, "130": 73, "131": 74, "132": 75, "133": 75, "134": 75, "135": 76, "136": 77, "137": 77, "138": 77, "139": 79, "140": 80, "141": 80, "142": 80, "143": 81, "144": 82, "145": 82, "146": 82, "152": 13, "158": 13, "159": 14, "160": 15, "161": 16, "162": 17, "163": 18, "164": 18, "165": 18, "166": 18, "167": 18, "168": 21, "174": 3, "181": 3, "182": 4, "183": 5, "184": 6, "185": 7, "186": 7, "187": 7, "188": 7, "189": 7, "195": 189}, "source_encoding": "utf-8", "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"}
|
||||
{"uri": "post_helper.tmpl", "source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 87, "66": 87, "67": 88, "68": 89, "74": 3, "81": 3, "82": 4, "83": 5, "84": 6, "85": 7, "86": 7, "87": 7, "88": 7, "89": 7, "95": 13, "101": 13, "102": 14, "103": 15, "104": 16, "105": 17, "106": 18, "107": 18, "108": 18, "109": 18, "110": 18, "111": 21, "117": 71, "122": 71, "123": 72, "124": 73, "125": 73, "126": 73, "127": 74, "128": 75, "129": 75, "130": 75, "131": 76, "132": 77, "133": 77, "134": 77, "135": 79, "136": 80, "137": 80, "138": 80, "139": 81, "140": 82, "141": 82, "142": 82, "148": 42, "159": 42, "160": 43, "161": 44, "162": 44, "163": 44, "164": 45, "165": 45, "166": 46, "167": 46, "168": 47, "169": 48, "170": 48, "171": 48, "172": 49, "173": 50, "174": 50, "175": 50, "176": 52, "177": 53, "178": 53, "179": 53, "180": 55, "181": 60, "182": 61, "183": 61, "184": 61, "185": 63, "186": 64, "187": 65, "188": 65, "189": 65, "195": 189}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
34
cache/.mako.tmp/story.tmpl.py
vendored
34
cache/.mako.tmp/story.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103208.0147002
|
||||
_modified_time = 1434106807.6139934
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
|
||||
_template_uri = 'story.tmpl'
|
||||
|
|
@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
def _mako_inherit(template, context):
|
||||
_mako_generate_namespaces(context)
|
||||
return runtime._inherit_from(context, 'post.tmpl', _template_uri)
|
||||
|
|
@ -35,15 +35,15 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -62,15 +62,15 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="storypage" itemscope="itemscope" itemtype="http://schema.org/Article">\n <header>\n ')
|
||||
__M_writer(str(pheader.html_title()))
|
||||
|
|
@ -95,6 +95,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 4, "87": 19, "88": 22, "25": 2, "90": 22, "28": 3, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "source_encoding": "utf-8", "uri": "story.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl"}
|
||||
{"uri": "story.tmpl", "source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 3, "90": 22, "28": 4, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
46
cache/.mako.tmp/tag.tmpl.py
vendored
46
cache/.mako.tmp/tag.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103208.0691202
|
||||
_modified_time = 1434106807.6668167
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
|
||||
_template_uri = 'tag.tmpl'
|
||||
|
|
@ -27,23 +27,23 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
|
||||
|
|
@ -64,20 +64,20 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
len = context.get('len', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="tagpage">\n <header>\n <h1>')
|
||||
__M_writer(filters.html_escape(str(title)))
|
||||
|
|
@ -140,15 +140,15 @@ def render_content(context,**pageargs):
|
|||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -179,6 +179,6 @@ def render_extra_head(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "source_encoding": "utf-8", "uri": "tag.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl"}
|
||||
{"uri": "tag.tmpl", "source_encoding": "utf-8", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
12
cache/.mako.tmp/tags.tmpl.py
vendored
12
cache/.mako.tmp/tags.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434103208.0481884
|
||||
_modified_time = 1434106807.6473906
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
|
||||
_template_uri = 'tags.tmpl'
|
||||
|
|
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
@ -90,6 +90,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "source_encoding": "utf-8", "uri": "tags.tmpl", "filename": "themes/bootstrap/templates/tags.tmpl"}
|
||||
{"uri": "tags.tmpl", "source_encoding": "utf-8", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "filename": "themes/bootstrap/templates/tags.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
2
cache/lastdeploy
vendored
2
cache/lastdeploy
vendored
|
|
@ -1 +1 @@
|
|||
2015-06-12T10:00:11.213816
|
||||
2015-06-12T11:00:11.012367
|
||||
Loading…
Add table
Add a link
Reference in a new issue