Automatic commit via /home/don/bin/deployweb Wed Jun 10 11:00:11 UTC 2015
This commit is contained in:
parent
4583b9b164
commit
b0284f47bb
50 changed files with 675 additions and 675 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 = 1433930407.3841364
|
||||
_modified_time = 1433934007.8724723
|
||||
_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
|
||||
{"source_encoding": "ascii", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "uri": "annotation_helper.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "uri": "annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "source_encoding": "ascii"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
116
cache/.mako.tmp/base.tmpl.py
vendored
116
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 = 1433930407.3108287
|
||||
_modified_time = 1433934007.7990863
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
|
||||
_template_uri = 'base.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['extra_js', 'belowtitle', 'content', 'sourcelink', 'extra_head']
|
||||
_exports = ['belowtitle', 'content', 'extra_head', 'extra_js', 'sourcelink']
|
||||
|
||||
|
||||
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, ['*'])
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
post = _import_ns.get('post', context.get('post', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', 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))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
def extra_js():
|
||||
return render_extra_js(context._locals(__M_locals))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -158,31 +158,17 @@ def render_body(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_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, ['*'])
|
||||
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')
|
||||
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:
|
||||
|
|
@ -209,20 +195,6 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(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 sourcelink():
|
||||
return render_sourcelink(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:
|
||||
|
|
@ -238,8 +210,36 @@ def render_extra_head(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:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "190": 47, "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": 85, "198": 66, "226": 6, "175": 45, "187": 45, "188": 46, "189": 47, "153": 91, "191": 47, "192": 49, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 51, "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, "126": 66, "127": 71}, "uri": "base.tmpl"}
|
||||
{"filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "213": 85, "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, "207": 6, "198": 6, "227": 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, "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, "109": 49, "110": 50, "111": 51, "241": 227, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
270
cache/.mako.tmp/base_helper.tmpl.py
vendored
270
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 = 1433930407.3514102
|
||||
_modified_time = 1433934007.8397036
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
|
||||
_template_uri = 'base_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['late_load_js', 'html_navigation_links', 'html_feedlinks', 'html_translations', 'html_stylesheets', 'html_headstart']
|
||||
_exports = ['html_translations', 'html_stylesheets', 'late_load_js', 'html_headstart', 'html_navigation_links', 'html_feedlinks']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,125 +29,13 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_late_load_js(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
|
||||
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
|
||||
if colorbox_locales[lang]:
|
||||
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
|
||||
__M_writer(str(colorbox_locales[lang]))
|
||||
__M_writer('.js"></script>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(social_buttons_code))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_navigation_links(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
rel_link = context.get('rel_link', UNDEFINED)
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
navigation_links = context.get('navigation_links', UNDEFINED)
|
||||
permalink = context.get('permalink', 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:
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if rss_link:
|
||||
__M_writer(' ')
|
||||
__M_writer(str(rss_link))
|
||||
__M_writer('\n')
|
||||
elif generate_rss:
|
||||
if len(translations) > 1:
|
||||
for language in translations:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
|
||||
__M_writer(str(language))
|
||||
__M_writer(')" href="')
|
||||
__M_writer(str(_link('rss', None, language)))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
|
||||
__M_writer(str(_link('rss', None)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_translations(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
for langname in translations.keys():
|
||||
|
|
@ -170,9 +58,9 @@ def render_html_stylesheets(context):
|
|||
post = context.get('post', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
|
|
@ -201,32 +89,65 @@ def render_html_stylesheets(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_late_load_js(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
|
||||
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
|
||||
if colorbox_locales[lang]:
|
||||
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
|
||||
__M_writer(str(colorbox_locales[lang]))
|
||||
__M_writer('.js"></script>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(social_buttons_code))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_headstart(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def html_stylesheets():
|
||||
return render_html_stylesheets(context)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
def html_feedlinks():
|
||||
return render_html_feedlinks(context)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
def html_stylesheets():
|
||||
return render_html_stylesheets(context)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
title = context.get('title', 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'):
|
||||
|
|
@ -301,8 +222,87 @@ def render_html_headstart(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_navigation_links(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
navigation_links = context.get('navigation_links', UNDEFINED)
|
||||
rel_link = context.get('rel_link', UNDEFINED)
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
permalink = context.get('permalink', 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:
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if rss_link:
|
||||
__M_writer(' ')
|
||||
__M_writer(str(rss_link))
|
||||
__M_writer('\n')
|
||||
elif generate_rss:
|
||||
if len(translations) > 1:
|
||||
for language in translations:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
|
||||
__M_writer(str(language))
|
||||
__M_writer(')" href="')
|
||||
__M_writer(str(_link('rss', None, language)))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
|
||||
__M_writer(str(_link('rss', None)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 67, "41": 67, "42": 68, "43": 69, "44": 70, "45": 73, "46": 74, "47": 76, "48": 77, "49": 78, "50": 80, "51": 81, "52": 86, "53": 88, "54": 89, "55": 89, "56": 89, "57": 91, "58": 91, "59": 91, "65": 124, "75": 124, "76": 125, "77": 126, "78": 127, "79": 127, "80": 127, "81": 129, "82": 130, "83": 131, "84": 131, "85": 131, "86": 131, "87": 131, "88": 132, "89": 133, "90": 133, "91": 133, "92": 133, "93": 133, "94": 136, "95": 137, "96": 138, "97": 139, "98": 139, "99": 139, "100": 139, "101": 139, "102": 140, "103": 141, "104": 141, "105": 141, "106": 141, "107": 141, "113": 147, "122": 147, "123": 148, "124": 149, "125": 149, "126": 149, "127": 150, "128": 151, "129": 152, "130": 153, "131": 153, "132": 153, "133": 153, "134": 153, "135": 155, "136": 156, "137": 156, "138": 156, "144": 161, "152": 161, "153": 162, "154": 163, "155": 164, "156": 164, "157": 164, "158": 164, "159": 164, "160": 164, "161": 164, "167": 95, "177": 95, "178": 96, "179": 97, "180": 98, "181": 100, "182": 101, "183": 103, "184": 104, "185": 105, "186": 106, "187": 107, "188": 109, "189": 113, "190": 114, "191": 117, "192": 118, "193": 118, "194": 118, "195": 119, "196": 120, "197": 120, "198": 120, "204": 3, "231": 3, "232": 7, "233": 8, "234": 9, "235": 10, "236": 12, "237": 13, "238": 15, "239": 16, "240": 18, "241": 21, "242": 22, "243": 25, "244": 25, "245": 25, "246": 28, "247": 29, "248": 29, "249": 29, "250": 31, "251": 32, "252": 32, "253": 32, "254": 32, "255": 34, "256": 34, "257": 35, "258": 35, "259": 36, "260": 37, "261": 37, "262": 37, "263": 39, "264": 40, "265": 41, "266": 42, "267": 42, "268": 42, "269": 42, "270": 42, "271": 42, "272": 42, "273": 45, "274": 46, "275": 47, "276": 47, "277": 47, "278": 49, "279": 50, "280": 51, "281": 51, "282": 51, "283": 53, "284": 54, "285": 54, "286": 54, "287": 56, "288": 57, "289": 57, "290": 58, "291": 59, "292": 60, "293": 61, "294": 61, "295": 61, "296": 63, "297": 64, "298": 64, "304": 298}, "uri": "base_helper.tmpl"}
|
||||
{"filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 95, "65": 95, "66": 96, "67": 97, "68": 98, "69": 100, "70": 101, "71": 103, "72": 104, "73": 105, "74": 106, "75": 107, "76": 109, "77": 113, "78": 114, "79": 117, "80": 118, "81": 118, "82": 118, "83": 119, "84": 120, "85": 120, "86": 120, "92": 67, "101": 67, "102": 68, "103": 69, "104": 70, "105": 73, "106": 74, "107": 76, "108": 77, "109": 78, "110": 80, "111": 81, "112": 86, "113": 88, "114": 89, "115": 89, "116": 89, "117": 91, "118": 91, "119": 91, "125": 3, "152": 3, "153": 7, "154": 8, "155": 9, "156": 10, "157": 12, "158": 13, "159": 15, "160": 16, "161": 18, "162": 21, "163": 22, "164": 25, "165": 25, "166": 25, "167": 28, "168": 29, "169": 29, "170": 29, "171": 31, "172": 32, "173": 32, "174": 32, "175": 32, "176": 34, "177": 34, "178": 35, "179": 35, "180": 36, "181": 37, "182": 37, "183": 37, "184": 39, "185": 40, "186": 41, "187": 42, "188": 42, "189": 42, "190": 42, "191": 42, "192": 42, "193": 42, "194": 45, "195": 46, "196": 47, "197": 47, "198": 47, "199": 49, "200": 50, "201": 51, "202": 51, "203": 51, "204": 53, "205": 54, "206": 54, "207": 54, "208": 56, "209": 57, "210": 57, "211": 58, "212": 59, "213": 60, "214": 61, "215": 61, "216": 61, "217": 63, "218": 64, "219": 64, "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}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
140
cache/.mako.tmp/comments_helper.tmpl.py
vendored
140
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 = 1433930407.2257946
|
||||
_modified_time = 1433934007.7138782
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,27 +19,27 @@ 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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'facebook')] = 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('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'googleplus')] = 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('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'isso')] = 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('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'intensedebate')] = 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('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'isso')] = ns
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -64,14 +64,14 @@ def render_body(context,**pageargs):
|
|||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -107,63 +107,17 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -199,8 +153,54 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 6, "25": 8, "28": 7, "31": 3, "34": 9, "37": 4, "40": 5, "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": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "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}, "uri": "comments_helper.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl", "line_map": {"22": 8, "25": 6, "28": 7, "31": 4, "34": 5, "37": 3, "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": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "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": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/comments_helper_disqus.tmpl.py
vendored
36
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 = 1433930407.2502105
|
||||
_modified_time = 1433934007.7383792
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
import json
|
||||
|
|
@ -61,21 +61,6 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__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(' <script>var disqus_shortname="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -93,8 +78,23 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__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(' <script>var disqus_shortname="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 40, "69": 40, "70": 41, "71": 42, "72": 42, "73": 42, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "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", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 33, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "source_encoding": "utf-8"}
|
||||
__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 = 1433930407.2873464
|
||||
_modified_time = 1433934007.7756257
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -40,6 +40,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<span class="fb-comments-count" data-url="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -53,20 +65,8 @@ 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()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 28, "43": 32, "15": 0, "48": 32, "49": 46, "50": 46, "20": 26, "21": 30, "22": 62, "56": 28, "68": 62, "28": 2, "61": 29, "62": 29}, "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", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 32, "43": 28, "15": 0, "48": 29, "49": 29, "20": 26, "21": 30, "22": 62, "55": 32, "68": 62, "47": 28, "28": 2, "61": 46, "62": 46}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433930407.281493
|
||||
_modified_time = 1433934007.76968
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -37,16 +37,6 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__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_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -59,8 +49,18 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "line_map": {"32": 2, "33": 5, "34": 5, "54": 11, "40": 16, "44": 16, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 2, "62": 56}, "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", "line_map": {"32": 2, "33": 5, "34": 5, "40": 11, "44": 11, "45": 12, "46": 12, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 2, "62": 56}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433930407.2681358
|
||||
_modified_time = 1433934007.7562664
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -42,16 +42,6 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__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_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -73,8 +63,18 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "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": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 24, "49": 24, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "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", "line_map": {"66": 24, "70": 24, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 13, "50": 13, "51": 14, "52": 14, "53": 14, "54": 14, "55": 16, "56": 16, "57": 17, "58": 17, "59": 18, "60": 18}, "source_encoding": "utf-8"}
|
||||
__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 = 1433930407.2953434
|
||||
_modified_time = 1433934007.7835457
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -44,6 +44,21 @@ 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()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -61,23 +76,8 @@ 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()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "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": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 16, "52": 16, "53": 17, "54": 18, "55": 18, "56": 18, "57": 18, "58": 18}, "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", "line_map": {"67": 16, "68": 17, "69": 18, "70": 18, "71": 18, "72": 18, "73": 18, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 9, "52": 9, "53": 10, "54": 11, "55": 11, "56": 11, "62": 16}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
26
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
26
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 = 1433930407.260331
|
||||
_modified_time = 1433934007.7484734
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -40,16 +40,6 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -67,8 +57,18 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "line_map": {"64": 25, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 24, "43": 31, "63": 25, "15": 0, "59": 24, "20": 21, "21": 28, "22": 33, "58": 23, "47": 31, "28": 2, "61": 25, "62": 25, "53": 23}, "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", "line_map": {"64": 31, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 31, "43": 23, "15": 0, "48": 23, "49": 24, "50": 24, "51": 25, "20": 21, "21": 28, "22": 33, "52": 25, "54": 25, "28": 2, "53": 25}, "source_encoding": "utf-8"}
|
||||
__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 = 1433930407.2757454
|
||||
_modified_time = 1433934007.7639651
|
||||
_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_form', 'comment_link_script', 'comment_link']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -43,16 +43,6 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -63,8 +53,18 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 11, "15": 0, "50": 11, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "60": 7, "29": 3}, "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", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 7, "15": 0, "50": 7, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "60": 11, "29": 3}, "source_encoding": "utf-8"}
|
||||
__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 = 1433930407.4223711
|
||||
_modified_time = 1433934007.9106398
|
||||
_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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "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}, "uri": "crumbs.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "uri": "crumbs.tmpl", "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"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
64
cache/.mako.tmp/index.tmpl.py
vendored
64
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 = 1433930407.1900015
|
||||
_modified_time = 1433934007.6779797
|
||||
_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', 'extra_head', 'content_header']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,12 +19,12 @@ 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='index_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = 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)
|
||||
|
|
@ -32,21 +32,21 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
def content_header():
|
||||
return render_content_header(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -69,16 +69,16 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
|
||||
|
|
@ -130,26 +130,15 @@ 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:
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -163,8 +152,19 @@ def render_extra_head(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()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "line_map": {"133": 14, "144": 6, "22": 3, "25": 2, "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}, "uri": "index.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl", "line_map": {"133": 6, "143": 6, "144": 7, "145": 7, "146": 8, "147": 9, "148": 9, "149": 9, "22": 2, "25": 3, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "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"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
32
cache/.mako.tmp/index_helper.tmpl.py
vendored
32
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 = 1433930407.208526
|
||||
_modified_time = 1433934007.6965613
|
||||
_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 = ['html_pager', 'mathjax_script']
|
||||
_exports = ['mathjax_script', 'html_pager']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -24,6 +24,19 @@ 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:
|
||||
|
|
@ -52,21 +65,8 @@ 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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "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}, "uri": "index_helper.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "uri": "index_helper.tmpl", "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"}
|
||||
__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 = 1433930407.4429991
|
||||
_modified_time = 1433934007.9311674
|
||||
_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)
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', 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:
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', 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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "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}, "uri": "list.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "uri": "list.tmpl", "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"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
16
cache/.mako.tmp/list_post.tmpl.py
vendored
16
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 = 1433930407.4574306
|
||||
_modified_time = 1433934007.9457843
|
||||
_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)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
title = context.get('title', 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)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
title = context.get('title', 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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "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}, "uri": "list_post.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "uri": "list_post.tmpl", "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"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
22
cache/.mako.tmp/listing.tmpl.py
vendored
22
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 = 1433930407.4108937
|
||||
_modified_time = 1433934007.8991263
|
||||
_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'])
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', 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')
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context)
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer(str(ui.bar(crumbs)))
|
||||
|
|
@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl", "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}, "uri": "listing.tmpl"}
|
||||
{"filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl", "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"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
90
cache/.mako.tmp/post.tmpl.py
vendored
90
cache/.mako.tmp/post.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433930407.4851825
|
||||
_modified_time = 1433934007.973553
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/post.tmpl'
|
||||
_template_uri = 'post.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'sourcelink', 'extra_head']
|
||||
_exports = ['content', 'extra_head', 'sourcelink']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,14 +19,14 @@ 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('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = 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)
|
||||
|
|
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -77,14 +77,14 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
def content():
|
||||
return render_content(context)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="post-')
|
||||
__M_writer(str(post.meta('type')))
|
||||
|
|
@ -113,35 +113,14 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
post = context.get('post', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
post = context.get('post', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -181,8 +160,29 @@ def render_extra_head(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "themes/bootstrap/templates/post.tmpl", "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": 3, "154": 13, "155": 13, "28": 2, "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}, "uri": "post.tmpl"}
|
||||
{"filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "line_map": {"128": 9, "129": 10, "130": 10, "131": 10, "132": 12, "133": 13, "134": 13, "135": 13, "136": 15, "137": 15, "138": 15, "139": 16, "140": 17, "141": 17, "142": 17, "143": 17, "144": 17, "145": 19, "146": 20, "147": 20, "148": 20, "149": 20, "22": 2, "151": 22, "152": 22, "25": 3, "154": 23, "155": 23, "28": 4, "157": 24, "150": 20, "34": 0, "163": 50, "156": 24, "172": 50, "173": 51, "174": 52, "175": 53, "176": 53, "177": 53, "178": 53, "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": 7, "153": 22, "125": 7, "126": 8, "127": 8}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
64
cache/.mako.tmp/post_header.tmpl.py
vendored
64
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 = 1433930407.5490267
|
||||
_modified_time = 1433934008.0377324
|
||||
_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_title', 'html_post_header', 'html_sourcelink', 'html_translations']
|
||||
_exports = ['html_sourcelink', 'html_post_header', 'html_title', 'html_translations']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,12 +19,12 @@ 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('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -41,19 +41,20 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_title(context):
|
||||
def render_html_sourcelink(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
__M_writer(' <h1 class="p-name entry-title" itemprop="headline name"><a href="')
|
||||
__M_writer(str(post.permalink()))
|
||||
__M_writer('" class="u-url">')
|
||||
__M_writer(filters.html_escape(str(post.title())))
|
||||
__M_writer('</a></h1>\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <p class="sourceline"><a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a></p>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -62,17 +63,17 @@ def render_html_title(context):
|
|||
def render_html_post_header(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def html_translations(post):
|
||||
return render_html_translations(context,post)
|
||||
def html_title():
|
||||
return render_html_title(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def html_sourcelink():
|
||||
return render_html_sourcelink(context)
|
||||
def html_title():
|
||||
return render_html_title(context)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <header>\n ')
|
||||
__M_writer(str(html_title()))
|
||||
|
|
@ -112,20 +113,19 @@ def render_html_post_header(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_sourcelink(context):
|
||||
def render_html_title(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <p class="sourceline"><a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a></p>\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
__M_writer(' <h1 class="p-name entry-title" itemprop="headline name"><a href="')
|
||||
__M_writer(str(post.permalink()))
|
||||
__M_writer('" class="u-url">')
|
||||
__M_writer(filters.html_escape(str(post.title())))
|
||||
__M_writer('</a></h1>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -134,10 +134,10 @@ def render_html_sourcelink(context):
|
|||
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)
|
||||
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:
|
||||
|
|
@ -161,6 +161,6 @@ def render_html_translations(context,post):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 3, "151": 17, "152": 17, "25": 2, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "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": 24, "153": 17, "122": 24, "123": 25, "124": 26, "125": 26, "126": 26, "127": 26}, "uri": "post_header.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl", "line_map": {"128": 7, "150": 17, "134": 11, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 2, "151": 17, "152": 17, "25": 3, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 30, "162": 156, "78": 30, "79": 32, "80": 32, "81": 34, "82": 34, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "91": 36, "92": 37, "93": 37, "94": 37, "95": 39, "96": 39, "97": 39, "98": 40, "99": 41, "100": 41, "101": 41, "102": 41, "103": 41, "104": 43, "105": 44, "106": 44, "107": 44, "108": 46, "109": 47, "110": 47, "116": 5, "153": 17, "122": 5, "123": 6, "124": 7, "125": 7, "126": 7, "127": 7}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
184
cache/.mako.tmp/post_helper.tmpl.py
vendored
184
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 = 1433930407.5166216
|
||||
_modified_time = 1433934008.005304
|
||||
_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 = ['html_pager', 'open_graph_metadata', 'html_tags', 'meta_translations', 'mathjax_script', 'twitter_card_information']
|
||||
_exports = ['meta_translations', 'html_pager', 'mathjax_script', 'html_tags', 'twitter_card_information', 'open_graph_metadata']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,6 +29,27 @@ def render_body(context,**pageargs):
|
|||
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_pager(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -59,16 +80,81 @@ 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_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:
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if twitter_card and twitter_card['use_twitter_cards']:
|
||||
__M_writer(' <meta name="twitter:card" content="')
|
||||
__M_writer(filters.html_escape(str(twitter_card.get('card', 'summary'))))
|
||||
__M_writer('">\n')
|
||||
if 'site:id' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:site:id" content="')
|
||||
__M_writer(str(twitter_card['site:id']))
|
||||
__M_writer('">\n')
|
||||
elif 'site' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:site" content="')
|
||||
__M_writer(str(twitter_card['site']))
|
||||
__M_writer('">\n')
|
||||
if 'creator:id' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:creator:id" content="')
|
||||
__M_writer(str(twitter_card['creator:id']))
|
||||
__M_writer('">\n')
|
||||
elif 'creator' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:creator" content="')
|
||||
__M_writer(str(twitter_card['creator']))
|
||||
__M_writer('">\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)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_open_graph:
|
||||
|
|
@ -106,94 +192,8 @@ def render_open_graph_metadata(context,post):
|
|||
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_meta_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
lang = context.get('lang', 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_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_twitter_card_information(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if twitter_card and twitter_card['use_twitter_cards']:
|
||||
__M_writer(' <meta name="twitter:card" content="')
|
||||
__M_writer(filters.html_escape(str(twitter_card.get('card', 'summary'))))
|
||||
__M_writer('">\n')
|
||||
if 'site:id' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:site:id" content="')
|
||||
__M_writer(str(twitter_card['site:id']))
|
||||
__M_writer('">\n')
|
||||
elif 'site' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:site" content="')
|
||||
__M_writer(str(twitter_card['site']))
|
||||
__M_writer('">\n')
|
||||
if 'creator:id' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:creator:id" content="')
|
||||
__M_writer(str(twitter_card['creator:id']))
|
||||
__M_writer('">\n')
|
||||
elif 'creator' in twitter_card:
|
||||
__M_writer(' <meta name="twitter:creator" content="')
|
||||
__M_writer(str(twitter_card['creator']))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "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": 42, "73": 42, "74": 43, "75": 44, "76": 44, "77": 44, "78": 45, "79": 45, "80": 46, "81": 46, "82": 47, "83": 48, "84": 48, "85": 48, "86": 49, "87": 50, "88": 50, "89": 50, "90": 52, "91": 53, "92": 53, "93": 53, "94": 55, "95": 60, "96": 61, "97": 61, "98": 61, "99": 63, "100": 64, "101": 65, "102": 65, "103": 65, "109": 13, "115": 13, "116": 14, "117": 15, "118": 16, "119": 17, "120": 18, "121": 18, "122": 18, "123": 18, "124": 18, "125": 21, "131": 3, "138": 3, "139": 4, "140": 5, "141": 6, "142": 7, "143": 7, "144": 7, "145": 7, "146": 7, "152": 87, "156": 87, "157": 88, "158": 89, "164": 71, "169": 71, "170": 72, "171": 73, "172": 73, "173": 73, "174": 74, "175": 75, "176": 75, "177": 75, "178": 76, "179": 77, "180": 77, "181": 77, "182": 79, "183": 80, "184": 80, "185": 80, "186": 81, "187": 82, "188": 82, "189": 82, "195": 189}, "uri": "post_helper.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 25, "58": 25, "59": 26, "60": 27, "61": 28, "62": 29, "63": 30, "64": 30, "65": 30, "66": 30, "67": 30, "68": 30, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "76": 35, "77": 38, "83": 87, "87": 87, "88": 88, "89": 89, "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}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/story.tmpl.py
vendored
36
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 = 1433930407.5727954
|
||||
_modified_time = 1433934008.0611112
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
|
||||
_template_uri = 'story.tmpl'
|
||||
|
|
@ -19,14 +19,14 @@ 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('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = 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)
|
||||
|
|
@ -35,15 +35,15 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
enable_comments = context.get('enable_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:
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
def content():
|
||||
return render_content(context)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
enable_comments = context.get('enable_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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "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": 3, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "uri": "story.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "uri": "story.tmpl", "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}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
50
cache/.mako.tmp/tag.tmpl.py
vendored
50
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 = 1433930407.6271684
|
||||
_modified_time = 1433934008.1150181
|
||||
_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)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
description = context.get('description', UNDEFINED)
|
||||
subcategories = context.get('subcategories', 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:
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
subcategories = context.get('subcategories', 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)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
tag = context.get('tag', 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
|
||||
{"source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "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}, "uri": "tag.tmpl"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl", "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"}
|
||||
__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 = 1433930407.60725
|
||||
_modified_time = 1433934008.0954463
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
|
||||
_template_uri = 'tags.tmpl'
|
||||
|
|
@ -28,10 +28,10 @@ def render_body(context,**pageargs):
|
|||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
|
|
@ -49,10 +49,10 @@ 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)
|
||||
items = context.get('items', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<h1>')
|
||||
|
|
@ -90,6 +90,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "filename": "themes/bootstrap/templates/tags.tmpl", "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}, "uri": "tags.tmpl"}
|
||||
{"filename": "themes/bootstrap/templates/tags.tmpl", "uri": "tags.tmpl", "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"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
2
cache/lastdeploy
vendored
2
cache/lastdeploy
vendored
|
|
@ -1 +1 @@
|
|||
2015-06-10T10:00:10.601838
|
||||
2015-06-10T11:00:11.029904
|
||||
|
|
@ -136,10 +136,10 @@
|
|||
<a href="../posts/200706screen-terminal-multiplexer.html" class="listtitle">Screen - terminal multiplexer</a> <time class="listdate" datetime="2007-06-13T18:06:00-05:00" title="2007-06-13">2007-06-13</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200703strayed-from-the-path.html" class="listtitle">Strayed from the path</a> <time class="listdate" datetime="2007-03-19T18:03:00-06:00" title="2007-03-19">2007-03-19</time>
|
||||
|
|
|
|||
|
|
@ -148,10 +148,10 @@
|
|||
<a href="../posts/200706screen-terminal-multiplexer.html" class="listtitle">Screen - terminal multiplexer</a> <time class="listdate" datetime="2007-06-13T18:06:00-05:00" title="2007-06-13">2007-06-13</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200703cli-bugissuetask-tracking-system.html" class="listtitle">cli bug/issue/task tracking system?</a> <time class="listdate" datetime="2007-03-05T17:03:00-06:00" title="2007-03-05">2007-03-05</time>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue