Automatic commit via /home/don/bin/deployweb Wed Jun 10 14:00:11 UTC 2015

This commit is contained in:
Don Harper 2015-06-10 14:00:11 +00:00
parent 1bd746d6bb
commit af25860078
48 changed files with 701 additions and 701 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 = 1433941207.5026972
_modified_time = 1433944807.7129538
_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
{"uri": "annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}, "source_encoding": "ascii", "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 = 1433941207.429544
_modified_time = 1433944807.6390276
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
_source_encoding = 'utf-8'
_exports = ['sourcelink', 'extra_head', 'extra_js', 'belowtitle', 'content']
_exports = ['belowtitle', 'extra_head', 'extra_js', 'sourcelink', 'content']
def _mako_get_namespace(context, name):
@ -19,50 +19,50 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'notes')] = ns
ns = runtime.TemplateNamespace('base', context._clean_inheritance_tokens(), templateuri='base_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'base')] = ns
ns = runtime.TemplateNamespace('notes', context._clean_inheritance_tokens(), templateuri='annotation_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'notes')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
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_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
len = _import_ns.get('len', context.get('len', UNDEFINED))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
def extra_head():
return render_extra_head(context._locals(__M_locals))
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
base = _mako_get_namespace(context, 'base')
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
post = _import_ns.get('post', context.get('post', UNDEFINED))
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
notes = _mako_get_namespace(context, 'notes')
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def belowtitle():
return render_belowtitle(context._locals(__M_locals))
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
def sourcelink():
return render_sourcelink(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))
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
def extra_js():
return render_extra_js(context._locals(__M_locals))
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
base = _mako_get_namespace(context, 'base')
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
notes = _mako_get_namespace(context, 'notes')
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
def extra_head():
return render_extra_head(context._locals(__M_locals))
len = _import_ns.get('len', context.get('len', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -158,15 +158,24 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_sourcelink(context,**pageargs):
def render_belowtitle(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def sourcelink():
return render_sourcelink(context)
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def belowtitle():
return render_belowtitle(context)
base = _mako_get_namespace(context, 'base')
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
len = _import_ns.get('len', context.get('len', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
__M_writer(' <li>')
__M_writer(str(base.html_translations()))
__M_writer('</li>\n')
__M_writer(' ')
return ''
finally:
context.caller_stack._pop_frame()
@ -176,8 +185,8 @@ def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def extra_head():
return render_extra_head(context)
__M_writer = context.writer()
@ -191,8 +200,8 @@ def render_extra_js(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def extra_js():
return render_extra_js(context)
__M_writer = context.writer()
@ -201,24 +210,15 @@ def render_extra_js(context,**pageargs):
context.caller_stack._pop_frame()
def render_belowtitle(context,**pageargs):
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
len = _import_ns.get('len', context.get('len', UNDEFINED))
def belowtitle():
return render_belowtitle(context)
base = _mako_get_namespace(context, 'base')
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def sourcelink():
return render_sourcelink(context)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
__M_writer(' <li>')
__M_writer(str(base.html_translations()))
__M_writer('</li>\n')
__M_writer(' ')
return ''
finally:
context.caller_stack._pop_frame()
@ -228,8 +228,8 @@ def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def content():
return render_content(context)
__M_writer = context.writer()
@ -240,6 +240,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "216": 45, "190": 85, "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": 51, "219": 47, "227": 66, "220": 47, "175": 6, "184": 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}, "source_encoding": "utf-8", "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, "213": 51, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "150": 89, "161": 45, "227": 66, "199": 85, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 6, "153": 91, "193": 6, "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}, "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 = 1433941207.4699833
_modified_time = 1433944807.68004
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['late_load_js', 'html_translations', 'html_headstart', 'html_stylesheets', 'html_feedlinks', 'html_navigation_links']
_exports = ['html_headstart', 'html_translations', 'late_load_js', 'html_feedlinks', 'html_navigation_links', 'html_stylesheets']
def render_body(context,**pageargs):
@ -29,88 +29,32 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
use_bundles = context.get('use_bundles', UNDEFINED)
lang = context.get('lang', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
if colorbox_locales[lang]:
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
__M_writer(str(colorbox_locales[lang]))
__M_writer('.js"></script>\n')
__M_writer(' ')
__M_writer(str(social_buttons_code))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
lang = context.get('lang', UNDEFINED)
messages = context.get('messages', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for langname in translations.keys():
if langname != lang:
__M_writer(' <li><a href="')
__M_writer(str(_link("index", None, langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></li>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
prevlink = context.get('prevlink', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
description = context.get('description', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
comment_system_id = context.get('comment_system_id', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
description = context.get('description', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
lang = context.get('lang', UNDEFINED)
title = context.get('title', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
permalink = context.get('permalink', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
blog_title = context.get('blog_title', UNDEFINED)
title = context.get('title', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
url_replacer = context.get('url_replacer', 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'):
@ -185,38 +129,57 @@ def render_html_headstart(context):
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for langname in translations.keys():
if langname != lang:
__M_writer(' <li><a href="')
__M_writer(str(_link("index", None, langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></li>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
post = context.get('post', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
notes = context.get('notes', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
lang = context.get('lang', 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')
__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(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
__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(' <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')
__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()
@ -225,11 +188,11 @@ def render_html_stylesheets(context):
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
rss_link = context.get('rss_link', UNDEFINED)
_link = context.get('_link', UNDEFINED)
translations = context.get('translations', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if rss_link:
@ -256,11 +219,11 @@ def render_html_feedlinks(context):
def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
tuple = context.get('tuple', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -301,8 +264,45 @@ def render_html_navigation_links(context):
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
use_cdn = context.get('use_cdn', UNDEFINED)
has_custom_css = context.get('has_custom_css', UNDEFINED)
post = context.get('post', UNDEFINED)
notes = context.get('notes', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
use_bundles = context.get('use_bundles', 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()
"""
__M_BEGIN_METADATA
{"uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 67, "41": 67, "42": 68, "43": 69, "44": 70, "45": 73, "46": 74, "47": 76, "48": 77, "49": 78, "50": 80, "51": 81, "52": 86, "53": 88, "54": 89, "55": 89, "56": 89, "57": 91, "58": 91, "59": 91, "65": 161, "73": 161, "74": 162, "75": 163, "76": 164, "77": 164, "78": 164, "79": 164, "80": 164, "81": 164, "82": 164, "88": 3, "115": 3, "116": 7, "117": 8, "118": 9, "119": 10, "120": 12, "121": 13, "122": 15, "123": 16, "124": 18, "125": 21, "126": 22, "127": 25, "128": 25, "129": 25, "130": 28, "131": 29, "132": 29, "133": 29, "134": 31, "135": 32, "136": 32, "137": 32, "138": 32, "139": 34, "140": 34, "141": 35, "142": 35, "143": 36, "144": 37, "145": 37, "146": 37, "147": 39, "148": 40, "149": 41, "150": 42, "151": 42, "152": 42, "153": 42, "154": 42, "155": 42, "156": 42, "157": 45, "158": 46, "159": 47, "160": 47, "161": 47, "162": 49, "163": 50, "164": 51, "165": 51, "166": 51, "167": 53, "168": 54, "169": 54, "170": 54, "171": 56, "172": 57, "173": 57, "174": 58, "175": 59, "176": 60, "177": 61, "178": 61, "179": 61, "180": 63, "181": 64, "182": 64, "188": 95, "198": 95, "199": 96, "200": 97, "201": 98, "202": 100, "203": 101, "204": 103, "205": 104, "206": 105, "207": 106, "208": 107, "209": 109, "210": 113, "211": 114, "212": 117, "213": 118, "214": 118, "215": 118, "216": 119, "217": 120, "218": 120, "219": 120, "225": 147, "234": 147, "235": 148, "236": 149, "237": 149, "238": 149, "239": 150, "240": 151, "241": 152, "242": 153, "243": 153, "244": 153, "245": 153, "246": 153, "247": 155, "248": 156, "249": 156, "250": 156, "256": 124, "266": 124, "267": 125, "268": 126, "269": 127, "270": 127, "271": 127, "272": 129, "273": 130, "274": 131, "275": 131, "276": 131, "277": 131, "278": 131, "279": 132, "280": 133, "281": 133, "282": 133, "283": 133, "284": 133, "285": 136, "286": 137, "287": 138, "288": 139, "289": 139, "290": 139, "291": 139, "292": 139, "293": 140, "294": 141, "295": 141, "296": 141, "297": 141, "298": 141, "304": 298}, "source_encoding": "utf-8", "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": 3, "59": 3, "60": 7, "61": 8, "62": 9, "63": 10, "64": 12, "65": 13, "66": 15, "67": 16, "68": 18, "69": 21, "70": 22, "71": 25, "72": 25, "73": 25, "74": 28, "75": 29, "76": 29, "77": 29, "78": 31, "79": 32, "80": 32, "81": 32, "82": 32, "83": 34, "84": 34, "85": 35, "86": 35, "87": 36, "88": 37, "89": 37, "90": 37, "91": 39, "92": 40, "93": 41, "94": 42, "95": 42, "96": 42, "97": 42, "98": 42, "99": 42, "100": 42, "101": 45, "102": 46, "103": 47, "104": 47, "105": 47, "106": 49, "107": 50, "108": 51, "109": 51, "110": 51, "111": 53, "112": 54, "113": 54, "114": 54, "115": 56, "116": 57, "117": 57, "118": 58, "119": 59, "120": 60, "121": 61, "122": 61, "123": 61, "124": 63, "125": 64, "126": 64, "132": 161, "140": 161, "141": 162, "142": 163, "143": 164, "144": 164, "145": 164, "146": 164, "147": 164, "148": 164, "149": 164, "155": 67, "164": 67, "165": 68, "166": 69, "167": 70, "168": 73, "169": 74, "170": 76, "171": 77, "172": 78, "173": 80, "174": 81, "175": 86, "176": 88, "177": 89, "178": 89, "179": 89, "180": 91, "181": 91, "182": 91, "188": 147, "197": 147, "198": 148, "199": 149, "200": 149, "201": 149, "202": 150, "203": 151, "204": 152, "205": 153, "206": 153, "207": 153, "208": 153, "209": 153, "210": 155, "211": 156, "212": 156, "213": 156, "219": 124, "229": 124, "230": 125, "231": 126, "232": 127, "233": 127, "234": 127, "235": 129, "236": 130, "237": 131, "238": 131, "239": 131, "240": 131, "241": 131, "242": 132, "243": 133, "244": 133, "245": 133, "246": 133, "247": 133, "248": 136, "249": 137, "250": 138, "251": 139, "252": 139, "253": 139, "254": 139, "255": 139, "256": 140, "257": 141, "258": 141, "259": 141, "260": 141, "261": 141, "267": 95, "277": 95, "278": 96, "279": 97, "280": 98, "281": 100, "282": 101, "283": 103, "284": 104, "285": 105, "286": 106, "287": 107, "288": 109, "289": 113, "290": 114, "291": 117, "292": 118, "293": 118, "294": 118, "295": 119, "296": 120, "297": 120, "298": 120, "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 = 1433941207.3445868
_modified_time = 1433944807.5533125
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl'
_template_uri = 'comments_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def _mako_get_namespace(context, name):
@ -19,17 +19,20 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'googleplus')] = ns
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'disqus')] = ns
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'muut')] = ns
ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'isso')] = ns
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'livefyre')] = ns
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'disqus')] = ns
ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'isso')] = ns
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'googleplus')] = ns
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'facebook')] = ns
@ -37,9 +40,6 @@ def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'intensedebate')] = ns
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'muut')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
@ -61,63 +61,17 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
facebook = _mako_get_namespace(context, 'facebook')
intensedebate = _mako_get_namespace(context, 'intensedebate')
muut = _mako_get_namespace(context, 'muut')
comment_system = context.get('comment_system', UNDEFINED)
livefyre = _mako_get_namespace(context, 'livefyre')
isso = _mako_get_namespace(context, 'isso')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
__M_writer(' ')
__M_writer(str(disqus.comment_link_script()))
__M_writer('\n')
elif comment_system == 'livefyre':
__M_writer(' ')
__M_writer(str(livefyre.comment_link_script()))
__M_writer('\n')
elif comment_system == 'intensedebate':
__M_writer(' ')
__M_writer(str(intensedebate.comment_link_script()))
__M_writer('\n')
elif comment_system == 'muut':
__M_writer(' ')
__M_writer(str(muut.comment_link_script()))
__M_writer('\n')
elif comment_system == 'googleplus':
__M_writer(' ')
__M_writer(str(googleplus.comment_link_script()))
__M_writer('\n')
elif comment_system == 'facebook':
__M_writer(' ')
__M_writer(str(facebook.comment_link_script()))
__M_writer('\n')
elif comment_system == 'isso':
__M_writer(' ')
__M_writer(str(isso.comment_link_script()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
muut = _mako_get_namespace(context, 'muut')
isso = _mako_get_namespace(context, 'isso')
googleplus = _mako_get_namespace(context, 'googleplus')
facebook = _mako_get_namespace(context, 'facebook')
intensedebate = _mako_get_namespace(context, 'intensedebate')
muut = _mako_get_namespace(context, 'muut')
comment_system = context.get('comment_system', UNDEFINED)
livefyre = _mako_get_namespace(context, 'livefyre')
isso = _mako_get_namespace(context, 'isso')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@ -153,17 +107,63 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
disqus = _mako_get_namespace(context, 'disqus')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
muut = _mako_get_namespace(context, 'muut')
isso = _mako_get_namespace(context, 'isso')
googleplus = _mako_get_namespace(context, 'googleplus')
facebook = _mako_get_namespace(context, 'facebook')
intensedebate = _mako_get_namespace(context, 'intensedebate')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
__M_writer(' ')
__M_writer(str(disqus.comment_link_script()))
__M_writer('\n')
elif comment_system == 'livefyre':
__M_writer(' ')
__M_writer(str(livefyre.comment_link_script()))
__M_writer('\n')
elif comment_system == 'intensedebate':
__M_writer(' ')
__M_writer(str(intensedebate.comment_link_script()))
__M_writer('\n')
elif comment_system == 'muut':
__M_writer(' ')
__M_writer(str(muut.comment_link_script()))
__M_writer('\n')
elif comment_system == 'googleplus':
__M_writer(' ')
__M_writer(str(googleplus.comment_link_script()))
__M_writer('\n')
elif comment_system == 'facebook':
__M_writer(' ')
__M_writer(str(facebook.comment_link_script()))
__M_writer('\n')
elif comment_system == 'isso':
__M_writer(' ')
__M_writer(str(isso.comment_link_script()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
muut = _mako_get_namespace(context, 'muut')
isso = _mako_get_namespace(context, 'isso')
googleplus = _mako_get_namespace(context, 'googleplus')
facebook = _mako_get_namespace(context, 'facebook')
intensedebate = _mako_get_namespace(context, 'intensedebate')
muut = _mako_get_namespace(context, 'muut')
comment_system = context.get('comment_system', UNDEFINED)
livefyre = _mako_get_namespace(context, 'livefyre')
isso = _mako_get_namespace(context, 'isso')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@ -201,6 +201,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper.tmpl", "line_map": {"22": 7, "25": 4, "28": 3, "31": 9, "34": 8, "37": 5, "40": 6, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 11, "168": 11, "169": 12, "170": 13, "171": 13, "172": 13, "173": 14, "174": 15, "175": 15, "176": 15, "177": 16, "178": 17, "179": 17, "180": 17, "181": 18, "182": 19, "183": 19, "184": 19, "185": 20, "186": 21, "187": 21, "188": 21, "189": 22, "190": 23, "191": 23, "192": 23, "193": 24, "194": 25, "195": 25, "196": 25, "202": 196}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"}
{"source_encoding": "utf-8", "line_map": {"22": 3, "25": 6, "28": 9, "31": 4, "34": 7, "37": 8, "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": 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 = 1433941207.3690197
_modified_time = 1433944807.5780203
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl'
_template_uri = 'comments_helper_disqus.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
import json
@ -29,21 +29,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <script>var disqus_shortname="')
__M_writer(str(comment_system_id))
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -61,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:
@ -95,6 +95,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 33, "52": 33, "53": 34, "54": 35, "55": 35, "56": 35, "57": 35, "58": 35, "64": 5, "70": 5, "71": 6, "72": 7, "73": 9, "74": 9, "75": 10, "76": 11, "77": 11, "78": 11, "79": 13, "80": 13, "81": 13, "82": 14, "83": 14, "84": 16, "85": 17, "86": 18, "87": 19, "88": 19, "89": 19, "90": 21, "96": 90}, "source_encoding": "utf-8", "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 = 1433941207.4061642
_modified_time = 1433944807.6152527
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl'
_template_uri = 'comments_helper_facebook.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -25,6 +25,18 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<span class="fb-comments-count" data-url="')
__M_writer(str(link))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
@ -38,18 +50,6 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<span class="fb-comments-count" data-url="')
__M_writer(str(link))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -67,6 +67,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper_facebook.tmpl", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 28, "60": 8, "45": 28, "46": 29, "15": 0, "59": 8, "20": 26, "21": 30, "22": 62, "58": 2, "47": 29, "28": 32, "61": 25, "62": 25, "53": 2}, "source_encoding": "utf-8", "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 = 1433941207.4002483
_modified_time = 1433944807.6093652
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl'
_template_uri = 'comments_helper_googleplus.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -25,16 +25,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -47,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:
@ -61,6 +61,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper_googleplus.tmpl", "line_map": {"32": 16, "54": 2, "38": 11, "42": 11, "43": 12, "44": 12, "15": 0, "50": 2, "20": 9, "21": 14, "22": 17, "55": 5, "56": 5, "28": 16, "62": 56}, "source_encoding": "utf-8", "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 = 1433941207.3869402
_modified_time = 1433944807.5959501
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl'
_template_uri = 'comments_helper_intensedebate.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -25,16 +25,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -56,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:
@ -75,6 +75,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper_intensedebate.tmpl", "line_map": {"64": 2, "65": 4, "66": 4, "67": 5, "68": 5, "69": 6, "70": 6, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 13, "43": 13, "44": 14, "45": 14, "46": 14, "47": 14, "48": 16, "49": 16, "50": 17, "51": 17, "52": 18, "53": 18, "59": 2}, "source_encoding": "utf-8", "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 = 1433941207.4140363
_modified_time = 1433944807.6234488
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl'
_template_uri = 'comments_helper_isso.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -25,6 +25,21 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <a href="')
__M_writer(str(link))
__M_writer('#isso-thread">Comments</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
@ -42,21 +57,6 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <a href="')
__M_writer(str(link))
__M_writer('#isso-thread">Comments</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -78,6 +78,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper_isso.tmpl", "line_map": {"65": 2, "66": 3, "67": 4, "68": 4, "69": 4, "70": 5, "71": 5, "72": 5, "73": 5, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 9, "50": 9, "51": 10, "52": 11, "53": 11, "54": 11, "60": 2}, "source_encoding": "utf-8", "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 = 1433941207.3792434
_modified_time = 1433944807.5882204
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl'
_template_uri = 'comments_helper_livefyre.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -25,16 +25,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -52,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:
@ -69,6 +69,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper_livefyre.tmpl", "line_map": {"32": 31, "64": 11, "70": 64, "38": 23, "60": 2, "43": 23, "44": 24, "45": 24, "46": 25, "15": 0, "48": 25, "49": 25, "20": 21, "21": 28, "22": 33, "55": 2, "47": 25, "28": 31, "61": 7, "62": 7, "63": 11}, "source_encoding": "utf-8", "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 = 1433941207.394551
_modified_time = 1433944807.6036386
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl'
_template_uri = 'comments_helper_muut.tmpl'
_source_encoding = 'utf-8'
_exports = ['comment_link_script', 'comment_link', 'comment_form']
_exports = ['comment_link', 'comment_link_script', 'comment_form']
def render_body(context,**pageargs):
@ -26,16 +26,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -46,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:
@ -65,6 +65,6 @@ def render_comment_form(context,url,title,identifier):
"""
__M_BEGIN_METADATA
{"uri": "comments_helper_muut.tmpl", "line_map": {"33": 11, "66": 60, "54": 3, "39": 7, "57": 4, "43": 7, "15": 0, "49": 3, "20": 2, "21": 5, "22": 8, "23": 13, "56": 4, "55": 4, "58": 4, "59": 4, "60": 4, "29": 11}, "source_encoding": "utf-8", "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 = 1433941207.540727
_modified_time = 1433944807.750993
_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
{"uri": "crumbs.tmpl", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "source_encoding": "utf-8", "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 = 1433941207.3087075
_modified_time = 1433944807.5172164
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl'
_template_uri = 'index.tmpl'
_source_encoding = 'utf-8'
_exports = ['content', 'extra_head', 'content_header']
_exports = ['extra_head', 'content_header', 'content']
def _mako_get_namespace(context, name):
@ -32,21 +32,21 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
date_format = context.get('date_format', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
permalink = context.get('permalink', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
index_file = context.get('index_file', UNDEFINED)
index_teasers = context.get('index_teasers', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
parent = context.get('parent', UNDEFINED)
posts = context.get('posts', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
def content_header():
return render_content_header(context._locals(__M_locals))
parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
posts = context.get('posts', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
index_file = context.get('index_file', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -66,19 +66,52 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
permalink = context.get('permalink', UNDEFINED)
def extra_head():
return render_extra_head(context)
index_file = context.get('index_file', UNDEFINED)
parent = context.get('parent', UNDEFINED)
posts = context.get('posts', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
__M_writer('\n')
if posts and (permalink == '/' or permalink == '/' + index_file):
__M_writer(' <link rel="prefetch" href="')
__M_writer(str(posts[0].permalink()))
__M_writer('" type="text/html">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content_header(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def content_header():
return render_content_header(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
date_format = context.get('date_format', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
def content():
return render_content(context)
comments = _mako_get_namespace(context, 'comments')
index_teasers = context.get('index_teasers', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content_header():
return render_content_header(context)
helper = _mako_get_namespace(context, 'helper')
posts = context.get('posts', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
def content_header():
return render_content_header(context)
__M_writer = context.writer()
__M_writer('\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
@ -130,41 +163,8 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def extra_head():
return render_extra_head(context)
posts = context.get('posts', UNDEFINED)
parent = context.get('parent', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
index_file = context.get('index_file', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
__M_writer('\n')
if posts and (permalink == '/' or permalink == '/' + index_file):
__M_writer(' <link rel="prefetch" href="')
__M_writer(str(posts[0].permalink()))
__M_writer('" type="text/html">\n')
return ''
finally:
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
{"uri": "index.tmpl", "line_map": {"133": 6, "143": 6, "144": 7, "145": 7, "146": 8, "147": 9, "148": 9, "149": 9, "22": 3, "25": 2, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "source_encoding": "utf-8", "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": 3, "151": 33, "152": 33, "25": 2, "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": 6, "158": 40, "79": 6, "80": 7, "81": 7, "82": 8, "83": 9, "84": 9, "85": 9, "91": 14, "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,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1433941207.3272784
_modified_time = 1433944807.5359097
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl'
_template_uri = 'index_helper.tmpl'
@ -40,9 +40,9 @@ def render_mathjax_script(context,posts):
def render_html_pager(context):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if prevlink or nextlink:
@ -67,6 +67,6 @@ def render_html_pager(context):
"""
__M_BEGIN_METADATA
{"uri": "index_helper.tmpl", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 21, "32": 21, "33": 22, "34": 23, "40": 2, "47": 2, "48": 3, "49": 4, "50": 6, "51": 7, "52": 8, "53": 8, "54": 8, "55": 8, "56": 11, "57": 12, "58": 13, "59": 13, "60": 13, "61": 13, "62": 16}, "source_encoding": "utf-8", "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": 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}, "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 = 1433941207.5611238
_modified_time = 1433944807.771363
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
_template_uri = 'list.tmpl'
@ -27,11 +27,11 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
title = context.get('title', UNDEFINED)
messages = context.get('messages', UNDEFINED)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@ -47,11 +47,11 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
title = context.get('title', UNDEFINED)
messages = context.get('messages', UNDEFINED)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
__M_writer(str(title))
@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"uri": "list.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "source_encoding": "utf-8", "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 = 1433941207.5759428
_modified_time = 1433944807.7861602
_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)
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
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:
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
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
{"uri": "list_post.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "source_encoding": "utf-8", "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 = 1433941207.529215
_modified_time = 1433944807.7394547
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
def content():
return render_content(context._locals(__M_locals))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
code = _import_ns.get('code', context.get('code', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
@ -65,12 +65,12 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
ui = _mako_get_namespace(context, 'ui')
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
def content():
return render_content(context)
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
code = _import_ns.get('code', context.get('code', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
@ -105,10 +105,10 @@ def render_sourcelink(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
def sourcelink():
return render_sourcelink(context)
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if source_link:
@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs):
"""
__M_BEGIN_METADATA
{"uri": "listing.tmpl", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl"}
{"source_encoding": "utf-8", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl"}
__M_END_METADATA
"""

View file

@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1433941207.6034276
_modified_time = 1433944807.8138337
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
_exports = ['content', 'extra_head', 'sourcelink']
_exports = ['extra_head', 'sourcelink', 'content']
def _mako_get_namespace(context, name):
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
def content():
return render_content(context._locals(__M_locals))
pheader = _mako_get_namespace(context, 'pheader')
post = context.get('post', UNDEFINED)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
def content():
return render_content(context._locals(__M_locals))
comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
parent = context.get('parent', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -74,53 +74,14 @@ def render_body(context,**pageargs):
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')
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n<article class="post-')
__M_writer(str(post.meta('type')))
__M_writer(' h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">\n ')
__M_writer(str(pheader.html_post_header()))
__M_writer('\n <div class="e-content entry-content" itemprop="articleBody text">\n ')
__M_writer(str(post.text()))
__M_writer('\n </div>\n <aside class="postpromonav">\n <nav>\n ')
__M_writer(str(helper.html_tags(post)))
__M_writer('\n ')
__M_writer(str(helper.html_pager(post)))
__M_writer('\n </nav>\n </aside>\n')
if not post.meta('nocomments') and site_has_comments:
__M_writer(' <section class="comments">\n <h2>')
__M_writer(str(messages("Comments")))
__M_writer('</h2>\n ')
__M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
__M_writer('\n </section>\n')
__M_writer(' ')
__M_writer(str(helper.mathjax_script(post)))
__M_writer('\n</article>\n')
__M_writer(str(comments.comment_link_script()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def extra_head():
return render_extra_head(context)
post = context.get('post', UNDEFINED)
parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
parent = context.get('parent', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@ -164,9 +125,9 @@ def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -181,8 +142,47 @@ def render_sourcelink(context,**pageargs):
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
helper = _mako_get_namespace(context, 'helper')
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
def content():
return render_content(context)
comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="post-')
__M_writer(str(post.meta('type')))
__M_writer(' h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">\n ')
__M_writer(str(pheader.html_post_header()))
__M_writer('\n <div class="e-content entry-content" itemprop="articleBody text">\n ')
__M_writer(str(post.text()))
__M_writer('\n </div>\n <aside class="postpromonav">\n <nav>\n ')
__M_writer(str(helper.html_tags(post)))
__M_writer('\n ')
__M_writer(str(helper.html_pager(post)))
__M_writer('\n </nav>\n </aside>\n')
if not post.meta('nocomments') and site_has_comments:
__M_writer(' <section class="comments">\n <h2>')
__M_writer(str(messages("Comments")))
__M_writer('</h2>\n ')
__M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
__M_writer('\n </section>\n')
__M_writer(' ')
__M_writer(str(helper.mathjax_script(post)))
__M_writer('\n</article>\n')
__M_writer(str(comments.comment_link_script()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"uri": "post.tmpl", "line_map": {"128": 9, "129": 10, "130": 10, "131": 10, "132": 12, "133": 13, "134": 13, "135": 13, "136": 15, "137": 15, "138": 15, "139": 16, "140": 17, "141": 17, "142": 17, "143": 17, "144": 17, "145": 19, "146": 20, "147": 20, "148": 20, "149": 20, "22": 3, "151": 22, "152": 22, "25": 4, "154": 23, "155": 23, "28": 2, "157": 24, "150": 20, "34": 0, "163": 50, "156": 24, "172": 50, "173": 51, "174": 52, "175": 53, "176": 53, "177": 53, "178": 53, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 7, "153": 22, "125": 7, "126": 8, "127": 8}, "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/post.tmpl"}
{"source_encoding": "utf-8", "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}, "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 = 1433941207.6672397
_modified_time = 1433944807.8781714
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_translations', 'html_post_header', 'html_sourcelink', 'html_title']
_exports = ['html_sourcelink', 'html_post_header', 'html_translations', 'html_title']
def _mako_get_namespace(context, name):
@ -41,29 +41,20 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_html_translations(context,post):
def render_html_sourcelink(context):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
lang = context.get('lang', UNDEFINED)
messages = context.get('messages', UNDEFINED)
len = context.get('len', UNDEFINED)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', 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')
if show_sourcelink:
__M_writer(' <p class="sourceline"><a href="')
__M_writer(str(post.source_link()))
__M_writer('" id="sourcelink">')
__M_writer(str(messages("Source")))
__M_writer('</a></p>\n')
return ''
finally:
context.caller_stack._pop_frame()
@ -72,17 +63,17 @@ def render_html_translations(context,post):
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
date_format = context.get('date_format', UNDEFINED)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
def html_title():
return render_html_title(context)
def html_translations(post):
return render_html_translations(context,post)
messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
def html_sourcelink():
return render_html_sourcelink(context)
def html_translations(post):
return render_html_translations(context,post)
__M_writer = context.writer()
__M_writer('\n <header>\n ')
__M_writer(str(html_title()))
@ -122,20 +113,29 @@ def render_html_post_header(context):
context.caller_stack._pop_frame()
def render_html_sourcelink(context):
def render_html_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if show_sourcelink:
__M_writer(' <p class="sourceline"><a href="')
__M_writer(str(post.source_link()))
__M_writer('" id="sourcelink">')
__M_writer(str(messages("Source")))
__M_writer('</a></p>\n')
if 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()
@ -161,6 +161,6 @@ def render_html_title(context):
"""
__M_BEGIN_METADATA
{"uri": "post_header.tmpl", "line_map": {"132": 24, "133": 25, "134": 26, "135": 26, "136": 26, "137": 26, "138": 26, "144": 5, "22": 3, "151": 6, "152": 7, "25": 2, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 30, "162": 156, "87": 30, "88": 32, "89": 32, "90": 34, "91": 34, "92": 35, "93": 35, "94": 35, "95": 35, "96": 35, "97": 35, "98": 35, "99": 35, "100": 36, "101": 37, "102": 37, "103": 37, "104": 39, "105": 39, "106": 39, "107": 40, "108": 41, "109": 41, "110": 41, "111": 41, "112": 41, "113": 43, "114": 44, "115": 44, "116": 44, "117": 46, "118": 47, "119": 47, "153": 7, "125": 24}, "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"}
{"source_encoding": "utf-8", "line_map": {"128": 14, "129": 15, "130": 16, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 17, "138": 20, "144": 5, "22": 3, "151": 6, "152": 7, "25": 2, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 30, "162": 156, "78": 30, "79": 32, "80": 32, "81": 34, "82": 34, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "91": 36, "92": 37, "93": 37, "94": 37, "95": 39, "96": 39, "97": 39, "98": 40, "99": 41, "100": 41, "101": 41, "102": 41, "103": 41, "104": 43, "105": 44, "106": 44, "107": 44, "108": 46, "109": 47, "110": 47, "116": 11, "153": 7, "124": 11, "125": 12, "126": 13, "127": 14}, "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 = 1433941207.634939
_modified_time = 1433944807.845585
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
_template_uri = 'post_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['twitter_card_information', 'meta_translations', 'html_tags', 'mathjax_script', 'html_pager', 'open_graph_metadata']
_exports = ['html_tags', 'open_graph_metadata', 'mathjax_script', 'meta_translations', 'twitter_card_information', 'html_pager']
def render_body(context,**pageargs):
@ -29,63 +29,11 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
twitter_card = context.get('twitter_card', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if twitter_card and twitter_card['use_twitter_cards']:
__M_writer(' <meta name="twitter:card" content="')
__M_writer(filters.html_escape(str(twitter_card.get('card', 'summary'))))
__M_writer('">\n')
if 'site:id' in twitter_card:
__M_writer(' <meta name="twitter:site:id" content="')
__M_writer(str(twitter_card['site:id']))
__M_writer('">\n')
elif 'site' in twitter_card:
__M_writer(' <meta name="twitter:site" content="')
__M_writer(str(twitter_card['site']))
__M_writer('">\n')
if 'creator:id' in twitter_card:
__M_writer(' <meta name="twitter:creator:id" content="')
__M_writer(str(twitter_card['creator:id']))
__M_writer('">\n')
elif 'creator' in twitter_card:
__M_writer(' <meta name="twitter:creator" content="')
__M_writer(str(twitter_card['creator']))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
len = context.get('len', UNDEFINED)
lang = context.get('lang', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <link rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('" href="')
__M_writer(str(post.permalink(langname)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
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:
@ -103,57 +51,15 @@ def render_html_tags(context,post):
context.caller_stack._pop_frame()
def render_mathjax_script(context,post):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
if post.is_mathjax:
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_pager(context,post):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if post.prev_post or post.next_post:
__M_writer(' <ul class="pager">\n')
if post.prev_post:
__M_writer(' <li class="previous">\n <a href="')
__M_writer(str(post.prev_post.permalink()))
__M_writer('" rel="prev" title="')
__M_writer(filters.html_escape(str(post.prev_post.title())))
__M_writer('">')
__M_writer(str(messages("Previous post")))
__M_writer('</a>\n </li>\n')
if post.next_post:
__M_writer(' <li class="next">\n <a href="')
__M_writer(str(post.next_post.permalink()))
__M_writer('" rel="next" title="')
__M_writer(filters.html_escape(str(post.next_post.title())))
__M_writer('">')
__M_writer(str(messages("Next post")))
__M_writer('</a>\n </li>\n')
__M_writer(' </ul>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
permalink = context.get('permalink', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -192,8 +98,102 @@ def render_open_graph_metadata(context,post):
context.caller_stack._pop_frame()
def render_mathjax_script(context,post):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
if post.is_mathjax:
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
len = context.get('len', 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_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
twitter_card = context.get('twitter_card', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if twitter_card and twitter_card['use_twitter_cards']:
__M_writer(' <meta name="twitter:card" content="')
__M_writer(filters.html_escape(str(twitter_card.get('card', 'summary'))))
__M_writer('">\n')
if 'site:id' in twitter_card:
__M_writer(' <meta name="twitter:site:id" content="')
__M_writer(str(twitter_card['site:id']))
__M_writer('">\n')
elif 'site' in twitter_card:
__M_writer(' <meta name="twitter:site" content="')
__M_writer(str(twitter_card['site']))
__M_writer('">\n')
if 'creator:id' in twitter_card:
__M_writer(' <meta name="twitter:creator:id" content="')
__M_writer(str(twitter_card['creator:id']))
__M_writer('">\n')
elif 'creator' in twitter_card:
__M_writer(' <meta name="twitter:creator" content="')
__M_writer(str(twitter_card['creator']))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_pager(context,post):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if post.prev_post or post.next_post:
__M_writer(' <ul class="pager">\n')
if post.prev_post:
__M_writer(' <li class="previous">\n <a href="')
__M_writer(str(post.prev_post.permalink()))
__M_writer('" rel="prev" title="')
__M_writer(filters.html_escape(str(post.prev_post.title())))
__M_writer('">')
__M_writer(str(messages("Previous post")))
__M_writer('</a>\n </li>\n')
if post.next_post:
__M_writer(' <li class="next">\n <a href="')
__M_writer(str(post.next_post.permalink()))
__M_writer('" rel="next" title="')
__M_writer(filters.html_escape(str(post.next_post.title())))
__M_writer('">')
__M_writer(str(messages("Next post")))
__M_writer('</a>\n </li>\n')
__M_writer(' </ul>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 71, "37": 71, "38": 72, "39": 73, "40": 73, "41": 73, "42": 74, "43": 75, "44": 75, "45": 75, "46": 76, "47": 77, "48": 77, "49": 77, "50": 79, "51": 80, "52": 80, "53": 80, "54": 81, "55": 82, "56": 82, "57": 82, "63": 3, "70": 3, "71": 4, "72": 5, "73": 6, "74": 7, "75": 7, "76": 7, "77": 7, "78": 7, "84": 13, "90": 13, "91": 14, "92": 15, "93": 16, "94": 17, "95": 18, "96": 18, "97": 18, "98": 18, "99": 18, "100": 21, "106": 87, "110": 87, "111": 88, "112": 89, "118": 25, "123": 25, "124": 26, "125": 27, "126": 28, "127": 29, "128": 30, "129": 30, "130": 30, "131": 30, "132": 30, "133": 30, "134": 33, "135": 34, "136": 35, "137": 35, "138": 35, "139": 35, "140": 35, "141": 35, "142": 38, "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", "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": 13, "38": 13, "39": 14, "40": 15, "41": 16, "42": 17, "43": 18, "44": 18, "45": 18, "46": 18, "47": 18, "48": 21, "54": 42, "65": 42, "66": 43, "67": 44, "68": 44, "69": 44, "70": 45, "71": 45, "72": 46, "73": 46, "74": 47, "75": 48, "76": 48, "77": 48, "78": 49, "79": 50, "80": 50, "81": 50, "82": 52, "83": 53, "84": 53, "85": 53, "86": 55, "87": 60, "88": 61, "89": 61, "90": 61, "91": 63, "92": 64, "93": 65, "94": 65, "95": 65, "101": 87, "105": 87, "106": 88, "107": 89, "113": 3, "120": 3, "121": 4, "122": 5, "123": 6, "124": 7, "125": 7, "126": 7, "127": 7, "128": 7, "134": 71, "139": 71, "140": 72, "141": 73, "142": 73, "143": 73, "144": 74, "145": 75, "146": 75, "147": 75, "148": 76, "149": 77, "150": 77, "151": 77, "152": 79, "153": 80, "154": 80, "155": 80, "156": 81, "157": 82, "158": 82, "159": 82, "165": 25, "170": 25, "171": 26, "172": 27, "173": 28, "174": 29, "175": 30, "176": 30, "177": 30, "178": 30, "179": 30, "180": 30, "181": 33, "182": 34, "183": 35, "184": 35, "185": 35, "186": 35, "187": 35, "188": 35, "189": 38, "195": 189}, "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 = 1433941207.69054
_modified_time = 1433944807.9016335
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
@ -35,15 +35,15 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
def content():
return render_content(context._locals(__M_locals))
pheader = _mako_get_namespace(context, 'pheader')
enable_comments = context.get('enable_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
enable_comments = context.get('enable_comments', UNDEFINED)
messages = context.get('messages', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
def content():
return render_content(context._locals(__M_locals))
comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
__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:
def content():
return render_content(context)
pheader = _mako_get_namespace(context, 'pheader')
enable_comments = context.get('enable_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
enable_comments = context.get('enable_comments', UNDEFINED)
messages = context.get('messages', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
def content():
return render_content(context)
comments = _mako_get_namespace(context, 'comments')
messages = context.get('messages', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
__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
{"uri": "story.tmpl", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 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", "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": 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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "uri": "story.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 = 1433941207.7441337
_modified_time = 1433944807.9554198
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
_template_uri = 'tag.tmpl'
_source_encoding = 'utf-8'
_exports = ['content', 'extra_head']
_exports = ['extra_head', 'content']
def _mako_get_namespace(context, name):
@ -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)
translations = context.get('translations', UNDEFINED)
description = context.get('description', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
tag = context.get('tag', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
subcategories = context.get('subcategories', UNDEFINED)
messages = context.get('messages', UNDEFINED)
_link = context.get('_link', UNDEFINED)
kind = context.get('kind', UNDEFINED)
parent = context.get('parent', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
title = context.get('title', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
description = context.get('description', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
tag = context.get('tag', UNDEFINED)
parent = context.get('parent', UNDEFINED)
title = context.get('title', UNDEFINED)
messages = context.get('messages', UNDEFINED)
posts = context.get('posts', UNDEFINED)
translations = context.get('translations', UNDEFINED)
len = context.get('len', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
@ -61,23 +61,63 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
tag = context.get('tag', UNDEFINED)
_link = context.get('_link', UNDEFINED)
kind = context.get('kind', UNDEFINED)
parent = context.get('parent', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
def extra_head():
return render_extra_head(context)
len = context.get('len', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
__M_writer('\n')
if len(translations) > 1 and generate_rss:
for language in translations:
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
__M_writer(str(kind))
__M_writer(' ')
__M_writer(str(tag))
__M_writer(' (')
__M_writer(str(language))
__M_writer(')" href="')
__M_writer(str(_link(kind + "_rss", tag, language)))
__M_writer('">\n')
elif generate_rss:
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
__M_writer(str(kind))
__M_writer(' ')
__M_writer(str(tag))
__M_writer('" href="')
__M_writer(str(_link(kind + "_rss", tag)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
translations = context.get('translations', UNDEFINED)
description = context.get('description', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
tag = context.get('tag', UNDEFINED)
def content():
return render_content(context)
kind = context.get('kind', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
description = context.get('description', UNDEFINED)
tag = context.get('tag', UNDEFINED)
title = context.get('title', UNDEFINED)
messages = context.get('messages', UNDEFINED)
_link = context.get('_link', UNDEFINED)
kind = context.get('kind', UNDEFINED)
posts = context.get('posts', UNDEFINED)
translations = context.get('translations', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
title = context.get('title', UNDEFINED)
len = context.get('len', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="tagpage">\n <header>\n <h1>')
__M_writer(filters.html_escape(str(title)))
@ -137,48 +177,8 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
kind = context.get('kind', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
len = context.get('len', UNDEFINED)
def extra_head():
return render_extra_head(context)
tag = context.get('tag', UNDEFINED)
parent = context.get('parent', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
__M_writer('\n')
if len(translations) > 1 and generate_rss:
for language in translations:
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
__M_writer(str(kind))
__M_writer(' ')
__M_writer(str(tag))
__M_writer(' (')
__M_writer(str(language))
__M_writer(')" href="')
__M_writer(str(_link(kind + "_rss", tag, language)))
__M_writer('">\n')
elif generate_rss:
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
__M_writer(str(kind))
__M_writer(' ')
__M_writer(str(tag))
__M_writer('" href="')
__M_writer(str(_link(kind + "_rss", tag)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"uri": "tag.tmpl", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "source_encoding": "utf-8", "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 = 1433941207.72472
_modified_time = 1433944807.9358327
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
title = context.get('title', UNDEFINED)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
items = context.get('items', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
title = context.get('title', UNDEFINED)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
cat_items = context.get('cat_items', UNDEFINED)
items = context.get('items', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<h1>')
__M_writer(str(title))
@ -90,6 +90,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"uri": "tags.tmpl", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "source_encoding": "utf-8", "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-10T13:00:10.878224
2015-06-10T14:00:11.041527