Automatic commit via /home/don/bin/deployweb Thu Jun 11 09:00:10 UTC 2015
This commit is contained in:
parent
497a2d698b
commit
9ae9ec38e9
48 changed files with 649 additions and 649 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 = 1434009607.1875286
|
||||
_modified_time = 1434013207.4151928
|
||||
_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", "uri": "annotation_helper.tmpl", "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", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "source_encoding": "ascii"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
96
cache/.mako.tmp/base.tmpl.py
vendored
96
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 = 1434009607.1138294
|
||||
_modified_time = 1434013207.341996
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
|
||||
_template_uri = 'base.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['sourcelink', 'content', 'extra_head', 'extra_js', 'belowtitle']
|
||||
_exports = ['sourcelink', 'content', 'belowtitle', 'extra_head', 'extra_js']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -32,37 +32,37 @@ def render_body(context,**pageargs):
|
|||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
post = _import_ns.get('post', context.get('post', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
def extra_js():
|
||||
return render_extra_js(context._locals(__M_locals))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
post = _import_ns.get('post', context.get('post', UNDEFINED))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -186,6 +186,29 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_belowtitle(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
def belowtitle():
|
||||
return render_belowtitle(context)
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
__M_writer(' <li>')
|
||||
__M_writer(str(base.html_translations()))
|
||||
__M_writer('</li>\n')
|
||||
__M_writer(' ')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -215,31 +238,8 @@ def render_extra_js(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_belowtitle(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
def belowtitle():
|
||||
return render_belowtitle(context)
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
__M_writer(' <li>')
|
||||
__M_writer(str(base.html_translations()))
|
||||
__M_writer('</li>\n')
|
||||
__M_writer(' ')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "base.tmpl", "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, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "218": 45, "150": 89, "230": 45, "161": 51, "198": 6, "241": 235, "175": 66, "189": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 85, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "233": 47, "234": 47, "231": 46, "235": 49, "109": 49, "110": 50, "111": 51, "232": 47, "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", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "150": 89, "161": 51, "227": 85, "175": 66, "206": 49, "189": 45, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "201": 45, "202": 46, "203": 47, "204": 47, "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, "205": 47, "109": 49, "110": 50, "111": 51, "241": 227, "221": 6, "212": 6, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
254
cache/.mako.tmp/base_helper.tmpl.py
vendored
254
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 = 1434009607.1546872
|
||||
_modified_time = 1434013207.3825474
|
||||
_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_translations', 'html_navigation_links', 'html_headstart', 'html_stylesheets', 'html_feedlinks']
|
||||
_exports = ['html_headstart', 'late_load_js', 'html_stylesheets', 'html_feedlinks', 'html_navigation_links', 'html_translations']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,136 +29,32 @@ 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)
|
||||
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
|
||||
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
|
||||
if colorbox_locales[lang]:
|
||||
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
|
||||
__M_writer(str(colorbox_locales[lang]))
|
||||
__M_writer('.js"></script>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(social_buttons_code))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_translations(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
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():
|
||||
if langname != lang:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(_link("index", None, langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_navigation_links(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
rel_link = context.get('rel_link', UNDEFINED)
|
||||
navigation_links = context.get('navigation_links', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
for url, text in navigation_links[lang]:
|
||||
if isinstance(url, tuple):
|
||||
__M_writer(' <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n')
|
||||
for suburl, text in url:
|
||||
if rel_link(permalink, suburl) == "#":
|
||||
__M_writer(' <li class="active"><a href="')
|
||||
__M_writer(str(permalink))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
else:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(suburl))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
__M_writer(' </ul>\n')
|
||||
else:
|
||||
if rel_link(permalink, url) == "#":
|
||||
__M_writer(' <li class="active"><a href="')
|
||||
__M_writer(str(permalink))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
else:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_headstart(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
def html_stylesheets():
|
||||
return render_html_stylesheets(context)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
def html_feedlinks():
|
||||
return render_html_feedlinks(context)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
striphtml = context.get('striphtml', 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'):
|
||||
|
|
@ -233,15 +129,48 @@ def render_html_headstart(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_late_load_js(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
__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_stylesheets(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
post = context.get('post', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
|
|
@ -273,11 +202,11 @@ def render_html_stylesheets(context):
|
|||
def render_html_feedlinks(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if rss_link:
|
||||
|
|
@ -301,8 +230,79 @@ def render_html_feedlinks(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_navigation_links(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
navigation_links = context.get('navigation_links', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
rel_link = context.get('rel_link', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
for url, text in navigation_links[lang]:
|
||||
if isinstance(url, tuple):
|
||||
__M_writer(' <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n')
|
||||
for suburl, text in url:
|
||||
if rel_link(permalink, suburl) == "#":
|
||||
__M_writer(' <li class="active"><a href="')
|
||||
__M_writer(str(permalink))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
else:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(suburl))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
__M_writer(' </ul>\n')
|
||||
else:
|
||||
if rel_link(permalink, url) == "#":
|
||||
__M_writer(' <li class="active"><a href="')
|
||||
__M_writer(str(permalink))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
else:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('">')
|
||||
__M_writer(str(text))
|
||||
__M_writer('</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_translations(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
for langname in translations.keys():
|
||||
if langname != lang:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(_link("index", None, langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "base_helper.tmpl", "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": 161, "73": 161, "74": 162, "75": 163, "76": 164, "77": 164, "78": 164, "79": 164, "80": 164, "81": 164, "82": 164, "88": 124, "98": 124, "99": 125, "100": 126, "101": 127, "102": 127, "103": 127, "104": 129, "105": 130, "106": 131, "107": 131, "108": 131, "109": 131, "110": 131, "111": 132, "112": 133, "113": 133, "114": 133, "115": 133, "116": 133, "117": 136, "118": 137, "119": 138, "120": 139, "121": 139, "122": 139, "123": 139, "124": 139, "125": 140, "126": 141, "127": 141, "128": 141, "129": 141, "130": 141, "136": 3, "163": 3, "164": 7, "165": 8, "166": 9, "167": 10, "168": 12, "169": 13, "170": 15, "171": 16, "172": 18, "173": 21, "174": 22, "175": 25, "176": 25, "177": 25, "178": 28, "179": 29, "180": 29, "181": 29, "182": 31, "183": 32, "184": 32, "185": 32, "186": 32, "187": 34, "188": 34, "189": 35, "190": 35, "191": 36, "192": 37, "193": 37, "194": 37, "195": 39, "196": 40, "197": 41, "198": 42, "199": 42, "200": 42, "201": 42, "202": 42, "203": 42, "204": 42, "205": 45, "206": 46, "207": 47, "208": 47, "209": 47, "210": 49, "211": 50, "212": 51, "213": 51, "214": 51, "215": 53, "216": 54, "217": 54, "218": 54, "219": 56, "220": 57, "221": 57, "222": 58, "223": 59, "224": 60, "225": 61, "226": 61, "227": 61, "228": 63, "229": 64, "230": 64, "236": 95, "246": 95, "247": 96, "248": 97, "249": 98, "250": 100, "251": 101, "252": 103, "253": 104, "254": 105, "255": 106, "256": 107, "257": 109, "258": 113, "259": 114, "260": 117, "261": 118, "262": 118, "263": 118, "264": 119, "265": 120, "266": 120, "267": 120, "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}}
|
||||
{"uri": "base_helper.tmpl", "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": 3, "59": 3, "60": 7, "61": 8, "62": 9, "63": 10, "64": 12, "65": 13, "66": 15, "67": 16, "68": 18, "69": 21, "70": 22, "71": 25, "72": 25, "73": 25, "74": 28, "75": 29, "76": 29, "77": 29, "78": 31, "79": 32, "80": 32, "81": 32, "82": 32, "83": 34, "84": 34, "85": 35, "86": 35, "87": 36, "88": 37, "89": 37, "90": 37, "91": 39, "92": 40, "93": 41, "94": 42, "95": 42, "96": 42, "97": 42, "98": 42, "99": 42, "100": 42, "101": 45, "102": 46, "103": 47, "104": 47, "105": 47, "106": 49, "107": 50, "108": 51, "109": 51, "110": 51, "111": 53, "112": 54, "113": 54, "114": 54, "115": 56, "116": 57, "117": 57, "118": 58, "119": 59, "120": 60, "121": 61, "122": 61, "123": 61, "124": 63, "125": 64, "126": 64, "132": 67, "141": 67, "142": 68, "143": 69, "144": 70, "145": 73, "146": 74, "147": 76, "148": 77, "149": 78, "150": 80, "151": 81, "152": 86, "153": 88, "154": 89, "155": 89, "156": 89, "157": 91, "158": 91, "159": 91, "165": 95, "175": 95, "176": 96, "177": 97, "178": 98, "179": 100, "180": 101, "181": 103, "182": 104, "183": 105, "184": 106, "185": 107, "186": 109, "187": 113, "188": 114, "189": 117, "190": 118, "191": 118, "192": 118, "193": 119, "194": 120, "195": 120, "196": 120, "202": 147, "211": 147, "212": 148, "213": 149, "214": 149, "215": 149, "216": 150, "217": 151, "218": 152, "219": 153, "220": 153, "221": 153, "222": 153, "223": 153, "224": 155, "225": 156, "226": 156, "227": 156, "233": 124, "243": 124, "244": 125, "245": 126, "246": 127, "247": 127, "248": 127, "249": 129, "250": 130, "251": 131, "252": 131, "253": 131, "254": 131, "255": 131, "256": 132, "257": 133, "258": 133, "259": 133, "260": 133, "261": 133, "262": 136, "263": 137, "264": 138, "265": 139, "266": 139, "267": 139, "268": 139, "269": 139, "270": 140, "271": 141, "272": 141, "273": 141, "274": 141, "275": 141, "281": 161, "289": 161, "290": 162, "291": 163, "292": 164, "293": 164, "294": 164, "295": 164, "296": 164, "297": 164, "298": 164, "304": 298}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
208
cache/.mako.tmp/comments_helper.tmpl.py
vendored
208
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 = 1434009607.028856
|
||||
_modified_time = 1434013207.2572286
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl'
|
||||
_template_uri = 'comments_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -22,8 +22,8 @@ def _mako_generate_namespaces(context):
|
|||
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
|
||||
|
|
@ -34,12 +34,12 @@ def _mako_generate_namespaces(context):
|
|||
ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'intensedebate')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'googleplus')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'livefyre')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'muut')] = ns
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -61,109 +61,17 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
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(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -199,8 +107,100 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_form(url, title, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_form(url, title, identifier)))
|
||||
__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:
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link(link, identifier)))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 8, "25": 6, "28": 3, "31": 9, "34": 5, "37": 7, "40": 4, "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": 29, "76": 29, "77": 30, "78": 31, "79": 31, "80": 31, "81": 32, "82": 33, "83": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 36, "90": 37, "91": 37, "92": 37, "93": 38, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 42, "102": 43, "103": 43, "104": 43, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 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}}
|
||||
{"uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 8, "25": 7, "28": 3, "31": 9, "34": 5, "37": 4, "40": 6, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
26
cache/.mako.tmp/comments_helper_disqus.tmpl.py
vendored
26
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 = 1434009607.053412
|
||||
_modified_time = 1434013207.281662
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl'
|
||||
_template_uri = 'comments_helper_disqus.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
import json
|
||||
|
|
@ -29,18 +29,16 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
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(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#disqus_thread" data-disqus-identifier="')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('">Comments</a>\n')
|
||||
__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()
|
||||
|
|
@ -78,16 +76,18 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
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(' <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')
|
||||
__M_writer(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#disqus_thread" data-disqus-identifier="')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('">Comments</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -95,6 +95,6 @@ def render_comment_link_script(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 33, "37": 33, "38": 34, "39": 35, "40": 35, "41": 35, "42": 35, "43": 35, "49": 5, "55": 5, "56": 6, "57": 7, "58": 9, "59": 9, "60": 10, "61": 11, "62": 11, "63": 11, "64": 13, "65": 13, "66": 13, "67": 14, "68": 14, "69": 16, "70": 17, "71": 18, "72": 19, "73": 19, "74": 19, "75": 21, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}}
|
||||
{"uri": "comments_helper_disqus.tmpl", "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": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 5, "53": 5, "54": 6, "55": 7, "56": 9, "57": 9, "58": 10, "59": 11, "60": 11, "61": 11, "62": 13, "63": 13, "64": 13, "65": 14, "66": 14, "67": 16, "68": 17, "69": 18, "70": 19, "71": 19, "72": 19, "73": 21, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
24
cache/.mako.tmp/comments_helper_facebook.tmpl.py
vendored
24
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 = 1434009607.0904934
|
||||
_modified_time = 1434013207.3186114
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl'
|
||||
_template_uri = 'comments_helper_facebook.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,13 +25,14 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
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<span class="fb-comments-count" data-url="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('">\n')
|
||||
__M_writer('\n<div id="fb-root"></div>\n<script>\n // thank lxml for this\n $(\'.fb-comments-count\').each(function(i, obj) {\n var url = obj.attributes[\'data-url\'].value;\n // change here if you dislike the default way of displaying\n // this\n obj.innerHTML = \'<fb:comments-count href="\' + url + \'"></fb:comments-count> comments\';\n });\n\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -52,14 +53,13 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
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<div id="fb-root"></div>\n<script>\n // thank lxml for this\n $(\'.fb-comments-count\').each(function(i, obj) {\n var url = obj.attributes[\'data-url\'].value;\n // change here if you dislike the default way of displaying\n // this\n obj.innerHTML = \'<fb:comments-count href="\' + url + \'"></fb:comments-count> comments\';\n });\n\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n')
|
||||
__M_writer('\n<span class="fb-comments-count" data-url="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -67,6 +67,6 @@ def render_comment_link_script(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "line_map": {"32": 28, "33": 29, "34": 29, "68": 62, "40": 2, "60": 32, "45": 2, "46": 8, "15": 0, "48": 25, "49": 25, "20": 26, "21": 30, "22": 62, "55": 32, "47": 8, "28": 28, "61": 46, "62": 46}}
|
||||
{"uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 2, "60": 28, "46": 2, "47": 8, "48": 8, "49": 25, "50": 25, "20": 26, "21": 30, "22": 62, "56": 28, "15": 0, "28": 32, "61": 29, "62": 29}, "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 = 1434009607.0846345
|
||||
_modified_time = 1434013207.3127768
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl'
|
||||
_template_uri = 'comments_helper_googleplus.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,13 +25,11 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div class="g-commentcount" data-href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('"></div>\n<script src="https://apis.google.com/js/plusone.js"></script>\n')
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -49,11 +47,13 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n<div class="g-commentcount" data-href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('"></div>\n<script src="https://apis.google.com/js/plusone.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -61,6 +61,6 @@ def render_comment_link_script(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "line_map": {"32": 11, "33": 12, "34": 12, "40": 2, "44": 2, "45": 5, "46": 5, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 11, "62": 56}}
|
||||
{"uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "line_map": {"32": 16, "54": 11, "38": 2, "42": 2, "43": 5, "44": 5, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 16, "62": 56}, "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 = 1434009607.0712824
|
||||
_modified_time = 1434013207.2993903
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl'
|
||||
_template_uri = 'comments_helper_intensedebate.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,33 @@ def render_body(context,**pageargs):
|
|||
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_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer("\n<script>\nvar idcomments_acct = '")
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\';\nvar idcomments_post_id = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\nvar idcomments_post_url = "')
|
||||
__M_writer(str(url))
|
||||
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -46,35 +73,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer("\n<script>\nvar idcomments_acct = '")
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\';\nvar idcomments_post_id = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\nvar idcomments_post_url = "')
|
||||
__M_writer(str(url))
|
||||
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
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", "uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "line_map": {"66": 24, "70": 24, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 13, "33": 13, "34": 14, "35": 14, "36": 14, "37": 14, "38": 16, "39": 16, "40": 17, "41": 17, "42": 18, "43": 18, "49": 2, "54": 2, "55": 4, "56": 4, "57": 5, "58": 5, "59": 6, "60": 6}}
|
||||
{"uri": "comments_helper_intensedebate.tmpl", "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": 24, "32": 24, "38": 2, "43": 2, "44": 4, "45": 4, "46": 5, "47": 5, "48": 6, "49": 6, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
26
cache/.mako.tmp/comments_helper_isso.tmpl.py
vendored
26
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 = 1434009607.0984032
|
||||
_modified_time = 1434013207.326455
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl'
|
||||
_template_uri = 'comments_helper_isso.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,16 +25,18 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
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(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#isso-thread">Comments</a>\n')
|
||||
__M_writer(' <script src="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('js/count.min.js" data-isso="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -59,18 +61,16 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
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(' <script src="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('js/count.min.js" data-isso="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('"></script>\n')
|
||||
__M_writer(' <a href="')
|
||||
__M_writer(str(link))
|
||||
__M_writer('#isso-thread">Comments</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -78,6 +78,6 @@ def render_comment_link_script(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "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": 9, "33": 9, "34": 10, "35": 11, "36": 11, "37": 11, "43": 2, "48": 2, "49": 3, "50": 4, "51": 4, "52": 4, "53": 5, "54": 5, "55": 5, "56": 5, "62": 16}}
|
||||
{"uri": "comments_helper_isso.tmpl", "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": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 2, "50": 2, "51": 3, "52": 4, "53": 4, "54": 4, "55": 5, "56": 5, "57": 5, "58": 5}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
56
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
56
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 = 1434009607.0635705
|
||||
_modified_time = 1434013207.2917447
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl'
|
||||
_template_uri = 'comments_helper_livefyre.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,31 @@ def render_body(context,**pageargs):
|
|||
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_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -42,33 +67,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
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", "uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "line_map": {"64": 31, "33": 23, "34": 24, "35": 24, "36": 25, "37": 25, "38": 25, "39": 25, "60": 31, "70": 64, "45": 2, "15": 0, "50": 2, "51": 7, "20": 21, "21": 28, "22": 33, "52": 7, "54": 11, "28": 23, "53": 11}}
|
||||
{"uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "line_map": {"32": 31, "64": 25, "59": 24, "70": 64, "38": 2, "63": 25, "60": 24, "43": 2, "44": 7, "45": 7, "46": 11, "15": 0, "20": 21, "21": 28, "22": 33, "58": 23, "47": 11, "28": 31, "61": 25, "62": 25, "53": 23}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
14
cache/.mako.tmp/comments_helper_muut.tmpl.py
vendored
14
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 = 1434009607.0789225
|
||||
_modified_time = 1434013207.3069615
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl'
|
||||
_template_uri = 'comments_helper_muut.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_link', 'comment_form', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -26,11 +26,11 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -53,11 +53,11 @@ def render_comment_form(context,url,title,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
def render_comment_link(context,link,identifier):
|
||||
__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')
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -65,6 +65,6 @@ def render_comment_link_script(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "line_map": {"33": 7, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "47": 4, "60": 11, "29": 7}}
|
||||
{"uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "line_map": {"33": 11, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "47": 4, "60": 7, "29": 11}, "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 = 1434009607.2258084
|
||||
_modified_time = 1434013207.453191
|
||||
_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", "uri": "crumbs.tmpl", "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", "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
|
||||
"""
|
||||
|
|
|
|||
62
cache/.mako.tmp/index.tmpl.py
vendored
62
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 = 1434009606.9929414
|
||||
_modified_time = 1434013207.2215211
|
||||
_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', 'extra_head', 'content_header']
|
||||
_exports = ['content', 'content_header', 'extra_head']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -32,21 +32,21 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def content_header():
|
||||
return render_content_header(context._locals(__M_locals))
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
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')
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
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,15 +130,26 @@ 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:
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -152,19 +163,8 @@ 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", "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "line_map": {"133": 6, "143": 6, "144": 7, "145": 7, "146": 8, "147": 9, "148": 9, "149": 9, "22": 3, "25": 2, "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}}
|
||||
{"uri": "index.tmpl", "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}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
6
cache/.mako.tmp/index_helper.tmpl.py
vendored
6
cache/.mako.tmp/index_helper.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434009607.0116055
|
||||
_modified_time = 1434013207.2400765
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl'
|
||||
_template_uri = 'index_helper.tmpl'
|
||||
|
|
@ -40,9 +40,9 @@ def render_mathjax_script(context,posts):
|
|||
def render_html_pager(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if prevlink or nextlink:
|
||||
|
|
@ -67,6 +67,6 @@ def render_html_pager(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "index_helper.tmpl", "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": 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}}
|
||||
{"uri": "index_helper.tmpl", "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": 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 = 1434009607.2477396
|
||||
_modified_time = 1434013207.473703
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
|
||||
_template_uri = 'list.tmpl'
|
||||
|
|
@ -27,11 +27,11 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -47,11 +47,11 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
@ -77,6 +77,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "list.tmpl", "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", "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
|
||||
"""
|
||||
|
|
|
|||
12
cache/.mako.tmp/list_post.tmpl.py
vendored
12
cache/.mako.tmp/list_post.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434009607.2637153
|
||||
_modified_time = 1434013207.488205
|
||||
_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)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
@ -85,6 +85,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "list_post.tmpl", "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", "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
|
||||
"""
|
||||
|
|
|
|||
72
cache/.mako.tmp/listing.tmpl.py
vendored
72
cache/.mako.tmp/listing.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434009607.2142923
|
||||
_modified_time = 1434013207.441729
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
|
||||
_template_uri = 'listing.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'sourcelink']
|
||||
_exports = ['sourcelink', 'content']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -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'])
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
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))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n\n')
|
||||
|
|
@ -60,18 +60,40 @@ def render_body(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, 'ui')._populate(_import_ns, ['bar'])
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if source_link:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(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_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
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))
|
||||
def content():
|
||||
return render_content(context)
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer(str(ui.bar(crumbs)))
|
||||
|
|
@ -100,30 +122,8 @@ 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, 'ui')._populate(_import_ns, ['bar'])
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if source_link:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(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", "uri": "listing.tmpl", "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", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
46
cache/.mako.tmp/post.tmpl.py
vendored
46
cache/.mako.tmp/post.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434009607.2917194
|
||||
_modified_time = 1434013207.5158496
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/post.tmpl'
|
||||
_template_uri = 'post.tmpl'
|
||||
|
|
@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
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
|
||||
|
||||
def _mako_inherit(template, context):
|
||||
_mako_generate_namespaces(context)
|
||||
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
|
||||
|
|
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -77,11 +77,11 @@ def render_body(context,**pageargs):
|
|||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
|
|
@ -98,14 +98,14 @@ def render_sourcelink(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def content():
|
||||
return render_content(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="post-')
|
||||
__M_writer(str(post.meta('type')))
|
||||
|
|
@ -137,11 +137,11 @@ def render_content(context,**pageargs):
|
|||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -183,6 +183,6 @@ def render_extra_head(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl", "line_map": {"128": 45, "129": 45, "130": 47, "131": 47, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 4, "151": 10, "152": 10, "25": 2, "154": 13, "155": 13, "28": 3, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "153": 12, "66": 48, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 27, "169": 20, "110": 27, "111": 28, "112": 28, "113": 29, "114": 29, "115": 31, "116": 31, "117": 35, "118": 35, "119": 36, "120": 36, "121": 39, "122": 40, "123": 41, "124": 41, "125": 42, "126": 42, "127": 45}}
|
||||
{"uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl", "line_map": {"128": 45, "129": 45, "130": 47, "131": 47, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 3, "151": 10, "152": 10, "25": 4, "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, "153": 12, "66": 48, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 27, "169": 20, "110": 27, "111": 28, "112": 28, "113": 29, "114": 29, "115": 31, "116": 31, "117": 35, "118": 35, "119": 36, "120": 36, "121": 39, "122": 40, "123": 41, "124": 41, "125": 42, "126": 42, "127": 45}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
22
cache/.mako.tmp/post_header.tmpl.py
vendored
22
cache/.mako.tmp/post_header.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434009607.358669
|
||||
_modified_time = 1434013207.5793424
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
|
||||
_template_uri = 'post_header.tmpl'
|
||||
|
|
@ -44,8 +44,8 @@ def render_body(context,**pageargs):
|
|||
def render_html_title(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
post = context.get('post', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
|
|
@ -62,17 +62,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')
|
||||
def html_translations(post):
|
||||
return render_html_translations(context,post)
|
||||
def html_title():
|
||||
return render_html_title(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def html_translations(post):
|
||||
return render_html_translations(context,post)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def html_sourcelink():
|
||||
return render_html_sourcelink(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <header>\n ')
|
||||
__M_writer(str(html_title()))
|
||||
|
|
@ -115,10 +115,10 @@ def render_html_post_header(context):
|
|||
def render_html_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
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)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(post.translated_to) > 1:
|
||||
|
|
@ -144,8 +144,8 @@ def render_html_sourcelink(context):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
|
|
@ -161,6 +161,6 @@ def render_html_sourcelink(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "162": 156, "143": 24, "22": 3, "151": 25, "152": 26, "25": 2, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}}
|
||||
{"uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 15, "129": 16, "130": 17, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 20, "162": 156, "143": 24, "22": 3, "151": 25, "152": 26, "25": 2, "154": 26, "155": 26, "28": 0, "150": 24, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 26, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 11, "153": 26, "123": 11, "124": 12, "125": 13, "126": 14, "127": 14}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
166
cache/.mako.tmp/post_helper.tmpl.py
vendored
166
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 = 1434009607.325583
|
||||
_modified_time = 1434013207.5472324
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
|
||||
_template_uri = 'post_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['mathjax_script', 'meta_translations', 'html_tags', 'html_pager', 'open_graph_metadata', 'twitter_card_information']
|
||||
_exports = ['mathjax_script', 'twitter_card_information', 'open_graph_metadata', 'meta_translations', 'html_tags', 'html_pager']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -41,12 +41,90 @@ def render_mathjax_script(context,post):
|
|||
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:
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
lang = context.get('lang', 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:
|
||||
__M_writer(' <meta property="og:site_name" content="')
|
||||
__M_writer(striphtml(str(blog_title)))
|
||||
__M_writer('">\n <meta property="og:title" content="')
|
||||
__M_writer(filters.html_escape(str(post.title()[:70])))
|
||||
__M_writer('">\n <meta property="og:url" content="')
|
||||
__M_writer(str(abs_link(permalink)))
|
||||
__M_writer('">\n')
|
||||
if post.description():
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.description()[:200])))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
|
||||
__M_writer('">\n')
|
||||
if post.previewimage:
|
||||
__M_writer(' <meta property="og:image" content="')
|
||||
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
|
||||
__M_writer('">\n')
|
||||
__M_writer(' <meta property="og:type" content="article">\n')
|
||||
if post.date.isoformat():
|
||||
__M_writer(' <meta property="article:published_time" content="')
|
||||
__M_writer(str(post.date.isoformat()))
|
||||
__M_writer('">\n')
|
||||
if post.tags:
|
||||
for tag in post.tags:
|
||||
__M_writer(' <meta property="article:tag" content="')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_meta_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
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(translations) > 1:
|
||||
|
|
@ -65,8 +143,8 @@ def render_meta_translations(context,post):
|
|||
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)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if post.tags:
|
||||
|
|
@ -114,86 +192,8 @@ def render_html_pager(context,post):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_open_graph_metadata(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_open_graph:
|
||||
__M_writer(' <meta property="og:site_name" content="')
|
||||
__M_writer(striphtml(str(blog_title)))
|
||||
__M_writer('">\n <meta property="og:title" content="')
|
||||
__M_writer(filters.html_escape(str(post.title()[:70])))
|
||||
__M_writer('">\n <meta property="og:url" content="')
|
||||
__M_writer(str(abs_link(permalink)))
|
||||
__M_writer('">\n')
|
||||
if post.description():
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.description()[:200])))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
|
||||
__M_writer('">\n')
|
||||
if post.previewimage:
|
||||
__M_writer(' <meta property="og:image" content="')
|
||||
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
|
||||
__M_writer('">\n')
|
||||
__M_writer(' <meta property="og:type" content="article">\n')
|
||||
if post.date.isoformat():
|
||||
__M_writer(' <meta property="article:published_time" content="')
|
||||
__M_writer(str(post.date.isoformat()))
|
||||
__M_writer('">\n')
|
||||
if post.tags:
|
||||
for tag in post.tags:
|
||||
__M_writer(' <meta property="article:tag" content="')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_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", "uri": "post_helper.tmpl", "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": 87, "36": 87, "37": 88, "38": 89, "44": 3, "51": 3, "52": 4, "53": 5, "54": 6, "55": 7, "56": 7, "57": 7, "58": 7, "59": 7, "65": 13, "71": 13, "72": 14, "73": 15, "74": 16, "75": 17, "76": 18, "77": 18, "78": 18, "79": 18, "80": 18, "81": 21, "87": 25, "92": 25, "93": 26, "94": 27, "95": 28, "96": 29, "97": 30, "98": 30, "99": 30, "100": 30, "101": 30, "102": 30, "103": 33, "104": 34, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 38, "117": 42, "128": 42, "129": 43, "130": 44, "131": 44, "132": 44, "133": 45, "134": 45, "135": 46, "136": 46, "137": 47, "138": 48, "139": 48, "140": 48, "141": 49, "142": 50, "143": 50, "144": 50, "145": 52, "146": 53, "147": 53, "148": 53, "149": 55, "150": 60, "151": 61, "152": 61, "153": 61, "154": 63, "155": 64, "156": 65, "157": 65, "158": 65, "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", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 87, "36": 87, "37": 88, "38": 89, "44": 71, "49": 71, "50": 72, "51": 73, "52": 73, "53": 73, "54": 74, "55": 75, "56": 75, "57": 75, "58": 76, "59": 77, "60": 77, "61": 77, "62": 79, "63": 80, "64": 80, "65": 80, "66": 81, "67": 82, "68": 82, "69": 82, "75": 42, "86": 42, "87": 43, "88": 44, "89": 44, "90": 44, "91": 45, "92": 45, "93": 46, "94": 46, "95": 47, "96": 48, "97": 48, "98": 48, "99": 49, "100": 50, "101": 50, "102": 50, "103": 52, "104": 53, "105": 53, "106": 53, "107": 55, "108": 60, "109": 61, "110": 61, "111": 61, "112": 63, "113": 64, "114": 65, "115": 65, "116": 65, "122": 3, "129": 3, "130": 4, "131": 5, "132": 6, "133": 7, "134": 7, "135": 7, "136": 7, "137": 7, "143": 13, "149": 13, "150": 14, "151": 15, "152": 16, "153": 17, "154": 18, "155": 18, "156": 18, "157": 18, "158": 18, "159": 21, "165": 25, "170": 25, "171": 26, "172": 27, "173": 28, "174": 29, "175": 30, "176": 30, "177": 30, "178": 30, "179": 30, "180": 30, "181": 33, "182": 34, "183": 35, "184": 35, "185": 35, "186": 35, "187": 35, "188": 35, "189": 38, "195": 189}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
26
cache/.mako.tmp/story.tmpl.py
vendored
26
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 = 1434009607.38229
|
||||
_modified_time = 1434013207.602594
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
|
||||
_template_uri = 'story.tmpl'
|
||||
|
|
@ -19,15 +19,15 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
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
|
||||
|
||||
def _mako_inherit(template, context):
|
||||
_mako_generate_namespaces(context)
|
||||
return runtime._inherit_from(context, 'post.tmpl', _template_uri)
|
||||
|
|
@ -35,15 +35,15 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
post = context.get('post', UNDEFINED)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', 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:
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
post = context.get('post', UNDEFINED)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', 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", "uri": "story.tmpl", "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": 2, "90": 22, "28": 3, "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", "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": 3, "87": 19, "88": 22, "25": 4, "90": 22, "28": 2, "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
|
||||
"""
|
||||
|
|
|
|||
56
cache/.mako.tmp/tag.tmpl.py
vendored
56
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 = 1434009607.4362547
|
||||
_modified_time = 1434013207.6560807
|
||||
_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)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
kind = context.get('kind', 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:
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
len = context.get('len', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
kind = context.get('kind', 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:
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
kind = context.get('kind', 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", "uri": "tag.tmpl", "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", "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
|
||||
"""
|
||||
|
|
|
|||
8
cache/.mako.tmp/tags.tmpl.py
vendored
8
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 = 1434009607.4167364
|
||||
_modified_time = 1434013207.636725
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
|
||||
_template_uri = 'tags.tmpl'
|
||||
|
|
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
@ -90,6 +90,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"source_encoding": "utf-8", "uri": "tags.tmpl", "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", "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-11T08:00:10.397259
|
||||
2015-06-11T09:00:10.476754
|
||||
Loading…
Add table
Add a link
Reference in a new issue