Automatic commit via /home/don/bin/deployweb Wed Jun 10 09:00:11 UTC 2015
This commit is contained in:
parent
95197a2109
commit
8517c47a6b
50 changed files with 627 additions and 627 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 = 1433923207.3259985
|
||||
_modified_time = 1433926807.7197862
|
||||
_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
|
||||
{"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}, "source_encoding": "ascii", "uri": "annotation_helper.tmpl"}
|
||||
{"source_encoding": "ascii", "line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "uri": "annotation_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
130
cache/.mako.tmp/base.tmpl.py
vendored
130
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 = 1433923207.2521713
|
||||
_modified_time = 1433926807.64681
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
|
||||
_template_uri = 'base.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['belowtitle', 'sourcelink', 'extra_js', 'extra_head', 'content']
|
||||
_exports = ['content', 'extra_head', 'belowtitle', 'extra_js', 'sourcelink']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,50 +19,50 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'notes')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'base')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'notes')] = ns
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
def extra_js():
|
||||
return render_extra_js(context._locals(__M_locals))
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
post = _import_ns.get('post', context.get('post', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -158,17 +158,46 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def content():
|
||||
return render_content(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:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_belowtitle(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def belowtitle():
|
||||
return render_belowtitle(context)
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
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:
|
||||
|
|
@ -181,26 +210,12 @@ def render_belowtitle(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, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_js(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def extra_js():
|
||||
return render_extra_js(context)
|
||||
__M_writer = context.writer()
|
||||
|
|
@ -209,29 +224,14 @@ def render_extra_js(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
def render_sourcelink(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 extra_head():
|
||||
return render_extra_head(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\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, 'notes')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
def content():
|
||||
return render_content(context)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
|
|
@ -240,6 +240,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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": 45, "198": 85, "227": 66, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 51, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 6, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "221": 6, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "source_encoding": "utf-8", "uri": "base.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "213": 85, "190": 45, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 66, "207": 49, "227": 51, "175": 6, "206": 47, "184": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "202": 45, "203": 46, "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, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
126
cache/.mako.tmp/base_helper.tmpl.py
vendored
126
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 = 1433923207.2930353
|
||||
_modified_time = 1433926807.6871355
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
|
||||
_template_uri = 'base_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['html_feedlinks', 'html_headstart', 'html_navigation_links', 'html_translations', 'html_stylesheets', 'late_load_js']
|
||||
_exports = ['html_feedlinks', 'html_stylesheets', 'html_headstart', 'html_navigation_links', 'html_translations', 'late_load_js']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -32,11 +32,11 @@ def render_body(context,**pageargs):
|
|||
def render_html_feedlinks(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if rss_link:
|
||||
|
|
@ -60,32 +60,69 @@ def render_html_feedlinks(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_stylesheets(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
|
||||
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
|
||||
if has_custom_css:
|
||||
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
|
||||
if annotations and post and not post.meta('noannotations'):
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer('\n')
|
||||
elif not annotations and post and post.meta('annotations'):
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_headstart(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
def html_feedlinks():
|
||||
return render_html_feedlinks(context)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
def html_stylesheets():
|
||||
return render_html_stylesheets(context)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
def html_feedlinks():
|
||||
return render_html_feedlinks(context)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', 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'):
|
||||
|
|
@ -167,8 +204,8 @@ def render_html_navigation_links(context):
|
|||
permalink = context.get('permalink', UNDEFINED)
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
rel_link = context.get('rel_link', UNDEFINED)
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
rel_link = context.get('rel_link', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
for url, text in navigation_links[lang]:
|
||||
|
|
@ -231,51 +268,14 @@ def render_html_translations(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_stylesheets(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
|
||||
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
|
||||
if has_custom_css:
|
||||
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
|
||||
if annotations and post and not post.meta('noannotations'):
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer('\n')
|
||||
elif not annotations and post and post.meta('annotations'):
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_late_load_js(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
|
|
@ -303,6 +303,6 @@ def render_late_load_js(context):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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": 147, "41": 147, "42": 148, "43": 149, "44": 149, "45": 149, "46": 150, "47": 151, "48": 152, "49": 153, "50": 153, "51": 153, "52": 153, "53": 153, "54": 155, "55": 156, "56": 156, "57": 156, "63": 3, "90": 3, "91": 7, "92": 8, "93": 9, "94": 10, "95": 12, "96": 13, "97": 15, "98": 16, "99": 18, "100": 21, "101": 22, "102": 25, "103": 25, "104": 25, "105": 28, "106": 29, "107": 29, "108": 29, "109": 31, "110": 32, "111": 32, "112": 32, "113": 32, "114": 34, "115": 34, "116": 35, "117": 35, "118": 36, "119": 37, "120": 37, "121": 37, "122": 39, "123": 40, "124": 41, "125": 42, "126": 42, "127": 42, "128": 42, "129": 42, "130": 42, "131": 42, "132": 45, "133": 46, "134": 47, "135": 47, "136": 47, "137": 49, "138": 50, "139": 51, "140": 51, "141": 51, "142": 53, "143": 54, "144": 54, "145": 54, "146": 56, "147": 57, "148": 57, "149": 58, "150": 59, "151": 60, "152": 61, "153": 61, "154": 61, "155": 63, "156": 64, "157": 64, "163": 124, "173": 124, "174": 125, "175": 126, "176": 127, "177": 127, "178": 127, "179": 129, "180": 130, "181": 131, "182": 131, "183": 131, "184": 131, "185": 131, "186": 132, "187": 133, "188": 133, "189": 133, "190": 133, "191": 133, "192": 136, "193": 137, "194": 138, "195": 139, "196": 139, "197": 139, "198": 139, "199": 139, "200": 140, "201": 141, "202": 141, "203": 141, "204": 141, "205": 141, "211": 161, "219": 161, "220": 162, "221": 163, "222": 164, "223": 164, "224": 164, "225": 164, "226": 164, "227": 164, "228": 164, "234": 95, "244": 95, "245": 96, "246": 97, "247": 98, "248": 100, "249": 101, "250": 103, "251": 104, "252": 105, "253": 106, "254": 107, "255": 109, "256": 113, "257": 114, "258": 117, "259": 118, "260": 118, "261": 118, "262": 119, "263": 120, "264": 120, "265": 120, "271": 67, "280": 67, "281": 68, "282": 69, "283": 70, "284": 73, "285": 74, "286": 76, "287": 77, "288": 78, "289": 80, "290": 81, "291": 86, "292": 88, "293": 89, "294": 89, "295": 89, "296": 91, "297": 91, "298": 91, "304": 298}, "source_encoding": "utf-8", "uri": "base_helper.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 147, "41": 147, "42": 148, "43": 149, "44": 149, "45": 149, "46": 150, "47": 151, "48": 152, "49": 153, "50": 153, "51": 153, "52": 153, "53": 153, "54": 155, "55": 156, "56": 156, "57": 156, "63": 95, "73": 95, "74": 96, "75": 97, "76": 98, "77": 100, "78": 101, "79": 103, "80": 104, "81": 105, "82": 106, "83": 107, "84": 109, "85": 113, "86": 114, "87": 117, "88": 118, "89": 118, "90": 118, "91": 119, "92": 120, "93": 120, "94": 120, "100": 3, "127": 3, "128": 7, "129": 8, "130": 9, "131": 10, "132": 12, "133": 13, "134": 15, "135": 16, "136": 18, "137": 21, "138": 22, "139": 25, "140": 25, "141": 25, "142": 28, "143": 29, "144": 29, "145": 29, "146": 31, "147": 32, "148": 32, "149": 32, "150": 32, "151": 34, "152": 34, "153": 35, "154": 35, "155": 36, "156": 37, "157": 37, "158": 37, "159": 39, "160": 40, "161": 41, "162": 42, "163": 42, "164": 42, "165": 42, "166": 42, "167": 42, "168": 42, "169": 45, "170": 46, "171": 47, "172": 47, "173": 47, "174": 49, "175": 50, "176": 51, "177": 51, "178": 51, "179": 53, "180": 54, "181": 54, "182": 54, "183": 56, "184": 57, "185": 57, "186": 58, "187": 59, "188": 60, "189": 61, "190": 61, "191": 61, "192": 63, "193": 64, "194": 64, "200": 124, "210": 124, "211": 125, "212": 126, "213": 127, "214": 127, "215": 127, "216": 129, "217": 130, "218": 131, "219": 131, "220": 131, "221": 131, "222": 131, "223": 132, "224": 133, "225": 133, "226": 133, "227": 133, "228": 133, "229": 136, "230": 137, "231": 138, "232": 139, "233": 139, "234": 139, "235": 139, "236": 139, "237": 140, "238": 141, "239": 141, "240": 141, "241": 141, "242": 141, "248": 161, "256": 161, "257": 162, "258": 163, "259": 164, "260": 164, "261": 164, "262": 164, "263": 164, "264": 164, "265": 164, "271": 67, "280": 67, "281": 68, "282": 69, "283": 70, "284": 73, "285": 74, "286": 76, "287": 77, "288": 78, "289": 80, "290": 81, "291": 86, "292": 88, "293": 89, "294": 89, "295": 89, "296": 91, "297": 91, "298": 91, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "base_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
132
cache/.mako.tmp/comments_helper.tmpl.py
vendored
132
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 = 1433923207.1662083
|
||||
_modified_time = 1433926807.5617585
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,9 +19,18 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'facebook')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'disqus')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'googleplus')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'intensedebate')] = ns
|
||||
|
||||
|
|
@ -31,15 +40,6 @@ def _mako_generate_namespaces(context):
|
|||
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'muut')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'disqus')] = 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
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -61,17 +61,63 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
__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:
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -110,14 +156,14 @@ def render_comment_link(context,link,identifier):
|
|||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -153,54 +199,8 @@ 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:
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
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()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 8, "25": 5, "28": 9, "31": 6, "34": 3, "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": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "source_encoding": "utf-8", "uri": "comments_helper.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"22": 4, "25": 8, "28": 3, "31": 7, "34": 5, "37": 9, "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": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
70
cache/.mako.tmp/comments_helper_disqus.tmpl.py
vendored
70
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 = 1433923207.190897
|
||||
_modified_time = 1433926807.5861604
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
import json
|
||||
|
|
@ -29,6 +29,38 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <div id="disqus_thread"></div>\n <script>\n var disqus_shortname ="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n')
|
||||
if url:
|
||||
__M_writer(' disqus_url="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('",\n')
|
||||
__M_writer(' disqus_title=')
|
||||
__M_writer(str(json.dumps(title)))
|
||||
__M_writer(',\n disqus_identifier="')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('",\n disqus_config = function () {\n')
|
||||
if lang == 'es':
|
||||
__M_writer(' this.language = "es_ES";\n')
|
||||
else:
|
||||
__M_writer(' this.language = "')
|
||||
__M_writer(str(lang))
|
||||
__M_writer('";\n')
|
||||
__M_writer(' };\n (function() {\n var dsq = document.createElement(\'script\'); dsq.async = true;\n dsq.src = \'//\' + disqus_shortname + \'.disqus.com/embed.js\';\n (document.getElementsByTagName(\'head\')[0] || document.getElementsByTagName(\'body\')[0]).appendChild(dsq);\n })();\n </script>\n <noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>\n <a href="//disqus.com" class="dsq-brlink" rel="nofollow">Comments powered by <span class="logo-disqus">Disqus</span></a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -61,40 +93,8 @@ 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:
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <div id="disqus_thread"></div>\n <script>\n var disqus_shortname ="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n')
|
||||
if url:
|
||||
__M_writer(' disqus_url="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('",\n')
|
||||
__M_writer(' disqus_title=')
|
||||
__M_writer(str(json.dumps(title)))
|
||||
__M_writer(',\n disqus_identifier="')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('",\n disqus_config = function () {\n')
|
||||
if lang == 'es':
|
||||
__M_writer(' this.language = "es_ES";\n')
|
||||
else:
|
||||
__M_writer(' this.language = "')
|
||||
__M_writer(str(lang))
|
||||
__M_writer('";\n')
|
||||
__M_writer(' };\n (function() {\n var dsq = document.createElement(\'script\'); dsq.async = true;\n dsq.src = \'//\' + disqus_shortname + \'.disqus.com/embed.js\';\n (document.getElementsByTagName(\'head\')[0] || document.getElementsByTagName(\'body\')[0]).appendChild(dsq);\n })();\n </script>\n <noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>\n <a href="//disqus.com" class="dsq-brlink" rel="nofollow">Comments powered by <span class="logo-disqus">Disqus</span></a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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": 40, "54": 40, "55": 41, "56": 42, "57": 42, "58": 42, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "source_encoding": "utf-8", "uri": "comments_helper_disqus.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 33, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "comments_helper_disqus.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/comments_helper_facebook.tmpl.py
vendored
36
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 = 1433923207.228444
|
||||
_modified_time = 1433926807.6232696
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,21 @@ def render_body(context,**pageargs):
|
|||
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="fb-root"></div>\n<script>\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\n<div class="fb-comments" data-href="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('" data-width="470"></div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -50,23 +65,8 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="fb-root"></div>\n<script>\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\n<div class="fb-comments" data-href="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('" data-width="470"></div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "line_map": {"32": 28, "33": 29, "34": 29, "59": 8, "68": 62, "40": 32, "60": 8, "45": 32, "46": 46, "15": 0, "20": 26, "21": 30, "22": 62, "58": 2, "47": 46, "28": 28, "61": 25, "62": 25, "53": 2}, "source_encoding": "utf-8", "uri": "comments_helper_facebook.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 32, "43": 28, "15": 0, "48": 29, "49": 29, "20": 26, "21": 30, "22": 62, "55": 32, "68": 62, "47": 28, "28": 2, "61": 46, "62": 46}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "comments_helper_facebook.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.2225723
|
||||
_modified_time = 1433926807.6174436
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,18 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="https://apis.google.com/js/plusone.js"></script>\n<div class="g-comments"\n data-href="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('"\n data-first_party_property="BLOGGER"\n data-view_type="FILTERED_POSTMOD">\n</div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -47,20 +59,8 @@ 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:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="https://apis.google.com/js/plusone.js"></script>\n<div class="g-comments"\n data-href="')
|
||||
__M_writer(str(url))
|
||||
__M_writer('"\n data-first_party_property="BLOGGER"\n data-view_type="FILTERED_POSTMOD">\n</div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "line_map": {"32": 11, "33": 12, "34": 12, "54": 2, "40": 16, "44": 16, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 11, "62": 56}, "source_encoding": "utf-8", "uri": "comments_helper_googleplus.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"32": 2, "33": 5, "34": 5, "40": 11, "44": 11, "45": 12, "46": 12, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 2, "62": 56}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "comments_helper_googleplus.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.2090764
|
||||
_modified_time = 1433926807.6041005
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,23 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer("\n<script>\nvar idcomments_acct = '")
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\';\nvar idcomments_post_id = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\nvar idcomments_post_url = "')
|
||||
__M_writer(str(url))
|
||||
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -56,25 +73,8 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer("\n<script>\nvar idcomments_acct = '")
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\';\nvar idcomments_post_id = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\nvar idcomments_post_url = "')
|
||||
__M_writer(str(url))
|
||||
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 13, "33": 13, "34": 14, "35": 14, "36": 14, "37": 14, "38": 16, "39": 16, "40": 17, "41": 17, "42": 18, "43": 18, "49": 24, "53": 24, "59": 2}, "source_encoding": "utf-8", "uri": "comments_helper_intensedebate.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"66": 24, "70": 24, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 13, "50": 13, "51": 14, "52": 14, "53": 14, "54": 14, "55": 16, "56": 16, "57": 17, "58": 17, "59": 18, "60": 18}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "comments_helper_intensedebate.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
44
cache/.mako.tmp/comments_helper_isso.tmpl.py
vendored
44
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 = 1433923207.2365255
|
||||
_modified_time = 1433926807.6312735
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,25 @@ def render_body(context,**pageargs):
|
|||
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')
|
||||
if comment_system_id:
|
||||
__M_writer(' <div data-title="')
|
||||
__M_writer(filters.url_escape(str(title)))
|
||||
__M_writer('" id="isso-thread"></div>\n <script src="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('js/embed.min.js" data-isso="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -57,27 +76,8 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <div data-title="')
|
||||
__M_writer(filters.url_escape(str(title)))
|
||||
__M_writer('" id="isso-thread"></div>\n <script src="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('js/embed.min.js" data-isso="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 9, "33": 9, "34": 10, "35": 11, "36": 11, "37": 11, "43": 16, "48": 16, "49": 17, "50": 18, "51": 18, "52": 18, "53": 18, "54": 18, "60": 2}, "source_encoding": "utf-8", "uri": "comments_helper_isso.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"67": 16, "68": 17, "69": 18, "70": 18, "71": 18, "72": 18, "73": 18, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 9, "52": 9, "53": 10, "54": 11, "55": 11, "56": 11, "62": 16}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "comments_helper_isso.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
36
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.201117
|
||||
_modified_time = 1433926807.5964284
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,21 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -52,23 +67,8 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "line_map": {"64": 11, "33": 23, "34": 24, "35": 24, "36": 25, "37": 25, "38": 25, "39": 25, "60": 2, "70": 64, "45": 31, "15": 0, "49": 31, "20": 21, "21": 28, "22": 33, "55": 2, "28": 23, "61": 7, "62": 7, "63": 11}, "source_encoding": "utf-8", "uri": "comments_helper_livefyre.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"64": 31, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 31, "43": 23, "15": 0, "48": 23, "49": 24, "50": 24, "51": 25, "20": 21, "21": 28, "22": 33, "52": 25, "54": 25, "28": 2, "53": 25}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "comments_helper_livefyre.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
40
cache/.mako.tmp/comments_helper_muut.tmpl.py
vendored
40
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 = 1433923207.2167804
|
||||
_modified_time = 1433926807.6117501
|
||||
_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_link_script', 'comment_form']
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -26,6 +26,23 @@ def render_body(context,**pageargs):
|
|||
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 <a class="muut" href="https://muut.com/i/')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('/')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('">')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer(' forums</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -46,25 +63,8 @@ def render_comment_link_script(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <a class="muut" href="https://muut.com/i/')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('/')
|
||||
__M_writer(str(identifier))
|
||||
__M_writer('">')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer(' forums</a>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "line_map": {"33": 7, "66": 60, "54": 3, "39": 11, "57": 4, "43": 11, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 7}, "source_encoding": "utf-8", "uri": "comments_helper_muut.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 7, "15": 0, "50": 7, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "60": 11, "29": 3}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
4
cache/.mako.tmp/crumbs.tmpl.py
vendored
4
cache/.mako.tmp/crumbs.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.3642802
|
||||
_modified_time = 1433926807.7577434
|
||||
_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
|
||||
{"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", "uri": "crumbs.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "uri": "crumbs.tmpl"}
|
||||
__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 = 1433923207.1299987
|
||||
_modified_time = 1433926807.5259078
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl'
|
||||
_template_uri = 'index.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'content_header', 'extra_head']
|
||||
_exports = ['content', 'extra_head', 'content_header']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -32,20 +32,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')
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def content_header():
|
||||
return render_content_header(context._locals(__M_locals))
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content_header():
|
||||
return render_content_header(context._locals(__M_locals))
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__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)
|
||||
def content():
|
||||
return render_content(context)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
|
||||
|
|
@ -130,26 +130,15 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content_header(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -163,8 +152,19 @@ def render_extra_head(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content_header(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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", "uri": "index.tmpl"}
|
||||
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
34
cache/.mako.tmp/index_helper.tmpl.py
vendored
34
cache/.mako.tmp/index_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.1487615
|
||||
_modified_time = 1433926807.5445626
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl'
|
||||
_template_uri = 'index_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['mathjax_script', 'html_pager']
|
||||
_exports = ['html_pager', 'mathjax_script']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -24,25 +24,12 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_mathjax_script(context,posts):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
any = context.get('any', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if any(post.is_mathjax for post in posts):
|
||||
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_pager(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if prevlink or nextlink:
|
||||
|
|
@ -65,8 +52,21 @@ def render_html_pager(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_mathjax_script(context,posts):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
any = context.get('any', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if any(post.is_mathjax for post in posts):
|
||||
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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", "uri": "index_helper.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 2, "34": 2, "35": 3, "36": 4, "37": 6, "38": 7, "39": 8, "40": 8, "41": 8, "42": 8, "43": 11, "44": 12, "45": 13, "46": 13, "47": 13, "48": 13, "49": 16, "55": 21, "60": 21, "61": 22, "62": 23}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "uri": "index_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
8
cache/.mako.tmp/list.tmpl.py
vendored
8
cache/.mako.tmp/list.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.384997
|
||||
_modified_time = 1433926807.7784023
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
|
||||
_template_uri = 'list.tmpl'
|
||||
|
|
@ -29,9 +29,9 @@ def render_body(context,**pageargs):
|
|||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -49,9 +49,9 @@ def render_content(context,**pageargs):
|
|||
try:
|
||||
def content():
|
||||
return render_content(context)
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
@ -77,6 +77,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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", "uri": "list.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "uri": "list.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
12
cache/.mako.tmp/list_post.tmpl.py
vendored
12
cache/.mako.tmp/list_post.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.3995996
|
||||
_modified_time = 1433926807.792956
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
|
||||
_template_uri = 'list_post.tmpl'
|
||||
|
|
@ -29,10 +29,10 @@ def render_body(context,**pageargs):
|
|||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -50,10 +50,10 @@ def render_content(context,**pageargs):
|
|||
try:
|
||||
def content():
|
||||
return render_content(context)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
posts = context.get('posts', 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
|
||||
{"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", "uri": "list_post.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "uri": "list_post.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
24
cache/.mako.tmp/listing.tmpl.py
vendored
24
cache/.mako.tmp/listing.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.3526986
|
||||
_modified_time = 1433926807.7463086
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
|
||||
_template_uri = 'listing.tmpl'
|
||||
|
|
@ -31,17 +31,17 @@ def render_body(context,**pageargs):
|
|||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
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))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n\n')
|
||||
|
|
@ -65,12 +65,12 @@ def render_content(context,**pageargs):
|
|||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context)
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
|
|
@ -107,8 +107,8 @@ def render_sourcelink(context,**pageargs):
|
|||
_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))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if source_link:
|
||||
|
|
@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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}, "source_encoding": "utf-8", "uri": "listing.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
80
cache/.mako.tmp/post.tmpl.py
vendored
80
cache/.mako.tmp/post.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.4275172
|
||||
_modified_time = 1433926807.820668
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/post.tmpl'
|
||||
_template_uri = 'post.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'sourcelink', 'extra_head']
|
||||
_exports = ['content', 'extra_head', 'sourcelink']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
|
|||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
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 content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -77,14 +77,14 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content():
|
||||
return render_content(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="post-')
|
||||
__M_writer(str(post.meta('type')))
|
||||
|
|
@ -113,35 +113,14 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -181,8 +160,29 @@ def render_extra_head(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
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:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "themes/bootstrap/templates/post.tmpl", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 4, "151": 10, "152": 10, "25": 2, "154": 13, "155": 13, "28": 3, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "source_encoding": "utf-8", "uri": "post.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"128": 9, "129": 10, "130": 10, "131": 10, "132": 12, "133": 13, "134": 13, "135": 13, "136": 15, "137": 15, "138": 15, "139": 16, "140": 17, "141": 17, "142": 17, "143": 17, "144": 17, "145": 19, "146": 20, "147": 20, "148": 20, "149": 20, "22": 4, "151": 22, "152": 22, "25": 3, "154": 23, "155": 23, "28": 2, "157": 24, "150": 20, "34": 0, "163": 50, "156": 24, "172": 50, "173": 51, "174": 52, "175": 53, "176": 53, "177": 53, "178": 53, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 7, "153": 22, "125": 7, "126": 8, "127": 8}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
62
cache/.mako.tmp/post_header.tmpl.py
vendored
62
cache/.mako.tmp/post_header.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.4922485
|
||||
_modified_time = 1433926807.8844006
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
|
||||
_template_uri = 'post_header.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['html_translations', 'html_title', 'html_sourcelink', 'html_post_header']
|
||||
_exports = ['html_translations', 'html_sourcelink', 'html_post_header', 'html_title']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -44,10 +44,10 @@ def render_body(context,**pageargs):
|
|||
def render_html_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(post.translated_to) > 1:
|
||||
|
|
@ -69,30 +69,12 @@ def render_html_translations(context,post):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_title(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
title = context.get('title', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
__M_writer(' <h1 class="p-name entry-title" itemprop="headline name"><a href="')
|
||||
__M_writer(str(post.permalink()))
|
||||
__M_writer('" class="u-url">')
|
||||
__M_writer(filters.html_escape(str(post.title())))
|
||||
__M_writer('</a></h1>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_sourcelink(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
|
|
@ -109,17 +91,17 @@ def render_html_sourcelink(context):
|
|||
def render_html_post_header(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def html_sourcelink():
|
||||
return render_html_sourcelink(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def html_translations(post):
|
||||
return render_html_translations(context,post)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
def html_title():
|
||||
return render_html_title(context)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def html_translations(post):
|
||||
return render_html_translations(context,post)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def html_sourcelink():
|
||||
return render_html_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <header>\n ')
|
||||
__M_writer(str(html_title()))
|
||||
|
|
@ -159,8 +141,26 @@ def render_html_post_header(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_title(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
title = context.get('title', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
__M_writer(' <h1 class="p-name entry-title" itemprop="headline name"><a href="')
|
||||
__M_writer(str(post.permalink()))
|
||||
__M_writer('" class="u-url">')
|
||||
__M_writer(filters.html_escape(str(post.title())))
|
||||
__M_writer('</a></h1>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 3, "151": 44, "152": 44, "25": 2, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 5, "162": 156, "78": 5, "79": 6, "80": 7, "81": 7, "82": 7, "83": 7, "84": 7, "90": 24, "97": 24, "98": 25, "99": 26, "100": 26, "101": 26, "102": 26, "103": 26, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "source_encoding": "utf-8", "uri": "post_header.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"128": 41, "129": 41, "130": 41, "131": 41, "132": 43, "133": 44, "134": 44, "135": 44, "136": 46, "137": 47, "138": 47, "144": 5, "22": 3, "151": 6, "152": 7, "25": 2, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 24, "162": 156, "79": 24, "80": 25, "81": 26, "82": 26, "83": 26, "84": 26, "85": 26, "153": 7, "91": 30, "106": 30, "107": 32, "108": 32, "109": 34, "110": 34, "111": 35, "112": 35, "113": 35, "114": 35, "115": 35, "116": 35, "117": 35, "118": 35, "119": 36, "120": 37, "121": 37, "122": 37, "123": 39, "124": 39, "125": 39, "126": 40, "127": 41}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
156
cache/.mako.tmp/post_helper.tmpl.py
vendored
156
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 = 1433923207.4594893
|
||||
_modified_time = 1433926807.8521724
|
||||
_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 = ['twitter_card_information', 'mathjax_script', 'html_tags', 'html_pager', 'meta_translations', 'open_graph_metadata']
|
||||
_exports = ['html_pager', 'meta_translations', 'mathjax_script', 'html_tags', 'open_graph_metadata', 'twitter_card_information']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,32 +29,52 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_twitter_card_information(context,post):
|
||||
def render_html_pager(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
messages = context.get('messages', 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')
|
||||
if post.prev_post or post.next_post:
|
||||
__M_writer(' <ul class="pager">\n')
|
||||
if post.prev_post:
|
||||
__M_writer(' <li class="previous">\n <a href="')
|
||||
__M_writer(str(post.prev_post.permalink()))
|
||||
__M_writer('" rel="prev" title="')
|
||||
__M_writer(filters.html_escape(str(post.prev_post.title())))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("Previous post")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
if post.next_post:
|
||||
__M_writer(' <li class="next">\n <a href="')
|
||||
__M_writer(str(post.next_post.permalink()))
|
||||
__M_writer('" rel="next" title="')
|
||||
__M_writer(filters.html_escape(str(post.next_post.title())))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("Next post")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
__M_writer(' </ul>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_meta_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <link rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('" href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -94,67 +114,16 @@ def render_html_tags(context,post):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_pager(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if post.prev_post or post.next_post:
|
||||
__M_writer(' <ul class="pager">\n')
|
||||
if post.prev_post:
|
||||
__M_writer(' <li class="previous">\n <a href="')
|
||||
__M_writer(str(post.prev_post.permalink()))
|
||||
__M_writer('" rel="prev" title="')
|
||||
__M_writer(filters.html_escape(str(post.prev_post.title())))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("Previous post")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
if post.next_post:
|
||||
__M_writer(' <li class="next">\n <a href="')
|
||||
__M_writer(str(post.next_post.permalink()))
|
||||
__M_writer('" rel="next" title="')
|
||||
__M_writer(filters.html_escape(str(post.next_post.title())))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("Next post")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
__M_writer(' </ul>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_meta_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <link rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('" href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_open_graph_metadata(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_open_graph:
|
||||
|
|
@ -192,8 +161,39 @@ def render_open_graph_metadata(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()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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": 71, "37": 71, "38": 72, "39": 73, "40": 73, "41": 73, "42": 74, "43": 75, "44": 75, "45": 75, "46": 76, "47": 77, "48": 77, "49": 77, "50": 79, "51": 80, "52": 80, "53": 80, "54": 81, "55": 82, "56": 82, "57": 82, "63": 87, "67": 87, "68": 88, "69": 89, "75": 13, "81": 13, "82": 14, "83": 15, "84": 16, "85": 17, "86": 18, "87": 18, "88": 18, "89": 18, "90": 18, "91": 21, "97": 25, "102": 25, "103": 26, "104": 27, "105": 28, "106": 29, "107": 30, "108": 30, "109": 30, "110": 30, "111": 30, "112": 30, "113": 33, "114": 34, "115": 35, "116": 35, "117": 35, "118": 35, "119": 35, "120": 35, "121": 38, "127": 3, "134": 3, "135": 4, "136": 5, "137": 6, "138": 7, "139": 7, "140": 7, "141": 7, "142": 7, "148": 42, "159": 42, "160": 43, "161": 44, "162": 44, "163": 44, "164": 45, "165": 45, "166": 46, "167": 46, "168": 47, "169": 48, "170": 48, "171": 48, "172": 49, "173": 50, "174": 50, "175": 50, "176": 52, "177": 53, "178": 53, "179": 53, "180": 55, "181": 60, "182": 61, "183": 61, "184": 61, "185": 63, "186": 64, "187": 65, "188": 65, "189": 65, "195": 189}, "source_encoding": "utf-8", "uri": "post_helper.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 3, "69": 3, "70": 4, "71": 5, "72": 6, "73": 7, "74": 7, "75": 7, "76": 7, "77": 7, "83": 87, "87": 87, "88": 88, "89": 89, "95": 13, "101": 13, "102": 14, "103": 15, "104": 16, "105": 17, "106": 18, "107": 18, "108": 18, "109": 18, "110": 18, "111": 21, "117": 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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
34
cache/.mako.tmp/story.tmpl.py
vendored
34
cache/.mako.tmp/story.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.5158494
|
||||
_modified_time = 1433926807.907692
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
|
||||
_template_uri = 'story.tmpl'
|
||||
|
|
@ -22,12 +22,12 @@ def _mako_generate_namespaces(context):
|
|||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
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')
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
post = context.get('post', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -62,15 +62,15 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
post = context.get('post', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="storypage" itemscope="itemscope" itemtype="http://schema.org/Article">\n <header>\n ')
|
||||
__M_writer(str(pheader.html_title()))
|
||||
|
|
@ -95,6 +95,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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}, "source_encoding": "utf-8", "uri": "story.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 4, "87": 19, "88": 22, "25": 3, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "uri": "story.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
46
cache/.mako.tmp/tag.tmpl.py
vendored
46
cache/.mako.tmp/tag.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.5700722
|
||||
_modified_time = 1433926807.961316
|
||||
_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)
|
||||
len = context.get('len', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
len = context.get('len', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
_link = context.get('_link', 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:
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
len = context.get('len', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
_link = context.get('_link', 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)))
|
||||
|
|
@ -141,14 +141,14 @@ def render_extra_head(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
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
|
||||
{"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", "uri": "tag.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
12
cache/.mako.tmp/tags.tmpl.py
vendored
12
cache/.mako.tmp/tags.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433923207.5503163
|
||||
_modified_time = 1433926807.941789
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
|
||||
_template_uri = 'tags.tmpl'
|
||||
|
|
@ -29,10 +29,10 @@ def render_body(context,**pageargs):
|
|||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -50,10 +50,10 @@ def render_content(context,**pageargs):
|
|||
try:
|
||||
def content():
|
||||
return render_content(context)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
@ -90,6 +90,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"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", "uri": "tags.tmpl"}
|
||||
{"source_encoding": "utf-8", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "filename": "themes/bootstrap/templates/tags.tmpl", "uri": "tags.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
2
cache/lastdeploy
vendored
2
cache/lastdeploy
vendored
|
|
@ -1 +1 @@
|
|||
2015-06-10T08:00:10.316020
|
||||
2015-06-10T09:00:10.980096
|
||||
|
|
@ -136,10 +136,10 @@
|
|||
<a href="../posts/200706screen-terminal-multiplexer.html" class="listtitle">Screen - terminal multiplexer</a> <time class="listdate" datetime="2007-06-13T18:06:00-05:00" title="2007-06-13">2007-06-13</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200703strayed-from-the-path.html" class="listtitle">Strayed from the path</a> <time class="listdate" datetime="2007-03-19T18:03:00-06:00" title="2007-03-19">2007-03-19</time>
|
||||
|
|
|
|||
|
|
@ -148,10 +148,10 @@
|
|||
<a href="../posts/200706screen-terminal-multiplexer.html" class="listtitle">Screen - terminal multiplexer</a> <time class="listdate" datetime="2007-06-13T18:06:00-05:00" title="2007-06-13">2007-06-13</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/200703cli-bugissuetask-tracking-system.html" class="listtitle">cli bug/issue/task tracking system?</a> <time class="listdate" datetime="2007-03-05T17:03:00-06:00" title="2007-03-05">2007-03-05</time>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue