Automatic commit via /home/don/bin/deployweb Thu Jun 11 18:00:10 UTC 2015

This commit is contained in:
Don Harper 2015-06-11 18:00:10 +00:00
parent de225b01ab
commit 97517ffff8
48 changed files with 656 additions and 656 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 = 1434042007.4106398
_modified_time = 1434045607.2622743
_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 = ['code', 'css']
_exports = ['css', 'code']
def render_body(context,**pageargs):
@ -24,16 +24,6 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_code(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n <script src="http://code.jquery.com/jquery-migrate-1.2.1.js"></script>\n <script src="http://assets.annotateit.org/annotator/v1.2.7/annotator-full.js"></script>\n <script>\n jQuery(function ($) {\n $(\'body\').annotator().annotator(\'setupPlugins\', {}, {\n // Disable filter bar\n Filter: false\n });\n });\n </script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_css(context):
__M_caller = context.caller_stack._push_frame()
try:
@ -44,8 +34,18 @@ def render_css(context):
context.caller_stack._pop_frame()
def render_code(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n <script src="http://code.jquery.com/jquery-migrate-1.2.1.js"></script>\n <script src="http://assets.annotateit.org/annotator/v1.2.7/annotator-full.js"></script>\n <script>\n jQuery(function ($) {\n $(\'body\').annotator().annotator(\'setupPlugins\', {}, {\n // Disable filter bar\n Filter: false\n });\n });\n </script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"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"}
{"uri": "annotation_helper.tmpl", "source_encoding": "ascii", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl", "line_map": {"20": 3, "21": 16, "15": 0, "41": 5, "27": 1, "37": 5, "47": 41, "31": 1}}
__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 = 1434042007.3371398
_modified_time = 1434045607.188688
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
_source_encoding = 'utf-8'
_exports = ['extra_js', 'content', 'belowtitle', 'sourcelink', 'extra_head']
_exports = ['belowtitle', 'extra_js', 'content', 'sourcelink', 'extra_head']
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, ['*'])
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
base = _mako_get_namespace(context, 'base')
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
len = _import_ns.get('len', context.get('len', UNDEFINED))
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
def extra_head():
return render_extra_head(context._locals(__M_locals))
def extra_js():
return render_extra_js(context._locals(__M_locals))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', 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))
notes = _mako_get_namespace(context, 'notes')
def belowtitle():
return render_belowtitle(context._locals(__M_locals))
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
notes = _mako_get_namespace(context, 'notes')
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
def extra_head():
return render_extra_head(context._locals(__M_locals))
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
base = _mako_get_namespace(context, 'base')
blog_title = _import_ns.get('blog_title', context.get('blog_title', 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))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
post = _import_ns.get('post', context.get('post', UNDEFINED))
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
def extra_js():
return render_extra_js(context._locals(__M_locals))
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -158,45 +158,17 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_extra_js(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def extra_js():
return render_extra_js(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def content():
return render_content(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_belowtitle(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
len = _import_ns.get('len', context.get('len', UNDEFINED))
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def belowtitle():
return render_belowtitle(context)
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
base = _mako_get_namespace(context, 'base')
len = _import_ns.get('len', context.get('len', UNDEFINED))
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
@ -209,12 +181,40 @@ def render_belowtitle(context,**pageargs):
context.caller_stack._pop_frame()
def render_extra_js(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def extra_js():
return render_extra_js(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def content():
return render_content(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_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, ['*'])
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
def sourcelink():
return render_sourcelink(context)
__M_writer = context.writer()
@ -227,8 +227,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()
@ -240,6 +240,6 @@ def render_extra_head(context,**pageargs):
"""
__M_BEGIN_METADATA
{"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, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "150": 89, "161": 85, "226": 6, "175": 66, "206": 49, "189": 45, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "201": 45, "202": 46, "203": 47, "204": 47, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "205": 47, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "212": 51, "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"}
{"uri": "base.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "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, "198": 66, "173": 45, "174": 46, "175": 47, "176": 47, "177": 47, "178": 49, "184": 85, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "212": 51, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "226": 6, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}}
__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 = 1434042007.377784
_modified_time = 1434045607.2293391
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_translations', 'html_headstart', 'late_load_js', 'html_stylesheets', 'html_navigation_links', 'html_feedlinks']
_exports = ['html_navigation_links', 'late_load_js', 'html_feedlinks', 'html_translations', 'html_stylesheets', 'html_headstart']
def render_body(context,**pageargs):
@ -29,13 +29,125 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
rel_link = context.get('rel_link', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
lang = context.get('lang', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for url, text in navigation_links[lang]:
if isinstance(url, tuple):
__M_writer(' <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">')
__M_writer(str(text))
__M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n')
for suburl, text in url:
if rel_link(permalink, suburl) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(suburl))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
__M_writer(' </ul>\n')
else:
if rel_link(permalink, url) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(url))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
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(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
if colorbox_locales[lang]:
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
__M_writer(str(colorbox_locales[lang]))
__M_writer('.js"></script>\n')
__M_writer(' ')
__M_writer(str(social_buttons_code))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
rss_link = context.get('rss_link', UNDEFINED)
len = context.get('len', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
translations = context.get('translations', UNDEFINED)
_link = context.get('_link', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if rss_link:
__M_writer(' ')
__M_writer(str(rss_link))
__M_writer('\n')
elif generate_rss:
if len(translations) > 1:
for language in translations:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
__M_writer(str(language))
__M_writer(')" href="')
__M_writer(str(_link('rss', None, language)))
__M_writer('">\n')
else:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
__M_writer(str(_link('rss', None)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
_link = context.get('_link', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for langname in translations.keys():
@ -52,32 +164,69 @@ def render_html_translations(context):
context.caller_stack._pop_frame()
def render_html_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
has_custom_css = context.get('has_custom_css', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
post = context.get('post', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
notes = context.get('notes', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
else:
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
else:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
else:
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
if has_custom_css:
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
if annotations and post and not post.meta('noannotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
elif not annotations and post and post.meta('annotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
lang = context.get('lang', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
title = context.get('title', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
abs_link = context.get('abs_link', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
nextlink = context.get('nextlink', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
description = context.get('description', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
def html_stylesheets():
return render_html_stylesheets(context)
favicons = context.get('favicons', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
lang = context.get('lang', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
comment_system = context.get('comment_system', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
title = context.get('title', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
description = context.get('description', 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'):
@ -152,157 +301,8 @@ def render_html_headstart(context):
context.caller_stack._pop_frame()
def render_late_load_js(context):
__M_caller = context.caller_stack._push_frame()
try:
use_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_stylesheets(context):
__M_caller = context.caller_stack._push_frame()
try:
has_custom_css = context.get('has_custom_css', UNDEFINED)
annotations = context.get('annotations', UNDEFINED)
notes = context.get('notes', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
post = context.get('post', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
else:
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
else:
if use_cdn:
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
else:
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
if has_custom_css:
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
if annotations and post and not post.meta('noannotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
elif not annotations and post and post.meta('annotations'):
__M_writer(' ')
__M_writer(str(notes.css()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
isinstance = context.get('isinstance', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for url, text in navigation_links[lang]:
if isinstance(url, tuple):
__M_writer(' <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">')
__M_writer(str(text))
__M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n')
for suburl, text in url:
if rel_link(permalink, suburl) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(suburl))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
__M_writer(' </ul>\n')
else:
if rel_link(permalink, url) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(url))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
rss_link = context.get('rss_link', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
_link = context.get('_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if rss_link:
__M_writer(' ')
__M_writer(str(rss_link))
__M_writer('\n')
elif generate_rss:
if len(translations) > 1:
for language in translations:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
__M_writer(str(language))
__M_writer(')" href="')
__M_writer(str(_link('rss', None, language)))
__M_writer('">\n')
else:
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
__M_writer(str(_link('rss', None)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 3, "82": 3, "83": 7, "84": 8, "85": 9, "86": 10, "87": 12, "88": 13, "89": 15, "90": 16, "91": 18, "92": 21, "93": 22, "94": 25, "95": 25, "96": 25, "97": 28, "98": 29, "99": 29, "100": 29, "101": 31, "102": 32, "103": 32, "104": 32, "105": 32, "106": 34, "107": 34, "108": 35, "109": 35, "110": 36, "111": 37, "112": 37, "113": 37, "114": 39, "115": 40, "116": 41, "117": 42, "118": 42, "119": 42, "120": 42, "121": 42, "122": 42, "123": 42, "124": 45, "125": 46, "126": 47, "127": 47, "128": 47, "129": 49, "130": 50, "131": 51, "132": 51, "133": 51, "134": 53, "135": 54, "136": 54, "137": 54, "138": 56, "139": 57, "140": 57, "141": 58, "142": 59, "143": 60, "144": 61, "145": 61, "146": 61, "147": 63, "148": 64, "149": 64, "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": 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": 124, "235": 124, "236": 125, "237": 126, "238": 127, "239": 127, "240": 127, "241": 129, "242": 130, "243": 131, "244": 131, "245": 131, "246": 131, "247": 131, "248": 132, "249": 133, "250": 133, "251": 133, "252": 133, "253": 133, "254": 136, "255": 137, "256": 138, "257": 139, "258": 139, "259": 139, "260": 139, "261": 139, "262": 140, "263": 141, "264": 141, "265": 141, "266": 141, "267": 141, "273": 147, "282": 147, "283": 148, "284": 149, "285": 149, "286": 149, "287": 150, "288": 151, "289": 152, "290": 153, "291": 153, "292": 153, "293": 153, "294": 153, "295": 155, "296": 156, "297": 156, "298": 156, "304": 298}, "filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "base_helper.tmpl"}
{"uri": "base_helper.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 124, "42": 124, "43": 125, "44": 126, "45": 127, "46": 127, "47": 127, "48": 129, "49": 130, "50": 131, "51": 131, "52": 131, "53": 131, "54": 131, "55": 132, "56": 133, "57": 133, "58": 133, "59": 133, "60": 133, "61": 136, "62": 137, "63": 138, "64": 139, "65": 139, "66": 139, "67": 139, "68": 139, "69": 140, "70": 141, "71": 141, "72": 141, "73": 141, "74": 141, "80": 67, "89": 67, "90": 68, "91": 69, "92": 70, "93": 73, "94": 74, "95": 76, "96": 77, "97": 78, "98": 80, "99": 81, "100": 86, "101": 88, "102": 89, "103": 89, "104": 89, "105": 91, "106": 91, "107": 91, "113": 147, "122": 147, "123": 148, "124": 149, "125": 149, "126": 149, "127": 150, "128": 151, "129": 152, "130": 153, "131": 153, "132": 153, "133": 153, "134": 153, "135": 155, "136": 156, "137": 156, "138": 156, "144": 161, "152": 161, "153": 162, "154": 163, "155": 164, "156": 164, "157": 164, "158": 164, "159": 164, "160": 164, "161": 164, "167": 95, "177": 95, "178": 96, "179": 97, "180": 98, "181": 100, "182": 101, "183": 103, "184": 104, "185": 105, "186": 106, "187": 107, "188": 109, "189": 113, "190": 114, "191": 117, "192": 118, "193": 118, "194": 118, "195": 119, "196": 120, "197": 120, "198": 120, "204": 3, "231": 3, "232": 7, "233": 8, "234": 9, "235": 10, "236": 12, "237": 13, "238": 15, "239": 16, "240": 18, "241": 21, "242": 22, "243": 25, "244": 25, "245": 25, "246": 28, "247": 29, "248": 29, "249": 29, "250": 31, "251": 32, "252": 32, "253": 32, "254": 32, "255": 34, "256": 34, "257": 35, "258": 35, "259": 36, "260": 37, "261": 37, "262": 37, "263": 39, "264": 40, "265": 41, "266": 42, "267": 42, "268": 42, "269": 42, "270": 42, "271": 42, "272": 42, "273": 45, "274": 46, "275": 47, "276": 47, "277": 47, "278": 49, "279": 50, "280": 51, "281": 51, "282": 51, "283": 53, "284": 54, "285": 54, "286": 54, "287": 56, "288": 57, "289": 57, "290": 58, "291": 59, "292": 60, "293": 61, "294": 61, "295": 61, "296": 63, "297": 64, "298": 64, "304": 298}}
__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 = 1434042007.2524738
_modified_time = 1434045607.104168
_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_script', 'comment_form', 'comment_link']
def _mako_get_namespace(context, name):
@ -19,6 +19,9 @@ def _mako_get_namespace(context, name):
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'facebook')] = ns
ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'isso')] = ns
@ -28,17 +31,14 @@ 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('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'facebook')] = ns
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'muut')] = ns
ns = runtime.TemplateNamespace('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('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'livefyre')] = ns
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'muut')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
@ -64,14 +64,14 @@ def render_body(context,**pageargs):
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
facebook = _mako_get_namespace(context, 'facebook')
googleplus = _mako_get_namespace(context, 'googleplus')
muut = _mako_get_namespace(context, 'muut')
disqus = _mako_get_namespace(context, 'disqus')
comment_system = context.get('comment_system', UNDEFINED)
intensedebate = _mako_get_namespace(context, 'intensedebate')
livefyre = _mako_get_namespace(context, 'livefyre')
isso = _mako_get_namespace(context, 'isso')
intensedebate = _mako_get_namespace(context, 'intensedebate')
facebook = _mako_get_namespace(context, 'facebook')
comment_system = context.get('comment_system', UNDEFINED)
muut = _mako_get_namespace(context, 'muut')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@ -107,63 +107,17 @@ 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:
googleplus = _mako_get_namespace(context, 'googleplus')
muut = _mako_get_namespace(context, 'muut')
disqus = _mako_get_namespace(context, 'disqus')
livefyre = _mako_get_namespace(context, 'livefyre')
isso = _mako_get_namespace(context, 'isso')
intensedebate = _mako_get_namespace(context, 'intensedebate')
facebook = _mako_get_namespace(context, 'facebook')
comment_system = context.get('comment_system', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
__M_writer(' ')
__M_writer(str(disqus.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'livefyre':
__M_writer(' ')
__M_writer(str(livefyre.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'intensedebate':
__M_writer(' ')
__M_writer(str(intensedebate.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'muut':
__M_writer(' ')
__M_writer(str(muut.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'googleplus':
__M_writer(' ')
__M_writer(str(googleplus.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'facebook':
__M_writer(' ')
__M_writer(str(facebook.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'isso':
__M_writer(' ')
__M_writer(str(isso.comment_link(link, identifier)))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
facebook = _mako_get_namespace(context, 'facebook')
googleplus = _mako_get_namespace(context, 'googleplus')
muut = _mako_get_namespace(context, 'muut')
disqus = _mako_get_namespace(context, 'disqus')
comment_system = context.get('comment_system', UNDEFINED)
intensedebate = _mako_get_namespace(context, 'intensedebate')
livefyre = _mako_get_namespace(context, 'livefyre')
isso = _mako_get_namespace(context, 'isso')
intensedebate = _mako_get_namespace(context, 'intensedebate')
facebook = _mako_get_namespace(context, 'facebook')
comment_system = context.get('comment_system', UNDEFINED)
muut = _mako_get_namespace(context, 'muut')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
@ -199,8 +153,54 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
facebook = _mako_get_namespace(context, 'facebook')
googleplus = _mako_get_namespace(context, 'googleplus')
disqus = _mako_get_namespace(context, 'disqus')
comment_system = context.get('comment_system', UNDEFINED)
intensedebate = _mako_get_namespace(context, 'intensedebate')
livefyre = _mako_get_namespace(context, 'livefyre')
isso = _mako_get_namespace(context, 'isso')
muut = _mako_get_namespace(context, 'muut')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
__M_writer(' ')
__M_writer(str(disqus.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'livefyre':
__M_writer(' ')
__M_writer(str(livefyre.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'intensedebate':
__M_writer(' ')
__M_writer(str(intensedebate.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'muut':
__M_writer(' ')
__M_writer(str(muut.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'googleplus':
__M_writer(' ')
__M_writer(str(googleplus.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'facebook':
__M_writer(' ')
__M_writer(str(facebook.comment_link(link, identifier)))
__M_writer('\n')
elif comment_system == 'isso':
__M_writer(' ')
__M_writer(str(isso.comment_link(link, identifier)))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"22": 9, "25": 7, "28": 5, "31": 8, "34": 6, "37": 3, "40": 4, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl"}
{"uri": "comments_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "line_map": {"22": 8, "25": 9, "28": 7, "31": 5, "34": 4, "37": 3, "40": 6, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}}
__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 = 1434042007.2769365
_modified_time = 1434045607.1286585
_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_script', 'comment_form', 'comment_link']
import json
@ -44,23 +44,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('#disqus_thread" data-disqus-identifier="')
__M_writer(str(identifier))
__M_writer('">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:
@ -93,8 +76,25 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <a href="')
__M_writer(str(link))
__M_writer('#disqus_thread" data-disqus-identifier="')
__M_writer(str(identifier))
__M_writer('">Comments</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "comments_helper_disqus.tmpl"}
{"uri": "comments_helper_disqus.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 5, "53": 5, "54": 6, "55": 7, "56": 9, "57": 9, "58": 10, "59": 11, "60": 11, "61": 11, "62": 13, "63": 13, "64": 13, "65": 14, "66": 14, "67": 16, "68": 17, "69": 18, "70": 19, "71": 19, "72": 19, "73": 21, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}}
__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 = 1434042007.3138545
_modified_time = 1434045607.1654923
_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_script', 'comment_form', 'comment_link']
def render_body(context,**pageargs):
@ -38,18 +38,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:
@ -65,8 +53,20 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<span class="fb-comments-count" data-url="')
__M_writer(str(link))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "comments_helper_facebook.tmpl"}
{"uri": "comments_helper_facebook.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 2, "60": 28, "46": 2, "47": 8, "48": 8, "49": 25, "50": 25, "20": 26, "21": 30, "22": 62, "56": 28, "15": 0, "28": 32, "61": 29, "62": 29}}
__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 = 1434042007.3080225
_modified_time = 1434045607.159658
_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_script', 'comment_form', 'comment_link']
def render_body(context,**pageargs):
@ -35,18 +35,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<div class="g-commentcount" data-href="')
__M_writer(str(link))
__M_writer('"></div>\n<script src="https://apis.google.com/js/plusone.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -59,8 +47,20 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<div class="g-commentcount" data-href="')
__M_writer(str(link))
__M_writer('"></div>\n<script src="https://apis.google.com/js/plusone.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "comments_helper_googleplus.tmpl"}
{"uri": "comments_helper_googleplus.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "line_map": {"32": 16, "54": 11, "38": 2, "42": 2, "43": 5, "44": 5, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 16, "62": 56}}
__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 = 1434042007.2947292
_modified_time = 1434045607.1463983
_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_script', 'comment_form', 'comment_link']
def render_body(context,**pageargs):
@ -35,6 +35,23 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer("\n<script>\nvar idcomments_acct = '")
__M_writer(str(comment_system_id))
__M_writer('\';\nvar idcomments_post_id = "')
__M_writer(str(identifier))
__M_writer('";\nvar idcomments_post_url = "')
__M_writer(str(url))
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -56,25 +73,8 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer("\n<script>\nvar idcomments_acct = '")
__M_writer(str(comment_system_id))
__M_writer('\';\nvar idcomments_post_id = "')
__M_writer(str(identifier))
__M_writer('";\nvar idcomments_post_url = "')
__M_writer(str(url))
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"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": 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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "comments_helper_intensedebate.tmpl"}
{"uri": "comments_helper_intensedebate.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "line_map": {"64": 14, "65": 16, "66": 16, "67": 17, "68": 17, "69": 18, "70": 18, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 2, "43": 2, "44": 4, "45": 4, "46": 5, "47": 5, "48": 6, "49": 6, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}}
__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 = 1434042007.3217528
_modified_time = 1434045607.1733532
_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_script', 'comment_form', 'comment_link']
def render_body(context,**pageargs):
@ -42,21 +42,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:
@ -76,8 +61,23 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <a href="')
__M_writer(str(link))
__M_writer('#isso-thread">Comments</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"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": 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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "comments_helper_isso.tmpl"}
{"uri": "comments_helper_isso.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "line_map": {"64": 9, "69": 9, "70": 10, "71": 11, "72": 11, "73": 11, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 2, "50": 2, "51": 3, "52": 4, "53": 4, "54": 4, "55": 5, "56": 5, "57": 5, "58": 5}}
__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 = 1434042007.2870407
_modified_time = 1434045607.1387527
_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_script', 'comment_form', 'comment_link']
def render_body(context,**pageargs):
@ -35,6 +35,21 @@ def render_comment_link_script(context):
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
__M_writer(str(identifier))
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
__M_writer(str(comment_system_id))
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -52,23 +67,8 @@ def render_comment_link(context,link,identifier):
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
__M_writer(str(identifier))
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
__M_writer(str(comment_system_id))
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "comments_helper_livefyre.tmpl"}
{"uri": "comments_helper_livefyre.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "line_map": {"32": 31, "64": 25, "59": 24, "70": 64, "38": 2, "63": 25, "60": 24, "43": 2, "44": 7, "45": 7, "46": 11, "15": 0, "20": 21, "21": 28, "22": 33, "58": 23, "47": 11, "28": 31, "61": 25, "62": 25, "53": 23}}
__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 = 1434042007.302347
_modified_time = 1434045607.1539783
_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_script', 'comment_form', 'comment_link']
def render_body(context,**pageargs):
@ -36,16 +36,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')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
@ -63,8 +53,18 @@ def render_comment_form(context,url,title,identifier):
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl"}
{"uri": "comments_helper_muut.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "line_map": {"33": 11, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "47": 4, "60": 7, "29": 11}}
__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 = 1434042007.448851
_modified_time = 1434045607.3001914
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl'
_template_uri = 'crumbs.tmpl'
@ -52,6 +52,6 @@ def render_bar(context,crumbs):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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"}
{"uri": "crumbs.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl", "line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}}
__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 = 1434042007.2165008
_modified_time = 1434045607.068369
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl'
_template_uri = 'index.tmpl'
_source_encoding = 'utf-8'
_exports = ['content', 'content_header', 'extra_head']
_exports = ['content_header', 'content', 'extra_head']
def _mako_get_namespace(context, name):
@ -32,21 +32,21 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
comments = _mako_get_namespace(context, 'comments')
parent = context.get('parent', UNDEFINED)
def content_header():
return render_content_header(context._locals(__M_locals))
helper = _mako_get_namespace(context, 'helper')
index_teasers = context.get('index_teasers', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
index_file = context.get('index_file', UNDEFINED)
def content_header():
return render_content_header(context._locals(__M_locals))
permalink = context.get('permalink', UNDEFINED)
posts = context.get('posts', UNDEFINED)
index_file = context.get('index_file', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
def extra_head():
return render_extra_head(context._locals(__M_locals))
date_format = context.get('date_format', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
index_teasers = context.get('index_teasers', UNDEFINED)
parent = context.get('parent', UNDEFINED)
posts = context.get('posts', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -66,19 +66,30 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_content_header(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def content_header():
return render_content_header(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
comments = _mako_get_namespace(context, 'comments')
def content_header():
return render_content_header(context)
helper = _mako_get_namespace(context, 'helper')
index_teasers = context.get('index_teasers', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context)
posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content_header():
return render_content_header(context)
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
index_teasers = context.get('index_teasers', UNDEFINED)
posts = context.get('posts', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
__M_writer = context.writer()
__M_writer('\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
@ -130,24 +141,13 @@ def render_content(context,**pageargs):
context.caller_stack._pop_frame()
def render_content_header(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def content_header():
return render_content_header(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
permalink = context.get('permalink', UNDEFINED)
index_file = context.get('index_file', UNDEFINED)
posts = context.get('posts', UNDEFINED)
parent = context.get('parent', UNDEFINED)
posts = context.get('posts', UNDEFINED)
def extra_head():
return render_extra_head(context)
__M_writer = context.writer()
@ -165,6 +165,6 @@ def render_extra_head(context,**pageargs):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"133": 14, "144": 6, "22": 3, "25": 2, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl"}
{"uri": "index.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "line_map": {"128": 32, "129": 33, "130": 33, "131": 35, "132": 38, "133": 39, "134": 39, "135": 40, "136": 40, "137": 41, "138": 41, "144": 6, "22": 3, "25": 2, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 14, "80": 13, "94": 13, "99": 14, "100": 16, "101": 17, "102": 17, "103": 17, "104": 19, "105": 19, "106": 19, "107": 19, "108": 21, "109": 21, "110": 22, "111": 22, "112": 22, "113": 22, "114": 22, "115": 22, "116": 22, "117": 22, "118": 23, "119": 24, "120": 24, "121": 24, "122": 26, "123": 28, "124": 29, "125": 30, "126": 30, "127": 31}}
__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 = 1434042007.2351615
_modified_time = 1434045607.0869052
_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,8 +40,8 @@ def render_mathjax_script(context,posts):
def render_html_pager(context):
__M_caller = context.caller_stack._push_frame()
try:
nextlink = context.get('nextlink', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
@ -67,6 +67,6 @@ def render_html_pager(context):
"""
__M_BEGIN_METADATA
{"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"}
{"uri": "index_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl", "line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 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}}
__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 = 1434042007.4693956
_modified_time = 1434045607.3205817
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
_template_uri = 'list.tmpl'
@ -27,10 +27,10 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
def content():
return render_content(context._locals(__M_locals))
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
@ -47,10 +47,10 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def content():
return render_content(context)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context)
title = context.get('title', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
@ -77,6 +77,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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"}
{"uri": "list.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}}
__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 = 1434042007.4842474
_modified_time = 1434045607.335186
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context)
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
posts = context.get('posts', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
__M_writer(str(title))
@ -85,6 +85,6 @@ def render_content(context,**pageargs):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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"}
{"uri": "list_post.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl", "line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}}
__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 = 1434042007.437249
_modified_time = 1434045607.2886748
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
@ -31,17 +31,17 @@ def render_body(context,**pageargs):
__M_locals = __M_dict_builtin(pageargs=pageargs)
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
code = _import_ns.get('code', context.get('code', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
ui = _mako_get_namespace(context, 'ui')
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
@ -65,13 +65,13 @@ def render_content(context,**pageargs):
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
code = _import_ns.get('code', context.get('code', UNDEFINED))
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
def content():
return render_content(context)
ui = _mako_get_namespace(context, 'ui')
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(ui.bar(crumbs)))
@ -124,6 +124,6 @@ def render_sourcelink(context,**pageargs):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "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"}
{"uri": "listing.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}}
__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 = 1434042007.5122461
_modified_time = 1434045607.3627915
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
site_has_comments = context.get('site_has_comments', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
def content():
return render_content(context._locals(__M_locals))
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
def extra_head():
return render_extra_head(context._locals(__M_locals))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
parent = context.get('parent', UNDEFINED)
messages = context.get('messages', UNDEFINED)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
@ -79,12 +79,12 @@ def render_content(context,**pageargs):
try:
def content():
return render_content(context)
post = context.get('post', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
site_has_comments = context.get('site_has_comments', UNDEFINED)
messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="post-')
__M_writer(str(post.meta('type')))
@ -116,11 +116,11 @@ def render_content(context,**pageargs):
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if show_sourcelink:
@ -138,8 +138,8 @@ def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
parent = context.get('parent', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
post = context.get('post', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
def extra_head():
return render_extra_head(context)
__M_writer = context.writer()
@ -183,6 +183,6 @@ def render_extra_head(context,**pageargs):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 4, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 2, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl"}
{"uri": "post.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/post.tmpl", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 4, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 2, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}}
__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 = 1434042007.5761755
_modified_time = 1434045607.4267452
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_title', 'html_post_header', 'html_sourcelink', 'html_translations']
_exports = ['html_title', 'html_sourcelink', 'html_post_header', 'html_translations']
def _mako_get_namespace(context, name):
@ -59,20 +59,39 @@ def render_html_title(context):
context.caller_stack._pop_frame()
def render_html_sourcelink(context):
__M_caller = context.caller_stack._push_frame()
try:
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
__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')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_post_header(context):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
date_format = context.get('date_format', UNDEFINED)
def html_title():
return render_html_title(context)
site_has_comments = context.get('site_has_comments', 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)
site_has_comments = context.get('site_has_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n <header>\n ')
__M_writer(str(html_title()))
@ -112,32 +131,13 @@ def render_html_post_header(context):
context.caller_stack._pop_frame()
def render_html_sourcelink(context):
__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)
__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')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
lang = context.get('lang', UNDEFINED)
len = context.get('len', UNDEFINED)
messages = context.get('messages', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(post.translated_to) > 1:
@ -161,6 +161,6 @@ def render_html_translations(context,post):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"128": 26, "150": 17, "134": 11, "162": 156, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 3, "151": 17, "152": 17, "25": 2, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 30, "77": 30, "78": 32, "79": 32, "80": 34, "81": 34, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 35, "88": 35, "89": 35, "90": 36, "91": 37, "92": 37, "93": 37, "94": 39, "95": 39, "96": 39, "97": 40, "98": 41, "99": 41, "100": 41, "101": 41, "102": 41, "103": 43, "104": 44, "105": 44, "106": 44, "107": 46, "108": 47, "109": 47, "115": 24, "153": 17, "122": 24, "123": 25, "124": 26, "125": 26, "126": 26, "127": 26}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl"}
{"uri": "post_header.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "line_map": {"128": 47, "150": 17, "134": 11, "142": 11, "143": 12, "144": 13, "145": 14, "146": 14, "147": 15, "148": 16, "149": 17, "22": 3, "151": 17, "152": 17, "25": 2, "154": 17, "155": 17, "28": 0, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 20, "44": 5, "50": 5, "51": 6, "52": 7, "53": 7, "54": 7, "55": 7, "56": 7, "62": 24, "69": 24, "70": 25, "71": 26, "72": 26, "73": 26, "74": 26, "75": 26, "162": 156, "81": 30, "153": 17, "96": 30, "97": 32, "98": 32, "99": 34, "100": 34, "101": 35, "102": 35, "103": 35, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 36, "110": 37, "111": 37, "112": 37, "113": 39, "114": 39, "115": 39, "116": 40, "117": 41, "118": 41, "119": 41, "120": 41, "121": 41, "122": 43, "123": 44, "124": 44, "125": 44, "126": 46, "127": 47}}
__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 = 1434042007.543795
_modified_time = 1434045607.3943834
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
_template_uri = 'post_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['mathjax_script', 'html_pager', 'html_tags', 'meta_translations', 'twitter_card_information', 'open_graph_metadata']
_exports = ['open_graph_metadata', 'twitter_card_information', 'html_pager', 'html_tags', 'meta_translations', 'mathjax_script']
def render_body(context,**pageargs):
@ -29,13 +29,79 @@ def render_body(context,**pageargs):
context.caller_stack._pop_frame()
def render_mathjax_script(context,post):
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
striphtml = context.get('striphtml', UNDEFINED)
lang = context.get('lang', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
__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')
if use_open_graph:
__M_writer(' <meta property="og:site_name" content="')
__M_writer(striphtml(str(blog_title)))
__M_writer('">\n <meta property="og:title" content="')
__M_writer(filters.html_escape(str(post.title()[:70])))
__M_writer('">\n <meta property="og:url" content="')
__M_writer(str(abs_link(permalink)))
__M_writer('">\n')
if post.description():
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.description()[:200])))
__M_writer('">\n')
else:
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
__M_writer('">\n')
if post.previewimage:
__M_writer(' <meta property="og:image" content="')
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
__M_writer('">\n')
__M_writer(' <meta property="og:type" content="article">\n')
if post.date.isoformat():
__M_writer(' <meta property="article:published_time" content="')
__M_writer(str(post.date.isoformat()))
__M_writer('">\n')
if post.tags:
for tag in post.tags:
__M_writer(' <meta property="article:tag" content="')
__M_writer(str(tag))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
twitter_card = context.get('twitter_card', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if twitter_card and twitter_card['use_twitter_cards']:
__M_writer(' <meta name="twitter:card" content="')
__M_writer(filters.html_escape(str(twitter_card.get('card', 'summary'))))
__M_writer('">\n')
if 'site:id' in twitter_card:
__M_writer(' <meta name="twitter:site:id" content="')
__M_writer(str(twitter_card['site:id']))
__M_writer('">\n')
elif 'site' in twitter_card:
__M_writer(' <meta name="twitter:site" content="')
__M_writer(str(twitter_card['site']))
__M_writer('">\n')
if 'creator:id' in twitter_card:
__M_writer(' <meta name="twitter:creator:id" content="')
__M_writer(str(twitter_card['creator:id']))
__M_writer('">\n')
elif 'creator' in twitter_card:
__M_writer(' <meta name="twitter:creator" content="')
__M_writer(str(twitter_card['creator']))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
@ -74,8 +140,8 @@ def render_html_pager(context,post):
def render_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
hidden_tags = context.get('hidden_tags', UNDEFINED)
_link = context.get('_link', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if post.tags:
@ -96,9 +162,9 @@ def render_html_tags(context,post):
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
lang = context.get('lang', UNDEFINED)
len = context.get('len', UNDEFINED)
translations = context.get('translations', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
@ -114,79 +180,13 @@ def render_meta_translations(context,post):
context.caller_stack._pop_frame()
def render_twitter_card_information(context,post):
def render_mathjax_script(context,post):
__M_caller = context.caller_stack._push_frame()
try:
twitter_card = context.get('twitter_card', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if twitter_card and twitter_card['use_twitter_cards']:
__M_writer(' <meta name="twitter:card" content="')
__M_writer(filters.html_escape(str(twitter_card.get('card', 'summary'))))
__M_writer('">\n')
if 'site:id' in twitter_card:
__M_writer(' <meta name="twitter:site:id" content="')
__M_writer(str(twitter_card['site:id']))
__M_writer('">\n')
elif 'site' in twitter_card:
__M_writer(' <meta name="twitter:site" content="')
__M_writer(str(twitter_card['site']))
__M_writer('">\n')
if 'creator:id' in twitter_card:
__M_writer(' <meta name="twitter:creator:id" content="')
__M_writer(str(twitter_card['creator:id']))
__M_writer('">\n')
elif 'creator' in twitter_card:
__M_writer(' <meta name="twitter:creator" content="')
__M_writer(str(twitter_card['creator']))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
lang = context.get('lang', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
__M_writer(' <meta property="og:site_name" content="')
__M_writer(striphtml(str(blog_title)))
__M_writer('">\n <meta property="og:title" content="')
__M_writer(filters.html_escape(str(post.title()[:70])))
__M_writer('">\n <meta property="og:url" content="')
__M_writer(str(abs_link(permalink)))
__M_writer('">\n')
if post.description():
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.description()[:200])))
__M_writer('">\n')
else:
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
__M_writer('">\n')
if post.previewimage:
__M_writer(' <meta property="og:image" content="')
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
__M_writer('">\n')
__M_writer(' <meta property="og:type" content="article">\n')
if post.date.isoformat():
__M_writer(' <meta property="article:published_time" content="')
__M_writer(str(post.date.isoformat()))
__M_writer('">\n')
if post.tags:
for tag in post.tags:
__M_writer(' <meta property="article:tag" content="')
__M_writer(str(tag))
__M_writer('">\n')
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()
@ -194,6 +194,6 @@ def render_open_graph_metadata(context,post):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 87, "36": 87, "37": 88, "38": 89, "44": 25, "49": 25, "50": 26, "51": 27, "52": 28, "53": 29, "54": 30, "55": 30, "56": 30, "57": 30, "58": 30, "59": 30, "60": 33, "61": 34, "62": 35, "63": 35, "64": 35, "65": 35, "66": 35, "67": 35, "68": 38, "74": 13, "80": 13, "81": 14, "82": 15, "83": 16, "84": 17, "85": 18, "86": 18, "87": 18, "88": 18, "89": 18, "90": 21, "96": 3, "103": 3, "104": 4, "105": 5, "106": 6, "107": 7, "108": 7, "109": 7, "110": 7, "111": 7, "117": 71, "122": 71, "123": 72, "124": 73, "125": 73, "126": 73, "127": 74, "128": 75, "129": 75, "130": 75, "131": 76, "132": 77, "133": 77, "134": 77, "135": 79, "136": 80, "137": 80, "138": 80, "139": 81, "140": 82, "141": 82, "142": 82, "148": 42, "159": 42, "160": 43, "161": 44, "162": 44, "163": 44, "164": 45, "165": 45, "166": 46, "167": 46, "168": 47, "169": 48, "170": 48, "171": 48, "172": 49, "173": 50, "174": 50, "175": 50, "176": 52, "177": 53, "178": 53, "179": 53, "180": 55, "181": 60, "182": 61, "183": 61, "184": 61, "185": 63, "186": 64, "187": 65, "188": 65, "189": 65, "195": 189}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl"}
{"uri": "post_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 42, "43": 42, "44": 43, "45": 44, "46": 44, "47": 44, "48": 45, "49": 45, "50": 46, "51": 46, "52": 47, "53": 48, "54": 48, "55": 48, "56": 49, "57": 50, "58": 50, "59": 50, "60": 52, "61": 53, "62": 53, "63": 53, "64": 55, "65": 60, "66": 61, "67": 61, "68": 61, "69": 63, "70": 64, "71": 65, "72": 65, "73": 65, "79": 71, "84": 71, "85": 72, "86": 73, "87": 73, "88": 73, "89": 74, "90": 75, "91": 75, "92": 75, "93": 76, "94": 77, "95": 77, "96": 77, "97": 79, "98": 80, "99": 80, "100": 80, "101": 81, "102": 82, "103": 82, "104": 82, "110": 25, "115": 25, "116": 26, "117": 27, "118": 28, "119": 29, "120": 30, "121": 30, "122": 30, "123": 30, "124": 30, "125": 30, "126": 33, "127": 34, "128": 35, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 38, "140": 13, "146": 13, "147": 14, "148": 15, "149": 16, "150": 17, "151": 18, "152": 18, "153": 18, "154": 18, "155": 18, "156": 21, "162": 3, "169": 3, "170": 4, "171": 5, "172": 6, "173": 7, "174": 7, "175": 7, "176": 7, "177": 7, "183": 87, "187": 87, "188": 88, "189": 89, "195": 189}}
__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 = 1434042007.5995035
_modified_time = 1434045607.4500306
_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)
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
def content():
return render_content(context._locals(__M_locals))
enable_comments = context.get('enable_comments', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
post = context.get('post', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
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:
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
helper = _mako_get_namespace(context, 'helper')
def content():
return render_content(context)
enable_comments = context.get('enable_comments', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
post = context.get('post', UNDEFINED)
pheader = _mako_get_namespace(context, 'pheader')
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
{"source_encoding": "utf-8", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 4, "87": 19, "88": 22, "25": 3, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "uri": "story.tmpl"}
{"uri": "story.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 4, "87": 19, "88": 22, "25": 3, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}}
__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 = 1434042007.6530273
_modified_time = 1434045607.503597
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
_template_uri = 'tag.tmpl'
@ -27,23 +27,23 @@ def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
description = context.get('description', UNDEFINED)
tag = context.get('tag', UNDEFINED)
parent = context.get('parent', UNDEFINED)
_link = context.get('_link', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
subcategories = context.get('subcategories', UNDEFINED)
len = context.get('len', UNDEFINED)
posts = context.get('posts', UNDEFINED)
tag = context.get('tag', UNDEFINED)
translations = context.get('translations', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
date_format = context.get('date_format', UNDEFINED)
title = context.get('title', UNDEFINED)
kind = context.get('kind', UNDEFINED)
_link = context.get('_link', UNDEFINED)
parent = context.get('parent', UNDEFINED)
messages = context.get('messages', UNDEFINED)
description = context.get('description', 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'], 'extra_head'):
@ -64,20 +64,20 @@ def render_body(context,**pageargs):
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
translations = context.get('translations', UNDEFINED)
title = context.get('title', UNDEFINED)
description = context.get('description', UNDEFINED)
tag = context.get('tag', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
_link = context.get('_link', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
def content():
return render_content(context)
subcategories = context.get('subcategories', UNDEFINED)
len = context.get('len', UNDEFINED)
posts = context.get('posts', UNDEFINED)
tag = context.get('tag', UNDEFINED)
translations = context.get('translations', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
title = context.get('title', UNDEFINED)
kind = context.get('kind', UNDEFINED)
_link = context.get('_link', UNDEFINED)
messages = context.get('messages', UNDEFINED)
description = context.get('description', UNDEFINED)
posts = context.get('posts', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="tagpage">\n <header>\n <h1>')
__M_writer(filters.html_escape(str(title)))
@ -140,15 +140,15 @@ def render_content(context,**pageargs):
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
parent = context.get('parent', UNDEFINED)
tag = context.get('tag', UNDEFINED)
_link = context.get('_link', UNDEFINED)
len = context.get('len', UNDEFINED)
tag = context.get('tag', UNDEFINED)
translations = context.get('translations', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
def extra_head():
return render_extra_head(context)
kind = context.get('kind', UNDEFINED)
_link = context.get('_link', UNDEFINED)
parent = context.get('parent', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
@ -179,6 +179,6 @@ def render_extra_head(context,**pageargs):
"""
__M_BEGIN_METADATA
{"source_encoding": "utf-8", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl"}
{"uri": "tag.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}}
__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 = 1434042007.633605
_modified_time = 1434045607.484136
_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)
cat_items = context.get('cat_items', UNDEFINED)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
cat_items = context.get('cat_items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
title = context.get('title', 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:
cat_items = context.get('cat_items', UNDEFINED)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context)
cat_items = context.get('cat_items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
title = context.get('title', 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
{"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"}
{"uri": "tags.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/tags.tmpl", "line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}}
__M_END_METADATA
"""

2
cache/lastdeploy vendored
View file

@ -1 +1 @@
2015-06-11T17:00:10.869087
2015-06-11T18:00:10.268676