Automatic commit via /home/don/bin/deployweb Sat Jun 13 00:00:11 UTC 2015

This commit is contained in:
Don Harper 2015-06-13 00:00:11 +00:00
parent db50fc1e0b
commit 718994dde8
48 changed files with 634 additions and 634 deletions

BIN
.doit.db

Binary file not shown.

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.4823525
_modified_time = 1434153608.2332401
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl'
_template_uri = 'annotation_helper.tmpl'
_source_encoding = 'ascii'
_exports = ['css', 'code']
_exports = ['code', 'css']
def render_body(context,**pageargs):
@ -24,16 +24,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_css(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n <link rel="stylesheet" href="http://assets.annotateit.org/annotator/v1.2.5/annotator.min.css">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_code(context):
__M_caller = context.caller_stack._push_frame()
try:
@ -44,8 +34,18 @@ def render_code(context):
context.caller_stack._pop_frame()
def render_css(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n <link rel="stylesheet" href="http://assets.annotateit.org/annotator/v1.2.5/annotator.min.css">\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "source_encoding": "ascii", "uri": "annotation_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"}
{"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
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.40969
_modified_time = 1434153608.1595893
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
_source_encoding = 'utf-8'
_exports = ['extra_head', 'belowtitle', 'content', 'sourcelink', 'extra_js']
_exports = ['extra_js', 'sourcelink', 'extra_head', 'belowtitle', 'content']
def _mako_get_namespace(context, name):
@ -32,37 +32,37 @@ def render_body(context,**pageargs):
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
notes = _mako_get_namespace(context, 'notes')
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
def belowtitle():
return render_belowtitle(context._locals(__M_locals))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
def content():
return render_content(context._locals(__M_locals))
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
def extra_head():
return render_extra_head(context._locals(__M_locals))
base = _mako_get_namespace(context, 'base')
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def belowtitle():
return render_belowtitle(context._locals(__M_locals))
post = _import_ns.get('post', context.get('post', UNDEFINED))
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
def extra_js():
return render_extra_js(context._locals(__M_locals))
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
post = _import_ns.get('post', context.get('post', UNDEFINED))
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
def extra_head():
return render_extra_head(context._locals(__M_locals))
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
len = _import_ns.get('len', context.get('len', UNDEFINED))
notes = _mako_get_namespace(context, 'notes')
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -158,6 +158,34 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_extra_js(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def extra_js():
return render_extra_js(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, '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_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@ -179,11 +207,11 @@ def render_belowtitle(context,**pageargs):
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
len = _import_ns.get('len', context.get('len', UNDEFINED))
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
def belowtitle():
return render_belowtitle(context)
len = _import_ns.get('len', context.get('len', UNDEFINED))
base = _mako_get_namespace(context, 'base')
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
@ -210,36 +238,8 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, '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, ['*'])
def extra_js():
return render_extra_js(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "213": 51, "190": 47, "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": 6, "227": 85, "170": 6, "199": 66, "176": 45, "188": 45, "189": 46, "153": 91, "191": 47, "192": 47, "193": 49, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "source_encoding": "utf-8", "uri": "base.tmpl", "filename": "themes/bootstrap3/templates/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, "216": 45, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "218": 47, "150": 89, "161": 85, "219": 47, "198": 6, "227": 66, "220": 47, "175": 51, "189": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 45, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "221": 49, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 46, "126": 66, "127": 71}, "filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.449826
_modified_time = 1434153608.2003162
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_navigation_links', 'late_load_js', 'html_feedlinks', 'html_stylesheets', 'html_headstart', 'html_translations']
_exports = ['late_load_js', 'html_navigation_links', 'html_feedlinks', 'html_headstart', 'html_stylesheets', 'html_translations']
def render_body(context,**pageargs):
@ -29,13 +29,46 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
lang = context.get('lang', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
if colorbox_locales[lang]:
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
__M_writer(str(colorbox_locales[lang]))
__M_writer('.js"></script>\n')
__M_writer(' ')
__M_writer(str(social_buttons_code))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
lang = context.get('lang', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
__M_writer = context.writer()
@ -77,47 +110,14 @@ def render_html_navigation_links(context):
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
use_bundles = context.get('use_bundles', UNDEFINED)
lang = context.get('lang', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
if colorbox_locales[lang]:
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
__M_writer(str(colorbox_locales[lang]))
__M_writer('.js"></script>\n')
__M_writer(' ')
__M_writer(str(social_buttons_code))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
rss_link = context.get('rss_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
_link = context.get('_link', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if rss_link:
@ -141,69 +141,32 @@ def render_html_feedlinks(context):
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
notes = context.get('notes', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
post = context.get('post', UNDEFINED)
has_custom_css = context.get('has_custom_css', 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:
use_open_graph = context.get('use_open_graph', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
use_cdn = context.get('use_cdn', UNDEFINED)
lang = context.get('lang', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
blog_title = context.get('blog_title', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
title = context.get('title', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
prevlink = context.get('prevlink', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
title = context.get('title', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
description = context.get('description', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
lang = context.get('lang', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
is_rtl = context.get('is_rtl', 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'):
@ -278,12 +241,49 @@ def render_html_headstart(context):
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
use_bundles = context.get('use_bundles', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
post = context.get('post', UNDEFINED)
notes = context.get('notes', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
else:
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
else:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
else:
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
if has_custom_css:
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
if annotations and post and not post.meta('noannotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
elif not annotations and post and post.meta('annotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
_link = context.get('_link', UNDEFINED)
translations = context.get('translations', UNDEFINED)
lang = context.get('lang', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -303,6 +303,6 @@ def render_html_translations(context):
"""
__M_BEGIN_METADATA
{"line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 124, "42": 124, "43": 125, "44": 126, "45": 127, "46": 127, "47": 127, "48": 129, "49": 130, "50": 131, "51": 131, "52": 131, "53": 131, "54": 131, "55": 132, "56": 133, "57": 133, "58": 133, "59": 133, "60": 133, "61": 136, "62": 137, "63": 138, "64": 139, "65": 139, "66": 139, "67": 139, "68": 139, "69": 140, "70": 141, "71": 141, "72": 141, "73": 141, "74": 141, "80": 67, "89": 67, "90": 68, "91": 69, "92": 70, "93": 73, "94": 74, "95": 76, "96": 77, "97": 78, "98": 80, "99": 81, "100": 86, "101": 88, "102": 89, "103": 89, "104": 89, "105": 91, "106": 91, "107": 91, "113": 147, "122": 147, "123": 148, "124": 149, "125": 149, "126": 149, "127": 150, "128": 151, "129": 152, "130": 153, "131": 153, "132": 153, "133": 153, "134": 153, "135": 155, "136": 156, "137": 156, "138": 156, "144": 95, "154": 95, "155": 96, "156": 97, "157": 98, "158": 100, "159": 101, "160": 103, "161": 104, "162": 105, "163": 106, "164": 107, "165": 109, "166": 113, "167": 114, "168": 117, "169": 118, "170": 118, "171": 118, "172": 119, "173": 120, "174": 120, "175": 120, "181": 3, "208": 3, "209": 7, "210": 8, "211": 9, "212": 10, "213": 12, "214": 13, "215": 15, "216": 16, "217": 18, "218": 21, "219": 22, "220": 25, "221": 25, "222": 25, "223": 28, "224": 29, "225": 29, "226": 29, "227": 31, "228": 32, "229": 32, "230": 32, "231": 32, "232": 34, "233": 34, "234": 35, "235": 35, "236": 36, "237": 37, "238": 37, "239": 37, "240": 39, "241": 40, "242": 41, "243": 42, "244": 42, "245": 42, "246": 42, "247": 42, "248": 42, "249": 42, "250": 45, "251": 46, "252": 47, "253": 47, "254": 47, "255": 49, "256": 50, "257": 51, "258": 51, "259": 51, "260": 53, "261": 54, "262": 54, "263": 54, "264": 56, "265": 57, "266": 57, "267": 58, "268": 59, "269": 60, "270": 61, "271": 61, "272": 61, "273": 63, "274": 64, "275": 64, "281": 161, "289": 161, "290": 162, "291": 163, "292": 164, "293": 164, "294": 164, "295": 164, "296": 164, "297": 164, "298": 164, "304": 298}, "source_encoding": "utf-8", "uri": "base_helper.tmpl", "filename": "themes/bootstrap3/templates/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": 67, "41": 67, "42": 68, "43": 69, "44": 70, "45": 73, "46": 74, "47": 76, "48": 77, "49": 78, "50": 80, "51": 81, "52": 86, "53": 88, "54": 89, "55": 89, "56": 89, "57": 91, "58": 91, "59": 91, "65": 124, "75": 124, "76": 125, "77": 126, "78": 127, "79": 127, "80": 127, "81": 129, "82": 130, "83": 131, "84": 131, "85": 131, "86": 131, "87": 131, "88": 132, "89": 133, "90": 133, "91": 133, "92": 133, "93": 133, "94": 136, "95": 137, "96": 138, "97": 139, "98": 139, "99": 139, "100": 139, "101": 139, "102": 140, "103": 141, "104": 141, "105": 141, "106": 141, "107": 141, "113": 147, "122": 147, "123": 148, "124": 149, "125": 149, "126": 149, "127": 150, "128": 151, "129": 152, "130": 153, "131": 153, "132": 153, "133": 153, "134": 153, "135": 155, "136": 156, "137": 156, "138": 156, "144": 3, "171": 3, "172": 7, "173": 8, "174": 9, "175": 10, "176": 12, "177": 13, "178": 15, "179": 16, "180": 18, "181": 21, "182": 22, "183": 25, "184": 25, "185": 25, "186": 28, "187": 29, "188": 29, "189": 29, "190": 31, "191": 32, "192": 32, "193": 32, "194": 32, "195": 34, "196": 34, "197": 35, "198": 35, "199": 36, "200": 37, "201": 37, "202": 37, "203": 39, "204": 40, "205": 41, "206": 42, "207": 42, "208": 42, "209": 42, "210": 42, "211": 42, "212": 42, "213": 45, "214": 46, "215": 47, "216": 47, "217": 47, "218": 49, "219": 50, "220": 51, "221": 51, "222": 51, "223": 53, "224": 54, "225": 54, "226": 54, "227": 56, "228": 57, "229": 57, "230": 58, "231": 59, "232": 60, "233": 61, "234": 61, "235": 61, "236": 63, "237": 64, "238": 64, "244": 95, "254": 95, "255": 96, "256": 97, "257": 98, "258": 100, "259": 101, "260": 103, "261": 104, "262": 105, "263": 106, "264": 107, "265": 109, "266": 113, "267": 114, "268": 117, "269": 118, "270": 118, "271": 118, "272": 119, "273": 120, "274": 120, "275": 120, "281": 161, "289": 161, "290": 162, "291": 163, "292": 164, "293": 164, "294": 164, "295": 164, "296": 164, "297": 164, "298": 164, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "base_helper.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.323687
_modified_time = 1434153608.0735507
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl'
_template_uri = 'comments_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def _mako_get_namespace(context, name):
@ -19,8 +19,14 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'disqus')] = ns
ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'intensedebate')] = ns
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'facebook')] = ns
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'livefyre')] = ns
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'muut')] = ns
@ -28,17 +34,11 @@ def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'isso')] = ns
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'livefyre')] = ns
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'facebook')] = 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
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'disqus')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
@ -64,14 +64,14 @@ def render_body(context,**pageargs):
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
disqus = _mako_get_namespace(context, 'disqus')
muut = _mako_get_namespace(context, 'muut')
isso = _mako_get_namespace(context, 'isso')
facebook = _mako_get_namespace(context, 'facebook')
googleplus = _mako_get_namespace(context, 'googleplus')
livefyre = _mako_get_namespace(context, 'livefyre')
intensedebate = _mako_get_namespace(context, 'intensedebate')
livefyre = _mako_get_namespace(context, 'livefyre')
muut = _mako_get_namespace(context, 'muut')
comment_system = context.get('comment_system', UNDEFINED)
facebook = _mako_get_namespace(context, 'facebook')
isso = _mako_get_namespace(context, 'isso')
googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@ -107,63 +107,17 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
disqus = _mako_get_namespace(context, 'disqus')
muut = _mako_get_namespace(context, 'muut')
isso = _mako_get_namespace(context, 'isso')
facebook = _mako_get_namespace(context, 'facebook')
googleplus = _mako_get_namespace(context, 'googleplus')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
intensedebate = _mako_get_namespace(context, 'intensedebate')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
__M_writer(' ')
__M_writer(str(disqus.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'livefyre':
__M_writer(' ')
__M_writer(str(livefyre.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'intensedebate':
__M_writer(' ')
__M_writer(str(intensedebate.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'muut':
__M_writer(' ')
__M_writer(str(muut.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'googleplus':
__M_writer(' ')
__M_writer(str(googleplus.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'facebook':
__M_writer(' ')
__M_writer(str(facebook.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'isso':
__M_writer(' ')
__M_writer(str(isso.comment_form(url, title, identifier)))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
disqus = _mako_get_namespace(context, 'disqus')
muut = _mako_get_namespace(context, 'muut')
isso = _mako_get_namespace(context, 'isso')
facebook = _mako_get_namespace(context, 'facebook')
googleplus = _mako_get_namespace(context, 'googleplus')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
intensedebate = _mako_get_namespace(context, 'intensedebate')
livefyre = _mako_get_namespace(context, 'livefyre')
muut = _mako_get_namespace(context, 'muut')
comment_system = context.get('comment_system', UNDEFINED)
facebook = _mako_get_namespace(context, 'facebook')
isso = _mako_get_namespace(context, 'isso')
googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@ -199,8 +153,54 @@ 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')
livefyre = _mako_get_namespace(context, 'livefyre')
muut = _mako_get_namespace(context, 'muut')
comment_system = context.get('comment_system', UNDEFINED)
facebook = _mako_get_namespace(context, 'facebook')
isso = _mako_get_namespace(context, 'isso')
googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
__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
{"line_map": {"22": 3, "25": 6, "28": 9, "31": 4, "34": 8, "37": 7, "40": 5, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 29, "76": 29, "77": 30, "78": 31, "79": 31, "80": 31, "81": 32, "82": 33, "83": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 36, "90": 37, "91": 37, "92": 37, "93": 38, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 42, "102": 43, "103": 43, "104": 43, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "source_encoding": "utf-8", "uri": "comments_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"}
{"source_encoding": "utf-8", "line_map": {"22": 5, "25": 8, "28": 4, "31": 6, "34": 9, "37": 7, "40": 3, "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.348261
_modified_time = 1434153608.0981245
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl'
_template_uri = 'comments_helper_disqus.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
import json
@ -46,11 +46,26 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <script>var disqus_shortname="')
__M_writer(str(comment_system_id))
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
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)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
@ -78,23 +93,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <script>var disqus_shortname="')
__M_writer(str(comment_system_id))
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 33, "37": 33, "38": 34, "39": 35, "40": 35, "41": 35, "42": 35, "43": 35, "49": 5, "55": 5, "56": 6, "57": 7, "58": 9, "59": 9, "60": 10, "61": 11, "62": 11, "63": 11, "64": 13, "65": 13, "66": 13, "67": 14, "68": 14, "69": 16, "70": 17, "71": 18, "72": 19, "73": 19, "74": 19, "75": 21, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "source_encoding": "utf-8", "uri": "comments_helper_disqus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl"}
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "comments_helper_disqus.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.3864183
_modified_time = 1434153608.1362855
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl'
_template_uri = 'comments_helper_facebook.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -37,6 +37,19 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<div id="fb-root"></div>\n<script>\n // thank lxml for this\n $(\'.fb-comments-count\').each(function(i, obj) {\n var url = obj.attributes[\'data-url\'].value;\n // change here if you dislike the default way of displaying\n // this\n obj.innerHTML = \'<fb:comments-count href="\' + url + \'"></fb:comments-count> comments\';\n });\n\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
__M_writer(str(comment_system_id))
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -52,21 +65,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<div id="fb-root"></div>\n<script>\n // thank lxml for this\n $(\'.fb-comments-count\').each(function(i, obj) {\n var url = obj.attributes[\'data-url\'].value;\n // change here if you dislike the default way of displaying\n // this\n obj.innerHTML = \'<fb:comments-count href="\' + url + \'"></fb:comments-count> comments\';\n });\n\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
__M_writer(str(comment_system_id))
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"32": 28, "33": 29, "34": 29, "68": 62, "40": 2, "60": 32, "45": 2, "46": 8, "15": 0, "48": 25, "49": 25, "20": 26, "21": 30, "22": 62, "55": 32, "47": 8, "28": 28, "61": 46, "62": 46}, "source_encoding": "utf-8", "uri": "comments_helper_facebook.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl"}
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "comments_helper_facebook.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.3806002
_modified_time = 1434153608.1304603
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl'
_template_uri = 'comments_helper_googleplus.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -37,6 +37,16 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -49,18 +59,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"32": 11, "33": 12, "34": 12, "40": 2, "44": 2, "45": 5, "46": 5, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 11, "62": 56}, "source_encoding": "utf-8", "uri": "comments_helper_googleplus.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl"}
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "comments_helper_googleplus.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.366113
_modified_time = 1434153608.1159563
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl'
_template_uri = 'comments_helper_intensedebate.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -46,6 +46,16 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -63,18 +73,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"66": 24, "70": 24, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 13, "33": 13, "34": 14, "35": 14, "36": 14, "37": 14, "38": 16, "39": 16, "40": 17, "41": 17, "42": 18, "43": 18, "49": 2, "54": 2, "55": 4, "56": 4, "57": 5, "58": 5, "59": 6, "60": 6}, "source_encoding": "utf-8", "uri": "comments_helper_intensedebate.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl"}
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "comments_helper_intensedebate.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.39447
_modified_time = 1434153608.1441875
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl'
_template_uri = 'comments_helper_isso.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -40,6 +40,23 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <script src="')
__M_writer(str(comment_system_id))
__M_writer('js/count.min.js" data-isso="')
__M_writer(str(comment_system_id))
__M_writer('"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -59,25 +76,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <script src="')
__M_writer(str(comment_system_id))
__M_writer('js/count.min.js" data-isso="')
__M_writer(str(comment_system_id))
__M_writer('"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"67": 16, "68": 17, "69": 18, "70": 18, "71": 18, "72": 18, "73": 18, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 9, "33": 9, "34": 10, "35": 11, "36": 11, "37": 11, "43": 2, "48": 2, "49": 3, "50": 4, "51": 4, "52": 4, "53": 5, "54": 5, "55": 5, "56": 5, "62": 16}, "source_encoding": "utf-8", "uri": "comments_helper_isso.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl"}
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "comments_helper_isso.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.3584616
_modified_time = 1434153608.1082776
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl'
_template_uri = 'comments_helper_livefyre.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -42,6 +42,16 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -57,18 +67,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"64": 31, "33": 23, "34": 24, "35": 24, "36": 25, "37": 25, "38": 25, "39": 25, "60": 31, "70": 64, "45": 2, "15": 0, "50": 2, "51": 7, "20": 21, "21": 28, "22": 33, "52": 7, "54": 11, "28": 23, "53": 11}, "source_encoding": "utf-8", "uri": "comments_helper_livefyre.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl"}
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "comments_helper_livefyre.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.374757
_modified_time = 1434153608.1247616
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl'
_template_uri = 'comments_helper_muut.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link', 'comment_form', 'comment_link_script']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -36,6 +36,16 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -53,18 +63,8 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"33": 7, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "47": 4, "60": 11, "29": 7}, "source_encoding": "utf-8", "uri": "comments_helper_muut.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl"}
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl"}
__M_END_METADATA
"""

View file

@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.5197322
_modified_time = 1434153608.2710738
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl'
_template_uri = 'crumbs.tmpl'
@ -52,6 +52,6 @@ def render_bar(context,crumbs):
"""
__M_BEGIN_METADATA
{"line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "source_encoding": "utf-8", "uri": "crumbs.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"}
{"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
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.2880356
_modified_time = 1434153608.0377243
_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 = ['extra_head', 'content', 'content_header']
_exports = ['content_header', 'extra_head', 'content']
def _mako_get_namespace(context, name):
@ -19,12 +19,12 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='index_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
@ -32,20 +32,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
index_file = context.get('index_file', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
posts = context.get('posts', UNDEFINED)
index_file = context.get('index_file', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
def content_header():
return render_content_header(context._locals(__M_locals))
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
posts = context.get('posts', UNDEFINED)
parent = context.get('parent', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
index_teasers = context.get('index_teasers', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -66,15 +66,26 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_content_header(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def content_header():
return render_content_header(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
index_file = context.get('index_file', UNDEFINED)
def extra_head():
return render_extra_head(context)
posts = context.get('posts', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
parent = context.get('parent', UNDEFINED)
index_file = context.get('index_file', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
posts = context.get('posts', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@ -91,15 +102,15 @@ def render_extra_head(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context)
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
def content_header():
return render_content_header(context)
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
posts = context.get('posts', UNDEFINED)
def content():
return render_content(context)
index_teasers = context.get('index_teasers', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -152,19 +163,8 @@ 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()
"""
__M_BEGIN_METADATA
{"line_map": {"128": 22, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 28, "135": 29, "136": 30, "137": 30, "138": 31, "139": 32, "140": 33, "141": 33, "142": 35, "143": 38, "144": 39, "145": 39, "146": 40, "147": 40, "148": 41, "149": 41, "22": 3, "25": 2, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "63": 42, "69": 6, "79": 6, "80": 7, "81": 7, "82": 8, "83": 9, "84": 9, "85": 9, "91": 13, "105": 13, "110": 14, "111": 16, "112": 17, "113": 17, "114": 17, "115": 19, "116": 19, "117": 19, "118": 19, "119": 21, "120": 21, "121": 22, "122": 22, "123": 22, "124": 22, "125": 22, "126": 22, "127": 22}, "source_encoding": "utf-8", "uri": "index.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"}
{"source_encoding": "utf-8", "line_map": {"128": 19, "129": 19, "130": 21, "131": 21, "132": 22, "133": 22, "134": 22, "135": 22, "136": 22, "137": 22, "138": 22, "139": 22, "140": 23, "141": 24, "142": 24, "143": 24, "144": 26, "145": 28, "146": 29, "147": 30, "148": 30, "149": 31, "22": 2, "151": 33, "152": 33, "25": 3, "154": 38, "155": 39, "156": 39, "157": 40, "150": 32, "31": 0, "160": 41, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 41, "63": 42, "69": 14, "158": 40, "80": 6, "90": 6, "91": 7, "92": 7, "93": 8, "94": 9, "95": 9, "96": 9, "102": 13, "116": 13, "153": 35, "121": 14, "122": 16, "123": 17, "124": 17, "125": 17, "126": 19, "127": 19}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.3065367
_modified_time = 1434153608.0562942
_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,24 +24,11 @@ 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)
nextlink = context.get('nextlink', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -65,8 +52,21 @@ def render_html_pager(context):
context.caller_stack._pop_frame()
def render_mathjax_script(context,posts):
__M_caller = context.caller_stack._push_frame()
try:
any = context.get('any', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if any(post.is_mathjax for post in posts):
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "source_encoding": "utf-8", "uri": "index_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"}
{"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
"""

View file

@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.5408654
_modified_time = 1434153608.2924502
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
_template_uri = 'list.tmpl'
@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "source_encoding": "utf-8", "uri": "list.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"}
{"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
"""

View file

@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.5549166
_modified_time = 1434153608.3066664
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
messages = context.get('messages', UNDEFINED)
date_format = context.get('date_format', 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'):
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
def content():
return render_content(context)
messages = context.get('messages', UNDEFINED)
date_format = context.get('date_format', 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
{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "source_encoding": "utf-8", "uri": "list_post.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"}
{"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
"""

View file

@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.5084035
_modified_time = 1434153608.259651
_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'])
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
files = _import_ns.get('files', context.get('files', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
@ -65,9 +65,9 @@ def render_sourcelink(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
def sourcelink():
return render_sourcelink(context)
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
@ -87,13 +87,13 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
files = _import_ns.get('files', context.get('files', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
def content():
return render_content(context)
files = _import_ns.get('files', context.get('files', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(ui.bar(crumbs)))
@ -124,6 +124,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "source_encoding": "utf-8", "uri": "listing.tmpl", "filename": "themes/bootstrap3/templates/listing.tmpl"}
{"source_encoding": "utf-8", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.5823917
_modified_time = 1434153608.3346872
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
_exports = ['extra_head', 'sourcelink', 'content']
_exports = ['sourcelink', 'extra_head', 'content']
def _mako_get_namespace(context, name):
@ -19,14 +19,14 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
def content():
return render_content(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
parent = context.get('parent', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
pheader = _mako_get_namespace(context, 'pheader')
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
parent = context.get('parent', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -74,14 +74,35 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
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()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
helper = _mako_get_namespace(context, 'helper')
post = context.get('post', 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()))
@ -121,38 +142,17 @@ 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()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def content():
return render_content(context)
pheader = _mako_get_namespace(context, 'pheader')
comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
def content():
return render_content(context)
pheader = _mako_get_namespace(context, 'pheader')
__M_writer = context.writer()
__M_writer('\n<article class="post-')
__M_writer(str(post.meta('type')))
@ -183,6 +183,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"line_map": {"133": 50, "134": 51, "135": 52, "136": 53, "137": 53, "138": 53, "139": 53, "145": 27, "22": 3, "25": 4, "28": 2, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 7, "184": 178, "86": 7, "87": 8, "88": 8, "89": 9, "90": 10, "91": 10, "92": 10, "93": 12, "94": 13, "95": 13, "96": 13, "97": 15, "98": 15, "99": 15, "100": 16, "101": 17, "102": 17, "103": 17, "104": 17, "105": 17, "106": 19, "107": 20, "108": 20, "109": 20, "110": 20, "111": 20, "112": 22, "113": 22, "114": 22, "115": 23, "116": 23, "117": 24, "118": 24, "124": 50}, "source_encoding": "utf-8", "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl"}
{"source_encoding": "utf-8", "line_map": {"128": 20, "129": 20, "130": 20, "131": 20, "132": 20, "133": 22, "134": 22, "135": 22, "136": 23, "137": 23, "138": 24, "139": 24, "145": 27, "22": 2, "25": 4, "28": 3, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 50, "184": 178, "86": 50, "87": 51, "88": 52, "89": 53, "90": 53, "91": 53, "92": 53, "98": 7, "107": 7, "108": 8, "109": 8, "110": 9, "111": 10, "112": 10, "113": 10, "114": 12, "115": 13, "116": 13, "117": 13, "118": 15, "119": 15, "120": 15, "121": 16, "122": 17, "123": 17, "124": 17, "125": 17, "126": 17, "127": 19}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.6468673
_modified_time = 1434153608.399679
_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_sourcelink', 'html_title', 'html_translations', 'html_post_header']
_exports = ['html_translations', 'html_sourcelink', 'html_post_header', 'html_title']
def _mako_get_namespace(context, name):
@ -19,12 +19,12 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@ -41,6 +41,34 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_html_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(post.translated_to) > 1:
__M_writer(' <div class="metadata posttranslations translations">\n <h3 class="posttranslations-intro">')
__M_writer(str(messages("Also available in:")))
__M_writer('</h3>\n')
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <p><a href="')
__M_writer(str(post.permalink(langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></p>\n')
__M_writer(' </div>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_sourcelink(context):
__M_caller = context.caller_stack._push_frame()
try:
@ -60,66 +88,20 @@ def render_html_sourcelink(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()
def render_html_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)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(post.translated_to) > 1:
__M_writer(' <div class="metadata posttranslations translations">\n <h3 class="posttranslations-intro">')
__M_writer(str(messages("Also available in:")))
__M_writer('</h3>\n')
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <p><a href="')
__M_writer(str(post.permalink(langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></p>\n')
__M_writer(' </div>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
def html_title():
return render_html_title(context)
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
site_has_comments = context.get('site_has_comments', UNDEFINED)
def html_translations(post):
return render_html_translations(context,post)
def html_title():
return render_html_title(context)
comments = _mako_get_namespace(context, 'comments')
site_has_comments = context.get('site_has_comments', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
__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:
post = context.get('post', UNDEFINED)
title = context.get('title', 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
{"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": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 5, "69": 5, "70": 6, "71": 7, "72": 7, "73": 7, "74": 7, "75": 7, "162": 156, "81": 11, "89": 11, "90": 12, "91": 13, "92": 14, "93": 14, "94": 15, "95": 16, "96": 17, "97": 17, "98": 17, "99": 17, "100": 17, "101": 17, "102": 17, "103": 20, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "source_encoding": "utf-8", "uri": "post_header.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/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": 2, "151": 6, "152": 7, "25": 3, "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
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.6137826
_modified_time = 1434153608.3662806
_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 = ['meta_translations', 'html_pager', 'mathjax_script', 'html_tags', 'twitter_card_information', 'open_graph_metadata']
_exports = ['html_pager', 'mathjax_script', 'meta_translations', 'open_graph_metadata', 'html_tags', 'twitter_card_information']
def render_body(context,**pageargs):
@ -29,27 +29,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
len = context.get('len', UNDEFINED)
lang = context.get('lang', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <link rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('" href="')
__M_writer(str(post.permalink(langname)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_pager(context,post):
__M_caller = context.caller_stack._push_frame()
try:
@ -92,11 +71,79 @@ def render_mathjax_script(context,post):
context.caller_stack._pop_frame()
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <link rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('" href="')
__M_writer(str(post.permalink(langname)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
__M_writer(' <meta property="og:site_name" content="')
__M_writer(striphtml(str(blog_title)))
__M_writer('">\n <meta property="og:title" content="')
__M_writer(filters.html_escape(str(post.title()[:70])))
__M_writer('">\n <meta property="og:url" content="')
__M_writer(str(abs_link(permalink)))
__M_writer('">\n')
if post.description():
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.description()[:200])))
__M_writer('">\n')
else:
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
__M_writer('">\n')
if post.previewimage:
__M_writer(' <meta property="og:image" content="')
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
__M_writer('">\n')
__M_writer(' <meta property="og:type" content="article">\n')
if post.date.isoformat():
__M_writer(' <meta property="article:published_time" content="')
__M_writer(str(post.date.isoformat()))
__M_writer('">\n')
if post.tags:
for tag in post.tags:
__M_writer(' <meta property="article:tag" content="')
__M_writer(str(tag))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
hidden_tags = context.get('hidden_tags', UNDEFINED)
_link = context.get('_link', UNDEFINED)
hidden_tags = context.get('hidden_tags', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if post.tags:
@ -145,55 +192,8 @@ def render_twitter_card_information(context,post):
context.caller_stack._pop_frame()
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
use_open_graph = context.get('use_open_graph', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
__M_writer(' <meta property="og:site_name" content="')
__M_writer(striphtml(str(blog_title)))
__M_writer('">\n <meta property="og:title" content="')
__M_writer(filters.html_escape(str(post.title()[:70])))
__M_writer('">\n <meta property="og:url" content="')
__M_writer(str(abs_link(permalink)))
__M_writer('">\n')
if post.description():
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.description()[:200])))
__M_writer('">\n')
else:
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
__M_writer('">\n')
if post.previewimage:
__M_writer(' <meta property="og:image" content="')
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
__M_writer('">\n')
__M_writer(' <meta property="og:type" content="article">\n')
if post.date.isoformat():
__M_writer(' <meta property="article:published_time" content="')
__M_writer(str(post.date.isoformat()))
__M_writer('">\n')
if post.tags:
for tag in post.tags:
__M_writer(' <meta property="article:tag" content="')
__M_writer(str(tag))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 3, "39": 3, "40": 4, "41": 5, "42": 6, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "53": 25, "58": 25, "59": 26, "60": 27, "61": 28, "62": 29, "63": 30, "64": 30, "65": 30, "66": 30, "67": 30, "68": 30, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "76": 35, "77": 38, "83": 87, "87": 87, "88": 88, "89": 89, "95": 13, "101": 13, "102": 14, "103": 15, "104": 16, "105": 17, "106": 18, "107": 18, "108": 18, "109": 18, "110": 18, "111": 21, "117": 71, "122": 71, "123": 72, "124": 73, "125": 73, "126": 73, "127": 74, "128": 75, "129": 75, "130": 75, "131": 76, "132": 77, "133": 77, "134": 77, "135": 79, "136": 80, "137": 80, "138": 80, "139": 81, "140": 82, "141": 82, "142": 82, "148": 42, "159": 42, "160": 43, "161": 44, "162": 44, "163": 44, "164": 45, "165": 45, "166": 46, "167": 46, "168": 47, "169": 48, "170": 48, "171": 48, "172": 49, "173": 50, "174": 50, "175": 50, "176": 52, "177": 53, "178": 53, "179": 53, "180": 55, "181": 60, "182": 61, "183": 61, "184": 61, "185": 63, "186": 64, "187": 65, "188": 65, "189": 65, "195": 189}, "source_encoding": "utf-8", "uri": "post_helper.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"}
{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 25, "37": 25, "38": 26, "39": 27, "40": 28, "41": 29, "42": 30, "43": 30, "44": 30, "45": 30, "46": 30, "47": 30, "48": 33, "49": 34, "50": 35, "51": 35, "52": 35, "53": 35, "54": 35, "55": 35, "56": 38, "62": 87, "66": 87, "67": 88, "68": 89, "74": 3, "81": 3, "82": 4, "83": 5, "84": 6, "85": 7, "86": 7, "87": 7, "88": 7, "89": 7, "95": 42, "106": 42, "107": 43, "108": 44, "109": 44, "110": 44, "111": 45, "112": 45, "113": 46, "114": 46, "115": 47, "116": 48, "117": 48, "118": 48, "119": 49, "120": 50, "121": 50, "122": 50, "123": 52, "124": 53, "125": 53, "126": 53, "127": 55, "128": 60, "129": 61, "130": 61, "131": 61, "132": 63, "133": 64, "134": 65, "135": 65, "136": 65, "142": 13, "148": 13, "149": 14, "150": 15, "151": 16, "152": 17, "153": 18, "154": 18, "155": 18, "156": 18, "157": 18, "158": 21, "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
"""

View file

@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.6705034
_modified_time = 1434153608.4235196
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
@ -19,14 +19,14 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
@ -35,15 +35,15 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
enable_comments = context.get('enable_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
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')
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
enable_comments = context.get('enable_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
def content():
return render_content(context)
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
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
{"line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 3, "87": 19, "88": 22, "25": 4, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "source_encoding": "utf-8", "uri": "story.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl"}
{"source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 4, "90": 22, "28": 3, "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
"""

View file

@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.7233121
_modified_time = 1434153608.4766273
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
_template_uri = 'tag.tmpl'
@ -27,23 +27,23 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
_link = context.get('_link', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
posts = context.get('posts', UNDEFINED)
translations = context.get('translations', UNDEFINED)
tag = context.get('tag', UNDEFINED)
messages = context.get('messages', UNDEFINED)
kind = context.get('kind', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
title = context.get('title', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
description = context.get('description', UNDEFINED)
kind = context.get('kind', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
posts = context.get('posts', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
title = context.get('title', UNDEFINED)
parent = context.get('parent', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
_link = context.get('_link', UNDEFINED)
parent = context.get('parent', UNDEFINED)
len = context.get('len', UNDEFINED)
description = context.get('description', UNDEFINED)
tag = context.get('tag', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
@ -64,15 +64,15 @@ def render_body(context,**pageargs):
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
def extra_head():
return render_extra_head(context)
translations = context.get('translations', UNDEFINED)
tag = context.get('tag', UNDEFINED)
kind = context.get('kind', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
_link = context.get('_link', UNDEFINED)
parent = context.get('parent', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
parent = context.get('parent', UNDEFINED)
tag = context.get('tag', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@ -104,20 +104,20 @@ def render_extra_head(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
posts = context.get('posts', UNDEFINED)
_link = context.get('_link', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
kind = context.get('kind', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
tag = context.get('tag', UNDEFINED)
title = context.get('title', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
posts = context.get('posts', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
kind = context.get('kind', UNDEFINED)
description = context.get('description', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
_link = context.get('_link', UNDEFINED)
len = context.get('len', UNDEFINED)
description = context.get('description', UNDEFINED)
tag = context.get('tag', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="tagpage">\n <header>\n <h1>')
__M_writer(filters.html_escape(str(title)))
@ -179,6 +179,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}, "source_encoding": "utf-8", "uri": "tag.tmpl", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl"}
{"source_encoding": "utf-8", "line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl"}
__M_END_METADATA
"""

View file

@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434150007.70405
_modified_time = 1434153608.4571674
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
@ -27,8 +27,8 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
title = context.get('title', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
items = context.get('items', UNDEFINED)
@ -48,8 +48,8 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
title = context.get('title', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
items = context.get('items', UNDEFINED)
@ -90,6 +90,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "source_encoding": "utf-8", "uri": "tags.tmpl", "filename": "themes/bootstrap/templates/tags.tmpl"}
{"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
View file

@ -1 +1 @@
2015-06-12T23:00:10.400712
2015-06-13T00:00:11.230988