fixing tag

This commit is contained in:
Don Harper 2015-06-12 09:56:07 -06:00
parent 4b716afa38
commit 5737d39227
63 changed files with 2923 additions and 160 deletions

BIN
.doit.db

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,51 @@
# -*- coding:ascii -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.1457129
_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']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n\n')
__M_writer('\n')
return ''
finally:
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:
__M_writer = context.writer()
__M_writer('\n <link rel="stylesheet" href="http://assets.annotateit.org/annotator/v1.2.5/annotator.min.css">\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"20": 3, "21": 16, "15": 0, "41": 1, "27": 5, "37": 1, "47": 41, "31": 5}, "uri": "annotation_helper.tmpl", "source_encoding": "ascii", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl"}
__M_END_METADATA
"""

245
cache/.mako.tmp/base.tmpl.py vendored Normal file
View file

@ -0,0 +1,245 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124559.9076583
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
_template_uri = 'base.tmpl'
_source_encoding = 'utf-8'
_exports = ['sourcelink', 'extra_head', 'content', 'extra_js', 'belowtitle']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_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
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, ['*'])
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
len = _import_ns.get('len', context.get('len', UNDEFINED))
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
post = _import_ns.get('post', context.get('post', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
def extra_js():
return render_extra_js(context._locals(__M_locals))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
notes = _mako_get_namespace(context, 'notes')
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
def extra_head():
return render_extra_head(context._locals(__M_locals))
def content():
return render_content(context._locals(__M_locals))
base = _mako_get_namespace(context, 'base')
def belowtitle():
return render_belowtitle(context._locals(__M_locals))
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
__M_writer(str(set_locale(lang)))
__M_writer('\n')
__M_writer(str(base.html_headstart()))
__M_writer('\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
context['self'].extra_head(**pageargs)
__M_writer('\n')
__M_writer(str(template_hooks['extra_head']()))
__M_writer('\n</head>\n<body>\n<a href="#content" class="sr-only sr-only-focusable">')
__M_writer(str(messages("Skip to main content")))
__M_writer('</a>\n\n<!-- Menubar -->\n\n<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">\n <div class="container"><!-- This keeps the margins nice -->\n <div class="navbar-header">\n <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">\n <span class="sr-only">Toggle navigation</span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </button>\n <a class="navbar-brand" href="')
__M_writer(str(abs_link('/')))
__M_writer('">\n')
if logo_url:
__M_writer(' <img src="')
__M_writer(str(logo_url))
__M_writer('" alt="')
__M_writer(str(blog_title))
__M_writer('" id="logo">\n')
__M_writer('\n')
if show_blog_title:
__M_writer(' <span id="blog-title">')
__M_writer(str(blog_title))
__M_writer('</span>\n')
__M_writer(' </a>\n </div><!-- /.navbar-header -->\n <div class="collapse navbar-collapse navbar-ex1-collapse">\n <ul class="nav navbar-nav">\n ')
__M_writer(str(base.html_navigation_links()))
__M_writer('\n ')
__M_writer(str(template_hooks['menu']()))
__M_writer('\n </ul>\n')
if search_form:
__M_writer(' ')
__M_writer(str(search_form))
__M_writer('\n')
__M_writer('\n <ul class="nav navbar-nav navbar-right">\n ')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'belowtitle'):
context['self'].belowtitle(**pageargs)
__M_writer('\n')
if show_sourcelink:
__M_writer(' ')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'sourcelink'):
context['self'].sourcelink(**pageargs)
__M_writer('\n')
__M_writer(' ')
__M_writer(str(template_hooks['menu_alt']()))
__M_writer('\n </ul>\n </div><!-- /.navbar-collapse -->\n </div><!-- /.container -->\n</nav>\n\n<!-- End of Menubar -->\n\n<div class="container" id="content">\n <div class="body-content">\n <!--Body content-->\n <div class="row">\n ')
__M_writer(str(template_hooks['page_header']()))
__M_writer('\n ')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n </div>\n <!--End of body content-->\n\n <footer>\n ')
__M_writer(str(content_footer))
__M_writer('\n ')
__M_writer(str(template_hooks['page_footer']()))
__M_writer('\n </footer>\n </div>\n</div>\n\n')
__M_writer(str(base.late_load_js()))
__M_writer('\n <script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>\n <!-- fancy dates -->\n <script>\n moment.locale("')
__M_writer(str(momentjs_locales[lang]))
__M_writer('");\n fancydates(')
__M_writer(str(date_fanciness))
__M_writer(', ')
__M_writer(str(js_date_format))
__M_writer(');\n </script>\n <!-- end fancy dates -->\n ')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_js'):
context['self'].extra_js(**pageargs)
__M_writer('\n')
if annotations and post and not post.meta('noannotations'):
__M_writer(' ')
__M_writer(str(notes.code()))
__M_writer('\n')
elif not annotations and post and post.meta('annotations'):
__M_writer(' ')
__M_writer(str(notes.code()))
__M_writer('\n')
__M_writer(str(body_end))
__M_writer('\n')
__M_writer(str(template_hooks['body_end']()))
__M_writer('\n</body>\n</html>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def sourcelink():
return render_sourcelink(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def extra_head():
return render_extra_head(context)
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def content():
return render_content(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_js(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
def extra_js():
return render_extra_js(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
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, ['*'])
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
len = _import_ns.get('len', context.get('len', UNDEFINED))
base = _mako_get_namespace(context, 'base')
def belowtitle():
return render_belowtitle(context)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
__M_writer(' <li>')
__M_writer(str(base.html_translations()))
__M_writer('</li>\n')
__M_writer(' ')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "190": 66, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 3, "151": 89, "152": 91, "25": 2, "154": 92, "155": 92, "28": 0, "218": 45, "150": 89, "230": 45, "161": 51, "241": 235, "175": 6, "184": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 85, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "233": 47, "234": 47, "231": 46, "235": 49, "109": 49, "110": 50, "111": 51, "232": 47, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "126": 66, "127": 71}, "uri": "base.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base.tmpl"}
__M_END_METADATA
"""

308
cache/.mako.tmp/base_helper.tmpl.py vendored Normal file
View file

@ -0,0 +1,308 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.0383453
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
_template_uri = 'base_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_stylesheets', 'html_headstart', 'html_navigation_links', 'html_translations', 'html_feedlinks', 'late_load_js']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
__M_writer('\n\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__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)
use_bundles = context.get('use_bundles', UNDEFINED)
post = context.get('post', UNDEFINED)
notes = context.get('notes', 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_headstart(context):
__M_caller = context.caller_stack._push_frame()
try:
def html_stylesheets():
return render_html_stylesheets(context)
permalink = context.get('permalink', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
comment_system_id = context.get('comment_system_id', UNDEFINED)
twitter_card = context.get('twitter_card', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
description = context.get('description', UNDEFINED)
extra_head_data = context.get('extra_head_data', UNDEFINED)
lang = context.get('lang', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
def html_feedlinks():
return render_html_feedlinks(context)
comment_system = context.get('comment_system', UNDEFINED)
title = context.get('title', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
mathjax_config = context.get('mathjax_config', UNDEFINED)
favicons = context.get('favicons', UNDEFINED)
is_rtl = context.get('is_rtl', UNDEFINED)
use_cdn = context.get('use_cdn', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<!DOCTYPE html>\n<html\n')
if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook'):
__M_writer("prefix='")
if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']):
__M_writer('og: http://ogp.me/ns# ')
if use_open_graph:
__M_writer('article: http://ogp.me/ns/article# ')
if comment_system == 'facebook':
__M_writer('fb: http://ogp.me/ns/fb# ')
__M_writer("'")
if is_rtl:
__M_writer('dir="rtl" ')
__M_writer('lang="')
__M_writer(str(lang))
__M_writer('">\n <head>\n <meta charset="utf-8">\n')
if description:
__M_writer(' <meta name="description" content="')
__M_writer(str(description))
__M_writer('">\n')
__M_writer(' <meta name="viewport" content="width=device-width, initial-scale=1">\n <title>')
__M_writer(striphtml(str(title)))
__M_writer(' | ')
__M_writer(striphtml(str(blog_title)))
__M_writer('</title>\n\n ')
__M_writer(str(html_stylesheets()))
__M_writer('\n ')
__M_writer(str(html_feedlinks()))
__M_writer('\n')
if permalink:
__M_writer(' <link rel="canonical" href="')
__M_writer(str(abs_link(permalink)))
__M_writer('">\n')
__M_writer('\n')
if favicons:
for name, file, size in favicons:
__M_writer(' <link rel="')
__M_writer(str(name))
__M_writer('" href="')
__M_writer(str(file))
__M_writer('" sizes="')
__M_writer(str(size))
__M_writer('"/>\n')
__M_writer('\n')
if comment_system == 'facebook':
__M_writer(' <meta property="fb:app_id" content="')
__M_writer(str(comment_system_id))
__M_writer('">\n')
__M_writer('\n')
if prevlink:
__M_writer(' <link rel="prev" href="')
__M_writer(str(prevlink))
__M_writer('" type="text/html">\n')
if nextlink:
__M_writer(' <link rel="next" href="')
__M_writer(str(nextlink))
__M_writer('" type="text/html">\n')
__M_writer('\n ')
__M_writer(str(mathjax_config))
__M_writer('\n')
if use_cdn:
__M_writer(' <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->\n')
else:
__M_writer(' <!--[if lt IE 9]><script src="')
__M_writer(str(url_replacer(permalink, '/assets/js/html5.js', lang)))
__M_writer('"></script><![endif]-->\n')
__M_writer('\n ')
__M_writer(str(extra_head_data))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_navigation_links(context):
__M_caller = context.caller_stack._push_frame()
try:
isinstance = context.get('isinstance', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
navigation_links = context.get('navigation_links', UNDEFINED)
rel_link = context.get('rel_link', UNDEFINED)
tuple = context.get('tuple', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for url, text in navigation_links[lang]:
if isinstance(url, tuple):
__M_writer(' <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">')
__M_writer(str(text))
__M_writer('<b class="caret"></b></a>\n <ul class="dropdown-menu">\n')
for suburl, text in url:
if rel_link(permalink, suburl) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(suburl))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
__M_writer(' </ul>\n')
else:
if rel_link(permalink, url) == "#":
__M_writer(' <li class="active"><a href="')
__M_writer(str(permalink))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(url))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_translations(context):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
messages = context.get('messages', UNDEFINED)
_link = context.get('_link', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
for langname in translations.keys():
if langname != lang:
__M_writer(' <li><a href="')
__M_writer(str(_link("index", None, langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></li>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_feedlinks(context):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
rss_link = context.get('rss_link', UNDEFINED)
len = context.get('len', 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()
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)
lang = context.get('lang', UNDEFINED)
use_bundles = context.get('use_bundles', UNDEFINED)
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_bundles:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
else:
if use_cdn:
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
else:
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
if colorbox_locales[lang]:
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
__M_writer(str(colorbox_locales[lang]))
__M_writer('.js"></script>\n')
__M_writer(' ')
__M_writer(str(social_buttons_code))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 95, "42": 95, "43": 96, "44": 97, "45": 98, "46": 100, "47": 101, "48": 103, "49": 104, "50": 105, "51": 106, "52": 107, "53": 109, "54": 113, "55": 114, "56": 117, "57": 118, "58": 118, "59": 118, "60": 119, "61": 120, "62": 120, "63": 120, "69": 3, "96": 3, "97": 7, "98": 8, "99": 9, "100": 10, "101": 12, "102": 13, "103": 15, "104": 16, "105": 18, "106": 21, "107": 22, "108": 25, "109": 25, "110": 25, "111": 28, "112": 29, "113": 29, "114": 29, "115": 31, "116": 32, "117": 32, "118": 32, "119": 32, "120": 34, "121": 34, "122": 35, "123": 35, "124": 36, "125": 37, "126": 37, "127": 37, "128": 39, "129": 40, "130": 41, "131": 42, "132": 42, "133": 42, "134": 42, "135": 42, "136": 42, "137": 42, "138": 45, "139": 46, "140": 47, "141": 47, "142": 47, "143": 49, "144": 50, "145": 51, "146": 51, "147": 51, "148": 53, "149": 54, "150": 54, "151": 54, "152": 56, "153": 57, "154": 57, "155": 58, "156": 59, "157": 60, "158": 61, "159": 61, "160": 61, "161": 63, "162": 64, "163": 64, "169": 124, "179": 124, "180": 125, "181": 126, "182": 127, "183": 127, "184": 127, "185": 129, "186": 130, "187": 131, "188": 131, "189": 131, "190": 131, "191": 131, "192": 132, "193": 133, "194": 133, "195": 133, "196": 133, "197": 133, "198": 136, "199": 137, "200": 138, "201": 139, "202": 139, "203": 139, "204": 139, "205": 139, "206": 140, "207": 141, "208": 141, "209": 141, "210": 141, "211": 141, "217": 161, "225": 161, "226": 162, "227": 163, "228": 164, "229": 164, "230": 164, "231": 164, "232": 164, "233": 164, "234": 164, "240": 147, "249": 147, "250": 148, "251": 149, "252": 149, "253": 149, "254": 150, "255": 151, "256": 152, "257": 153, "258": 153, "259": 153, "260": 153, "261": 153, "262": 155, "263": 156, "264": 156, "265": 156, "271": 67, "280": 67, "281": 68, "282": 69, "283": 70, "284": 73, "285": 74, "286": 76, "287": 77, "288": 78, "289": 80, "290": 81, "291": 86, "292": 88, "293": 89, "294": 89, "295": 89, "296": 91, "297": 91, "298": 91, "304": 298}, "uri": "base_helper.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/base_helper.tmpl"}
__M_END_METADATA
"""

206
cache/.mako.tmp/comments_helper.tmpl.py vendored Normal file
View file

@ -0,0 +1,206 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.384032
_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_form', 'comment_link_script', 'comment_link']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'muut')] = ns
ns = runtime.TemplateNamespace('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
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('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'intensedebate')] = ns
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'googleplus')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
__M_writer('\n')
__M_writer('\n')
__M_writer('\n')
__M_writer('\n')
__M_writer('\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__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:
muut = _mako_get_namespace(context, 'muut')
facebook = _mako_get_namespace(context, 'facebook')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
googleplus = _mako_get_namespace(context, 'googleplus')
intensedebate = _mako_get_namespace(context, 'intensedebate')
isso = _mako_get_namespace(context, 'isso')
disqus = _mako_get_namespace(context, 'disqus')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
__M_writer(' ')
__M_writer(str(disqus.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'livefyre':
__M_writer(' ')
__M_writer(str(livefyre.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'intensedebate':
__M_writer(' ')
__M_writer(str(intensedebate.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'muut':
__M_writer(' ')
__M_writer(str(muut.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'googleplus':
__M_writer(' ')
__M_writer(str(googleplus.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'facebook':
__M_writer(' ')
__M_writer(str(facebook.comment_form(url, title, identifier)))
__M_writer('\n')
elif comment_system == 'isso':
__M_writer(' ')
__M_writer(str(isso.comment_form(url, title, identifier)))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
muut = _mako_get_namespace(context, 'muut')
facebook = _mako_get_namespace(context, 'facebook')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
googleplus = _mako_get_namespace(context, 'googleplus')
intensedebate = _mako_get_namespace(context, 'intensedebate')
isso = _mako_get_namespace(context, 'isso')
disqus = _mako_get_namespace(context, 'disqus')
__M_writer = context.writer()
__M_writer('\n')
if comment_system == 'disqus':
__M_writer(' ')
__M_writer(str(disqus.comment_link_script()))
__M_writer('\n')
elif comment_system == 'livefyre':
__M_writer(' ')
__M_writer(str(livefyre.comment_link_script()))
__M_writer('\n')
elif comment_system == 'intensedebate':
__M_writer(' ')
__M_writer(str(intensedebate.comment_link_script()))
__M_writer('\n')
elif comment_system == 'muut':
__M_writer(' ')
__M_writer(str(muut.comment_link_script()))
__M_writer('\n')
elif comment_system == 'googleplus':
__M_writer(' ')
__M_writer(str(googleplus.comment_link_script()))
__M_writer('\n')
elif comment_system == 'facebook':
__M_writer(' ')
__M_writer(str(facebook.comment_link_script()))
__M_writer('\n')
elif comment_system == 'isso':
__M_writer(' ')
__M_writer(str(isso.comment_link_script()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
muut = _mako_get_namespace(context, 'muut')
facebook = _mako_get_namespace(context, 'facebook')
livefyre = _mako_get_namespace(context, 'livefyre')
comment_system = context.get('comment_system', UNDEFINED)
googleplus = _mako_get_namespace(context, 'googleplus')
intensedebate = _mako_get_namespace(context, 'intensedebate')
isso = _mako_get_namespace(context, 'isso')
disqus = _mako_get_namespace(context, 'disqus')
__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
{"line_map": {"22": 6, "25": 8, "28": 9, "31": 3, "34": 4, "37": 5, "40": 7, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 47, "122": 47, "123": 48, "124": 49, "125": 49, "126": 49, "127": 50, "128": 51, "129": 51, "130": 51, "131": 52, "132": 53, "133": 53, "134": 53, "135": 54, "136": 55, "137": 55, "138": 55, "139": 56, "140": 57, "141": 57, "142": 57, "143": 58, "144": 59, "145": 59, "146": 59, "147": 60, "148": 61, "149": 61, "150": 61, "156": 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}, "uri": "comments_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl"}
__M_END_METADATA
"""

View file

@ -0,0 +1,100 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.461882
_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_form', 'comment_link_script', 'comment_link']
import json
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <div id="disqus_thread"></div>\n <script>\n var disqus_shortname ="')
__M_writer(str(comment_system_id))
__M_writer('",\n')
if url:
__M_writer(' disqus_url="')
__M_writer(str(url))
__M_writer('",\n')
__M_writer(' disqus_title=')
__M_writer(str(json.dumps(title)))
__M_writer(',\n disqus_identifier="')
__M_writer(str(identifier))
__M_writer('",\n disqus_config = function () {\n')
if lang == 'es':
__M_writer(' this.language = "es_ES";\n')
else:
__M_writer(' this.language = "')
__M_writer(str(lang))
__M_writer('";\n')
__M_writer(' };\n (function() {\n var dsq = document.createElement(\'script\'); dsq.async = true;\n dsq.src = \'//\' + disqus_shortname + \'.disqus.com/embed.js\';\n (document.getElementsByTagName(\'head\')[0] || document.getElementsByTagName(\'body\')[0]).appendChild(dsq);\n })();\n </script>\n <noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>\n <a href="//disqus.com" class="dsq-brlink" rel="nofollow">Comments powered by <span class="logo-disqus">Disqus</span></a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <script>var disqus_shortname="')
__M_writer(str(comment_system_id))
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
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
{"line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 40, "69": 40, "70": 41, "71": 42, "72": 42, "73": 42, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "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"}
__M_END_METADATA
"""

View file

@ -0,0 +1,72 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.58619
_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_form', 'comment_link_script', 'comment_link']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<div id="fb-root"></div>\n<script>\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
__M_writer(str(comment_system_id))
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n\n<div class="fb-comments" data-href="')
__M_writer(str(url))
__M_writer('" data-width="470"></div>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<div id="fb-root"></div>\n<script>\n // thank lxml for this\n $(\'.fb-comments-count\').each(function(i, obj) {\n var url = obj.attributes[\'data-url\'].value;\n // change here if you dislike the default way of displaying\n // this\n obj.innerHTML = \'<fb:comments-count href="\' + url + \'"></fb:comments-count> comments\';\n });\n\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
__M_writer(str(comment_system_id))
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_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
{"line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 28, "43": 32, "15": 0, "48": 32, "49": 46, "50": 46, "20": 26, "21": 30, "22": 62, "56": 28, "68": 62, "28": 2, "61": 29, "62": 29}, "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"}
__M_END_METADATA
"""

View file

@ -0,0 +1,66 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.567008
_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_form', 'comment_link_script', 'comment_link']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n\n')
__M_writer('\n\n')
__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:
__M_writer = context.writer()
__M_writer('\n<script src="https://apis.google.com/js/plusone.js"></script>\n<div class="g-comments"\n data-href="')
__M_writer(str(url))
__M_writer('"\n data-first_party_property="BLOGGER"\n data-view_type="FILTERED_POSTMOD">\n</div>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
__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
{"line_map": {"32": 2, "33": 5, "34": 5, "54": 11, "40": 16, "44": 16, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 2, "62": 56}, "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"}
__M_END_METADATA
"""

View file

@ -0,0 +1,80 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.5196233
_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_form', 'comment_link_script', 'comment_link']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer("\n<script>\nvar idcomments_acct = '")
__M_writer(str(comment_system_id))
__M_writer('\';\nvar idcomments_post_id = "')
__M_writer(str(identifier))
__M_writer('";\nvar idcomments_post_url = "')
__M_writer(str(url))
__M_writer('";\n</script>\n<span id="IDCommentsPostTitle" style="display:none"></span>\n<script src=\'http://www.intensedebate.com/js/genericCommentWrapperV2.js\'></script>\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<a href="{link}" onclick="this.href=\'')
__M_writer(str(link))
__M_writer('\'; this.target=\'_self\';"><span class=\'IDCommentsReplace\' style=\'display:none\'>')
__M_writer(str(identifier))
__M_writer("</span>\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(link))
__M_writer('";\n</script>\n<script src="http://www.intensedebate.com/js/genericLinkWrapperV2.js"></script>\n</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"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": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 24, "49": 24, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "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"}
__M_END_METADATA
"""

View file

@ -0,0 +1,83 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.6121984
_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_form', 'comment_link_script', 'comment_link']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n\n')
__M_writer('\n\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <div data-title="')
__M_writer(filters.url_escape(str(title)))
__M_writer('" id="isso-thread"></div>\n <script src="')
__M_writer(str(comment_system_id))
__M_writer('js/embed.min.js" data-isso="')
__M_writer(str(comment_system_id))
__M_writer('"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if comment_system_id:
__M_writer(' <script src="')
__M_writer(str(comment_system_id))
__M_writer('js/count.min.js" data-isso="')
__M_writer(str(comment_system_id))
__M_writer('"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_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
{"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": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 16, "52": 16, "53": 17, "54": 18, "55": 18, "56": 18, "57": 18, "58": 18}, "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"}
__M_END_METADATA
"""

View file

@ -0,0 +1,74 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.4946015
_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_form', 'comment_link_script', 'comment_link']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n\n')
__M_writer('\n\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<div id="livefyre-comments"></div>\n<script src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>\n<script>\n(function () {\n var articleId = "')
__M_writer(str(identifier))
__M_writer('";\n fyre.conv.load({}, [{\n el: \'livefyre-comments\',\n network: "livefyre.com",\n siteId: "')
__M_writer(str(comment_system_id))
__M_writer('",\n articleId: articleId,\n signed: false,\n collectionMeta: {\n articleId: articleId,\n url: fyre.conv.load.makeCollectionUrl(),\n }\n }], function() {});\n}());\n</script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
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 <a href="')
__M_writer(str(link))
__M_writer('">\n <span class="livefyre-commentcount" data-lf-site-id="')
__M_writer(str(comment_system_id))
__M_writer('" data-lf-article-id="')
__M_writer(str(identifier))
__M_writer('">\n 0 Comments\n </span>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"64": 25, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 24, "43": 31, "63": 25, "15": 0, "59": 24, "20": 21, "21": 28, "22": 33, "58": 23, "47": 31, "28": 2, "61": 25, "62": 25, "53": 23}, "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"}
__M_END_METADATA
"""

View file

@ -0,0 +1,70 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.5447576
_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_form', 'comment_link_script', 'comment_link']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
__M_writer('\n\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_form(context,url,title,identifier):
__M_caller = context.caller_stack._push_frame()
try:
comment_system_id = context.get('comment_system_id', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n <a class="muut" href="https://muut.com/i/')
__M_writer(str(comment_system_id))
__M_writer('/')
__M_writer(str(identifier))
__M_writer('">')
__M_writer(str(comment_system_id))
__M_writer(' forums</a>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link_script(context):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_comment_link(context,link,identifier):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 11, "15": 0, "50": 11, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "60": 7, "29": 3}, "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"}
__M_END_METADATA
"""

57
cache/.mako.tmp/crumbs.tmpl.py vendored Normal file
View file

@ -0,0 +1,57 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124561.1561513
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl'
_template_uri = 'crumbs.tmpl'
_source_encoding = 'utf-8'
_exports = ['bar']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_bar(context,crumbs):
__M_caller = context.caller_stack._push_frame()
try:
index_file = context.get('index_file', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if crumbs:
__M_writer('<nav class="breadcrumbs">\n<ul class="breadcrumb">\n')
for link, text in crumbs:
if text != index_file:
if link == '#':
__M_writer(' <li>')
__M_writer(str(text.rsplit('.html', 1)[0]))
__M_writer('</li>\n')
else:
__M_writer(' <li><a href="')
__M_writer(str(link))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a></li>\n')
__M_writer('</ul>\n</nav>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"32": 3, "33": 4, "34": 5, "35": 7, "36": 8, "37": 9, "38": 10, "39": 10, "40": 10, "41": 11, "42": 12, "43": 12, "44": 12, "45": 12, "46": 12, "15": 0, "47": 16, "20": 2, "21": 19, "27": 3, "53": 47}, "uri": "crumbs.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl"}
__M_END_METADATA
"""

170
cache/.mako.tmp/index.tmpl.py vendored Normal file
View file

@ -0,0 +1,170 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.273854
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl'
_template_uri = 'index.tmpl'
_source_encoding = 'utf-8'
_exports = ['extra_head', 'content', 'content_header']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='index_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
index_file = context.get('index_file', UNDEFINED)
permalink = context.get('permalink', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
posts = context.get('posts', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
parent = context.get('parent', UNDEFINED)
def content_header():
return render_content_header(context._locals(__M_locals))
site_has_comments = context.get('site_has_comments', UNDEFINED)
index_teasers = context.get('index_teasers', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
context['self'].extra_head(**pageargs)
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
index_file = context.get('index_file', UNDEFINED)
def extra_head():
return render_extra_head(context)
permalink = context.get('permalink', UNDEFINED)
parent = context.get('parent', UNDEFINED)
posts = context.get('posts', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
__M_writer('\n')
if posts and (permalink == '/' or permalink == '/' + index_file):
__M_writer(' <link rel="prefetch" href="')
__M_writer(str(posts[0].permalink()))
__M_writer('" type="text/html">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
posts = context.get('posts', UNDEFINED)
def content():
return render_content(context)
def content_header():
return render_content_header(context)
site_has_comments = context.get('site_has_comments', UNDEFINED)
index_teasers = context.get('index_teasers', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
context['self'].content_header(**pageargs)
__M_writer('\n<div class="postindex">\n')
for post in posts:
__M_writer(' <article class="h-entry post-')
__M_writer(str(post.meta('type')))
__M_writer('">\n <header>\n <h1 class="p-name entry-title"><a href="')
__M_writer(str(post.permalink()))
__M_writer('" class="u-url">')
__M_writer(filters.html_escape(str(post.title())))
__M_writer('</a></h1>\n <div class="metadata">\n <p class="byline author vcard"><span class="byline-name fn">')
__M_writer(str(post.author()))
__M_writer('</span></p>\n <p class="dateline"><a href="')
__M_writer(str(post.permalink()))
__M_writer('" rel="bookmark"><time class="published dt-published" datetime="')
__M_writer(str(post.date.isoformat()))
__M_writer('" title="')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('">')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('</time></a></p>\n')
if not post.meta('nocomments') and site_has_comments:
__M_writer(' <p class="commentline">')
__M_writer(str(comments.comment_link(post.permalink(), post._base_path)))
__M_writer('\n')
__M_writer(' </div>\n </header>\n')
if index_teasers:
__M_writer(' <div class="p-summary entry-summary">\n ')
__M_writer(str(post.text(teaser_only=True)))
__M_writer('\n')
else:
__M_writer(' <div class="e-content entry-content">\n ')
__M_writer(str(post.text(teaser_only=False)))
__M_writer('\n')
__M_writer(' </div>\n </article>\n')
__M_writer('</div>\n')
__M_writer(str(helper.html_pager()))
__M_writer('\n')
__M_writer(str(comments.comment_link_script()))
__M_writer('\n')
__M_writer(str(helper.mathjax_script(posts)))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content_header(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def content_header():
return render_content_header(context)
__M_writer = context.writer()
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"128": 22, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 28, "135": 29, "136": 30, "137": 30, "138": 31, "139": 32, "140": 33, "141": 33, "142": 35, "143": 38, "144": 39, "145": 39, "146": 40, "147": 40, "148": 41, "149": 41, "22": 2, "25": 3, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "63": 42, "69": 6, "79": 6, "80": 7, "81": 7, "82": 8, "83": 9, "84": 9, "85": 9, "91": 13, "105": 13, "110": 14, "111": 16, "112": 17, "113": 17, "114": 17, "115": 19, "116": 19, "117": 19, "118": 19, "119": 21, "120": 21, "121": 22, "122": 22, "123": 22, "124": 22, "125": 22, "126": 22, "127": 22}, "uri": "index.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl"}
__M_END_METADATA
"""

72
cache/.mako.tmp/index_helper.tmpl.py vendored Normal file
View file

@ -0,0 +1,72 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.328914
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl'
_template_uri = 'index_helper.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_pager', 'mathjax_script']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_pager(context):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
prevlink = context.get('prevlink', UNDEFINED)
nextlink = context.get('nextlink', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if prevlink or nextlink:
__M_writer(' <nav class="postindexpager">\n <ul class="pager">\n')
if prevlink:
__M_writer(' <li class="previous">\n <a href="')
__M_writer(str(prevlink))
__M_writer('" rel="prev">')
__M_writer(str(messages("Newer posts")))
__M_writer('</a>\n </li>\n')
if nextlink:
__M_writer(' <li class="next">\n <a href="')
__M_writer(str(nextlink))
__M_writer('" rel="next">')
__M_writer(str(messages("Older posts")))
__M_writer('</a>\n </li>\n')
__M_writer(' </ul>\n </nav>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_mathjax_script(context,posts):
__M_caller = context.caller_stack._push_frame()
try:
any = context.get('any', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if any(post.is_mathjax for post in posts):
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"68": 62, "15": 0, "20": 19, "21": 27, "27": 2, "34": 2, "35": 3, "36": 4, "37": 6, "38": 7, "39": 8, "40": 8, "41": 8, "42": 8, "43": 11, "44": 12, "45": 13, "46": 13, "47": 13, "48": 13, "49": 16, "55": 21, "60": 21, "61": 22, "62": 23}, "uri": "index_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl"}
__M_END_METADATA
"""

82
cache/.mako.tmp/list.tmpl.py vendored Normal file
View file

@ -0,0 +1,82 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124559.853107
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
_template_uri = 'list.tmpl'
_source_encoding = 'utf-8'
_exports = ['content']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
pass
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
items = context.get('items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
__M_writer = context.writer()
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
__M_writer(str(title))
__M_writer('</h1>\n </header>\n')
if items:
__M_writer(' <ul class="postlist">\n')
for text, link in items:
__M_writer(' <li><a href="')
__M_writer(str(link))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a>\n')
__M_writer(' </ul>\n')
else:
__M_writer(' <p>')
__M_writer(str(messages("Nothing found.")))
__M_writer('</p>\n')
__M_writer('</article>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"64": 12, "65": 12, "66": 12, "67": 14, "68": 15, "69": 16, "70": 16, "71": 16, "72": 18, "78": 72, "26": 0, "36": 2, "41": 19, "47": 4, "56": 4, "57": 7, "58": 7, "59": 9, "60": 10, "61": 11, "62": 12, "63": 12}, "uri": "list.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl"}
__M_END_METADATA
"""

90
cache/.mako.tmp/list_post.tmpl.py vendored Normal file
View file

@ -0,0 +1,90 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.18318
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
_template_uri = 'list_post.tmpl'
_source_encoding = 'utf-8'
_exports = ['content']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
pass
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
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)
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
posts = context.get('posts', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
date_format = context.get('date_format', UNDEFINED)
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
posts = context.get('posts', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
__M_writer(str(title))
__M_writer('</h1>\n </header>\n')
if posts:
__M_writer(' <ul class="postlist">\n')
for post in posts:
__M_writer(' <li><a href="')
__M_writer(str(post.permalink()))
__M_writer('" class="listtitle">')
__M_writer(filters.html_escape(str(post.title())))
__M_writer('</a> <time class="listdate" datetime="')
__M_writer(str(post.date.isoformat()))
__M_writer('" title="')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('">')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('</time></li>\n')
__M_writer(' </ul>\n')
else:
__M_writer(' <p>')
__M_writer(str(messages("No posts found.")))
__M_writer('</p>\n')
__M_writer('</article>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"64": 12, "65": 12, "66": 12, "67": 12, "68": 12, "69": 12, "70": 12, "71": 12, "72": 12, "73": 12, "74": 12, "75": 14, "76": 15, "77": 16, "78": 16, "79": 16, "80": 18, "86": 80, "26": 0, "37": 2, "42": 19, "48": 4, "58": 4, "59": 7, "60": 7, "61": 9, "62": 10, "63": 11}, "uri": "list_post.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl"}
__M_END_METADATA
"""

129
cache/.mako.tmp/listing.tmpl.py vendored Normal file
View file

@ -0,0 +1,129 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124561.115375
_enable_loop = True
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
_template_uri = 'listing.tmpl'
_source_encoding = 'utf-8'
_exports = ['sourcelink', 'content']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('ui', context._clean_inheritance_tokens(), templateuri='crumbs.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'ui')] = ns
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
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, 'ui')._populate(_import_ns, ['bar'])
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context._locals(__M_locals))
ui = _mako_get_namespace(context, 'ui')
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
files = _import_ns.get('files', context.get('files', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'sourcelink'):
context['self'].sourcelink(**pageargs)
__M_writer('\n')
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, 'ui')._populate(_import_ns, ['bar'])
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
def sourcelink():
return render_sourcelink(context)
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
if source_link:
__M_writer(' <li>\n <a href="')
__M_writer(str(source_link))
__M_writer('" id="sourcelink">')
__M_writer(str(messages("Source")))
__M_writer('</a>\n </li>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
_import_ns = {}
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
code = _import_ns.get('code', context.get('code', UNDEFINED))
def content():
return render_content(context)
ui = _mako_get_namespace(context, 'ui')
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
files = _import_ns.get('files', context.get('files', UNDEFINED))
__M_writer = context.writer()
__M_writer('\n')
__M_writer(str(ui.bar(crumbs)))
__M_writer('\n')
if folders or files:
__M_writer('<ul class="list-unstyled">\n')
for name in folders:
__M_writer(' <li><a href="')
__M_writer(str(name))
__M_writer('"><i class="glyphicon glyphicon-folder-open"></i> ')
__M_writer(str(name))
__M_writer('</a>\n')
for name in files:
__M_writer(' <li><a href="')
__M_writer(str(name))
__M_writer('.html"><i class="glyphicon glyphicon-file"></i> ')
__M_writer(str(name))
__M_writer('</a>\n')
__M_writer('</ul>\n')
if code:
__M_writer(' ')
__M_writer(str(code))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "uri": "listing.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap3/templates/listing.tmpl"}
__M_END_METADATA
"""

188
cache/.mako.tmp/post.tmpl.py vendored Normal file
View file

@ -0,0 +1,188 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.6823864
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/post.tmpl'
_template_uri = 'post.tmpl'
_source_encoding = 'utf-8'
_exports = ['extra_head', 'content', 'sourcelink']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
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)
def extra_head():
return render_extra_head(context._locals(__M_locals))
def content():
return render_content(context._locals(__M_locals))
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
parent = context.get('parent', UNDEFINED)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
def sourcelink():
return render_sourcelink(context._locals(__M_locals))
comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
__M_writer('\n')
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
context['self'].extra_head(**pageargs)
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'sourcelink'):
context['self'].sourcelink(**pageargs)
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
helper = _mako_get_namespace(context, 'helper')
def extra_head():
return render_extra_head(context)
parent = context.get('parent', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
__M_writer('\n')
if post.meta('keywords'):
__M_writer(' <meta name="keywords" content="')
__M_writer(filters.html_escape(str(post.meta('keywords'))))
__M_writer('">\n')
if post.description():
__M_writer(' <meta name="description" itemprop="description" content="')
__M_writer(str(post.description()))
__M_writer('">\n')
__M_writer(' <meta name="author" content="')
__M_writer(str(post.author()))
__M_writer('">\n')
if post.prev_post:
__M_writer(' <link rel="prev" href="')
__M_writer(str(post.prev_post.permalink()))
__M_writer('" title="')
__M_writer(str(post.prev_post.title()))
__M_writer('" type="text/html">\n')
if post.next_post:
__M_writer(' <link rel="next" href="')
__M_writer(str(post.next_post.permalink()))
__M_writer('" title="')
__M_writer(str(post.next_post.title()))
__M_writer('" type="text/html">\n')
__M_writer(' ')
__M_writer(str(helper.open_graph_metadata(post)))
__M_writer('\n ')
__M_writer(str(helper.twitter_card_information(post)))
__M_writer('\n ')
__M_writer(str(helper.meta_translations(post)))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
pheader = _mako_get_namespace(context, 'pheader')
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
messages = context.get('messages', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
def content():
return render_content(context)
comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n<article class="post-')
__M_writer(str(post.meta('type')))
__M_writer(' h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">\n ')
__M_writer(str(pheader.html_post_header()))
__M_writer('\n <div class="e-content entry-content" itemprop="articleBody text">\n ')
__M_writer(str(post.text()))
__M_writer('\n </div>\n <aside class="postpromonav">\n <nav>\n ')
__M_writer(str(helper.html_tags(post)))
__M_writer('\n ')
__M_writer(str(helper.html_pager(post)))
__M_writer('\n </nav>\n </aside>\n')
if not post.meta('nocomments') and site_has_comments:
__M_writer(' <section class="comments">\n <h2>')
__M_writer(str(messages("Comments")))
__M_writer('</h2>\n ')
__M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
__M_writer('\n </section>\n')
__M_writer(' ')
__M_writer(str(helper.mathjax_script(post)))
__M_writer('\n</article>\n')
__M_writer(str(comments.comment_link_script()))
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_sourcelink(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
def sourcelink():
return render_sourcelink(context)
messages = context.get('messages', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if show_sourcelink:
__M_writer(' <li>\n <a href="')
__M_writer(str(post.source_link()))
__M_writer('" id="sourcelink">')
__M_writer(str(messages("Source")))
__M_writer('</a>\n </li>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"150": 41, "136": 27, "137": 28, "138": 28, "139": 29, "140": 29, "141": 31, "142": 31, "143": 35, "144": 35, "145": 36, "146": 36, "147": 39, "148": 40, "149": 41, "22": 2, "151": 42, "152": 42, "25": 3, "154": 45, "155": 45, "28": 4, "157": 47, "34": 0, "163": 50, "156": 47, "172": 50, "173": 51, "174": 52, "175": 53, "176": 53, "177": 53, "178": 53, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 7, "184": 178, "86": 7, "87": 8, "88": 8, "89": 9, "90": 10, "91": 10, "92": 10, "93": 12, "94": 13, "95": 13, "96": 13, "97": 15, "98": 15, "99": 15, "100": 16, "101": 17, "102": 17, "103": 17, "104": 17, "105": 17, "106": 19, "107": 20, "108": 20, "109": 20, "110": 20, "111": 20, "112": 22, "113": 22, "114": 22, "115": 23, "116": 23, "117": 24, "118": 24, "153": 45, "124": 27}, "uri": "post.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/post.tmpl"}
__M_END_METADATA
"""

166
cache/.mako.tmp/post_header.tmpl.py vendored Normal file
View file

@ -0,0 +1,166 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.9276314
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
_template_uri = 'post_header.tmpl'
_source_encoding = 'utf-8'
_exports = ['html_translations', 'html_sourcelink', 'html_post_header', 'html_title']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
translations = context.get('translations', UNDEFINED)
len = context.get('len', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(post.translated_to) > 1:
__M_writer(' <div class="metadata posttranslations translations">\n <h3 class="posttranslations-intro">')
__M_writer(str(messages("Also available in:")))
__M_writer('</h3>\n')
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <p><a href="')
__M_writer(str(post.permalink(langname)))
__M_writer('" rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('">')
__M_writer(str(messages("LANGUAGE", langname)))
__M_writer('</a></p>\n')
__M_writer(' </div>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_sourcelink(context):
__M_caller = context.caller_stack._push_frame()
try:
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:
def html_title():
return render_html_title(context)
messages = context.get('messages', UNDEFINED)
def html_sourcelink():
return render_html_sourcelink(context)
def html_translations(post):
return render_html_translations(context,post)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n <header>\n ')
__M_writer(str(html_title()))
__M_writer('\n <div class="metadata">\n <p class="byline author vcard"><span class="byline-name fn">')
__M_writer(str(post.author()))
__M_writer('</span></p>\n <p class="dateline"><a href="')
__M_writer(str(post.permalink()))
__M_writer('" rel="bookmark"><time class="published dt-published" datetime="')
__M_writer(str(post.date.isoformat()))
__M_writer('" itemprop="datePublished" title="')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('">')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('</time></a></p>\n')
if not post.meta('nocomments') and site_has_comments:
__M_writer(' <p class="commentline">')
__M_writer(str(comments.comment_link(post.permalink(), post._base_path)))
__M_writer('\n')
__M_writer(' ')
__M_writer(str(html_sourcelink()))
__M_writer('\n')
if post.meta('link'):
__M_writer(" <p><a href='")
__M_writer(str(post.meta('link')))
__M_writer("'>")
__M_writer(str(messages("Original site")))
__M_writer('</a></p>\n')
if post.description():
__M_writer(' <meta name="description" itemprop="description" content="')
__M_writer(str(post.description()))
__M_writer('">\n')
__M_writer(' </div>\n ')
__M_writer(str(html_translations(post)))
__M_writer('\n </header>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_title(context):
__M_caller = context.caller_stack._push_frame()
try:
title = context.get('title', UNDEFINED)
post = context.get('post', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if title and not post.meta('hidetitle'):
__M_writer(' <h1 class="p-name entry-title" itemprop="headline name"><a href="')
__M_writer(str(post.permalink()))
__M_writer('" class="u-url">')
__M_writer(filters.html_escape(str(post.title())))
__M_writer('</a></h1>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"128": 41, "129": 41, "130": 41, "131": 41, "132": 43, "133": 44, "134": 44, "135": 44, "136": 46, "137": 47, "138": 47, "144": 5, "22": 2, "151": 6, "152": 7, "25": 3, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 11, "52": 11, "53": 12, "54": 13, "55": 14, "56": 14, "57": 15, "58": 16, "59": 17, "60": 17, "61": 17, "62": 17, "63": 17, "64": 17, "65": 17, "66": 20, "72": 24, "162": 156, "79": 24, "80": 25, "81": 26, "82": 26, "83": 26, "84": 26, "85": 26, "153": 7, "91": 30, "106": 30, "107": 32, "108": 32, "109": 34, "110": 34, "111": 35, "112": 35, "113": 35, "114": 35, "115": 35, "116": 35, "117": 35, "118": 35, "119": 36, "120": 37, "121": 37, "122": 37, "123": 39, "124": 39, "125": 39, "126": 40, "127": 41}, "uri": "post_header.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl"}
__M_END_METADATA
"""

199
cache/.mako.tmp/post_helper.tmpl.py vendored Normal file
View file

@ -0,0 +1,199 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124560.8046842
_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 = ['open_graph_metadata', 'html_tags', 'mathjax_script', 'meta_translations', 'html_pager', 'twitter_card_information']
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n\n')
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_open_graph_metadata(context,post):
__M_caller = context.caller_stack._push_frame()
try:
permalink = context.get('permalink', UNDEFINED)
url_replacer = context.get('url_replacer', UNDEFINED)
blog_title = context.get('blog_title', UNDEFINED)
use_open_graph = context.get('use_open_graph', UNDEFINED)
striphtml = context.get('striphtml', UNDEFINED)
lang = context.get('lang', UNDEFINED)
abs_link = context.get('abs_link', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if use_open_graph:
__M_writer(' <meta property="og:site_name" content="')
__M_writer(striphtml(str(blog_title)))
__M_writer('">\n <meta property="og:title" content="')
__M_writer(filters.html_escape(str(post.title()[:70])))
__M_writer('">\n <meta property="og:url" content="')
__M_writer(str(abs_link(permalink)))
__M_writer('">\n')
if post.description():
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.description()[:200])))
__M_writer('">\n')
else:
__M_writer(' <meta property="og:description" content="')
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
__M_writer('">\n')
if post.previewimage:
__M_writer(' <meta property="og:image" content="')
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
__M_writer('">\n')
__M_writer(' <meta property="og:type" content="article">\n')
if post.date.isoformat():
__M_writer(' <meta property="article:published_time" content="')
__M_writer(str(post.date.isoformat()))
__M_writer('">\n')
if post.tags:
for tag in post.tags:
__M_writer(' <meta property="article:tag" content="')
__M_writer(str(tag))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_tags(context,post):
__M_caller = context.caller_stack._push_frame()
try:
_link = context.get('_link', UNDEFINED)
hidden_tags = context.get('hidden_tags', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if post.tags:
__M_writer(' <ul itemprop="keywords" class="tags">\n')
for tag in post.tags:
if tag not in hidden_tags:
__M_writer(' <li><a class="tag p-category" href="')
__M_writer(str(_link('tag', tag)))
__M_writer('" rel="tag">')
__M_writer(str(tag))
__M_writer('</a></li>\n')
__M_writer(' </ul>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_mathjax_script(context,post):
__M_caller = context.caller_stack._push_frame()
try:
__M_writer = context.writer()
__M_writer('\n')
if post.is_mathjax:
__M_writer(' <script type="text/x-mathjax-config">\n MathJax.Hub.Config({tex2jax: {inlineMath: [[\'$latex \',\'$\'], [\'\\\\(\',\'\\\\)\']]}});</script>\n <script src="/assets/js/mathjax.js"></script>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_meta_translations(context,post):
__M_caller = context.caller_stack._push_frame()
try:
translations = context.get('translations', UNDEFINED)
len = context.get('len', UNDEFINED)
lang = context.get('lang', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if len(translations) > 1:
for langname in translations.keys():
if langname != lang and post.is_translation_available(langname):
__M_writer(' <link rel="alternate" hreflang="')
__M_writer(str(langname))
__M_writer('" href="')
__M_writer(str(post.permalink(langname)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_html_pager(context,post):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if post.prev_post or post.next_post:
__M_writer(' <ul class="pager">\n')
if post.prev_post:
__M_writer(' <li class="previous">\n <a href="')
__M_writer(str(post.prev_post.permalink()))
__M_writer('" rel="prev" title="')
__M_writer(filters.html_escape(str(post.prev_post.title())))
__M_writer('">')
__M_writer(str(messages("Previous post")))
__M_writer('</a>\n </li>\n')
if post.next_post:
__M_writer(' <li class="next">\n <a href="')
__M_writer(str(post.next_post.permalink()))
__M_writer('" rel="next" title="')
__M_writer(filters.html_escape(str(post.next_post.title())))
__M_writer('">')
__M_writer(str(messages("Next post")))
__M_writer('</a>\n </li>\n')
__M_writer(' </ul>\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_twitter_card_information(context,post):
__M_caller = context.caller_stack._push_frame()
try:
twitter_card = context.get('twitter_card', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n')
if twitter_card and twitter_card['use_twitter_cards']:
__M_writer(' <meta name="twitter:card" content="')
__M_writer(filters.html_escape(str(twitter_card.get('card', 'summary'))))
__M_writer('">\n')
if 'site:id' in twitter_card:
__M_writer(' <meta name="twitter:site:id" content="')
__M_writer(str(twitter_card['site:id']))
__M_writer('">\n')
elif 'site' in twitter_card:
__M_writer(' <meta name="twitter:site" content="')
__M_writer(str(twitter_card['site']))
__M_writer('">\n')
if 'creator:id' in twitter_card:
__M_writer(' <meta name="twitter:creator:id" content="')
__M_writer(str(twitter_card['creator:id']))
__M_writer('">\n')
elif 'creator' in twitter_card:
__M_writer(' <meta name="twitter:creator" content="')
__M_writer(str(twitter_card['creator']))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"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": 13, "85": 13, "86": 14, "87": 15, "88": 16, "89": 17, "90": 18, "91": 18, "92": 18, "93": 18, "94": 18, "95": 21, "101": 87, "105": 87, "106": 88, "107": 89, "113": 3, "120": 3, "121": 4, "122": 5, "123": 6, "124": 7, "125": 7, "126": 7, "127": 7, "128": 7, "134": 25, "139": 25, "140": 26, "141": 27, "142": 28, "143": 29, "144": 30, "145": 30, "146": 30, "147": 30, "148": 30, "149": 30, "150": 33, "151": 34, "152": 35, "153": 35, "154": 35, "155": 35, "156": 35, "157": 35, "158": 38, "164": 71, "169": 71, "170": 72, "171": 73, "172": 73, "173": 73, "174": 74, "175": 75, "176": 75, "177": 75, "178": 76, "179": 77, "180": 77, "181": 77, "182": 79, "183": 80, "184": 80, "185": 80, "186": 81, "187": 82, "188": 82, "189": 82, "195": 189}, "uri": "post_helper.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl"}
__M_END_METADATA
"""

100
cache/.mako.tmp/story.tmpl.py vendored Normal file
View file

@ -0,0 +1,100 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124561.0056357
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
_template_uri = 'story.tmpl'
_source_encoding = 'utf-8'
_exports = ['content']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'helper')] = ns
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'pheader')] = ns
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
context.namespaces[(__name__, 'comments')] = ns
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'post.tmpl', _template_uri)
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)
def content():
return render_content(context._locals(__M_locals))
enable_comments = context.get('enable_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
comments = _mako_get_namespace(context, 'comments')
__M_writer = context.writer()
__M_writer('\n')
__M_writer('\n')
__M_writer('\n')
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
pheader = _mako_get_namespace(context, 'pheader')
messages = context.get('messages', UNDEFINED)
def content():
return render_content(context)
enable_comments = context.get('enable_comments', UNDEFINED)
post = context.get('post', UNDEFINED)
site_has_comments = context.get('site_has_comments', UNDEFINED)
helper = _mako_get_namespace(context, 'helper')
comments = _mako_get_namespace(context, 'comments')
__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()))
__M_writer('\n ')
__M_writer(str(pheader.html_translations(post)))
__M_writer('\n </header>\n <div class="e-content entry-content" itemprop="articleBody text">\n ')
__M_writer(str(post.text()))
__M_writer('\n </div>\n')
if site_has_comments and enable_comments and not post.meta('nocomments'):
__M_writer(' <section class="comments">\n <h2>')
__M_writer(str(messages("Comments")))
__M_writer('</h2>\n ')
__M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)))
__M_writer('\n </section>\n')
__M_writer(' ')
__M_writer(str(helper.mathjax_script(post)))
__M_writer('\n</article>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 2, "87": 19, "88": 22, "25": 3, "90": 22, "28": 4, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "uri": "story.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl"}
__M_END_METADATA
"""

184
cache/.mako.tmp/tag.tmpl.py vendored Normal file
View file

@ -0,0 +1,184 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124561.3023374
_enable_loop = True
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
_template_uri = 'tag.tmpl'
_source_encoding = 'utf-8'
_exports = ['extra_head', 'content']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
pass
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'list_post.tmpl', _template_uri)
def render_body(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
__M_locals = __M_dict_builtin(pageargs=pageargs)
messages = context.get('messages', UNDEFINED)
def extra_head():
return render_extra_head(context._locals(__M_locals))
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
posts = context.get('posts', UNDEFINED)
translations = context.get('translations', UNDEFINED)
len = context.get('len', UNDEFINED)
parent = context.get('parent', UNDEFINED)
tag = context.get('tag', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
kind = context.get('kind', UNDEFINED)
_link = context.get('_link', UNDEFINED)
description = context.get('description', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
context['self'].extra_head(**pageargs)
__M_writer('\n\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_extra_head(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
def extra_head():
return render_extra_head(context)
translations = context.get('translations', UNDEFINED)
len = context.get('len', UNDEFINED)
parent = context.get('parent', UNDEFINED)
tag = context.get('tag', UNDEFINED)
kind = context.get('kind', UNDEFINED)
_link = context.get('_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n ')
__M_writer(str(parent.extra_head()))
__M_writer('\n')
if len(translations) > 1 and generate_rss:
for language in translations:
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
__M_writer(str(kind))
__M_writer(' ')
__M_writer(str(tag))
__M_writer(' (')
__M_writer(str(language))
__M_writer(')" href="')
__M_writer(str(_link(kind + "_rss", tag, language)))
__M_writer('">\n')
elif generate_rss:
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
__M_writer(str(kind))
__M_writer(' ')
__M_writer(str(tag))
__M_writer('" href="')
__M_writer(str(_link(kind + "_rss", tag)))
__M_writer('">\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
messages = context.get('messages', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
posts = context.get('posts', UNDEFINED)
translations = context.get('translations', UNDEFINED)
len = context.get('len', UNDEFINED)
tag = context.get('tag', UNDEFINED)
subcategories = context.get('subcategories', UNDEFINED)
date_format = context.get('date_format', UNDEFINED)
description = context.get('description', UNDEFINED)
kind = context.get('kind', UNDEFINED)
_link = context.get('_link', UNDEFINED)
generate_rss = context.get('generate_rss', UNDEFINED)
__M_writer = context.writer()
__M_writer('\n<article class="tagpage">\n <header>\n <h1>')
__M_writer(filters.html_escape(str(title)))
__M_writer('</h1>\n')
if description:
__M_writer(' <p>')
__M_writer(str(description))
__M_writer('</p>\n')
if subcategories:
__M_writer(' ')
__M_writer(str(messages('Subcategories:')))
__M_writer('\n <ul>\n')
for name, link in subcategories:
__M_writer(' <li><a href="')
__M_writer(str(link))
__M_writer('">')
__M_writer(str(name))
__M_writer('</a></li>\n')
__M_writer(' </ul>\n')
__M_writer(' <div class="metadata">\n')
if len(translations) > 1 and generate_rss:
for language in translations:
__M_writer(' <p class="feedlink">\n <a href="')
__M_writer(str(_link(kind + "_rss", tag, language)))
__M_writer('" hreflang="')
__M_writer(str(language))
__M_writer('" type="application/rss+xml">')
__M_writer(str(messages('RSS feed', language)))
__M_writer(' (')
__M_writer(str(language))
__M_writer(')</a>&nbsp;\n </p>\n')
elif generate_rss:
__M_writer(' <p class="feedlink"><a href="')
__M_writer(str(_link(kind + "_rss", tag)))
__M_writer('" type="application/rss+xml">')
__M_writer(str(messages('RSS feed')))
__M_writer('</a></p>\n')
__M_writer(' </div>\n </header>\n')
if posts:
__M_writer(' <ul class="postlist">\n')
for post in posts:
__M_writer(' <li><a href="')
__M_writer(str(post.permalink()))
__M_writer('" class="listtitle">')
__M_writer(filters.html_escape(str(post.title())))
__M_writer('</a> <time class="listdate" datetime="')
__M_writer(str(post.date.isoformat()))
__M_writer('" title="')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('">')
__M_writer(str(post.formatted_date(date_format)))
__M_writer('</time></li>\n')
__M_writer(' </ul>\n')
__M_writer('</article>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}, "uri": "tag.tmpl", "source_encoding": "utf-8", "filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl"}
__M_END_METADATA
"""

95
cache/.mako.tmp/tags.tmpl.py vendored Normal file
View file

@ -0,0 +1,95 @@
# -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1434124561.2360299
_enable_loop = True
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
_template_uri = 'tags.tmpl'
_source_encoding = 'utf-8'
_exports = ['content']
def _mako_get_namespace(context, name):
try:
return context.namespaces[(__name__, name)]
except KeyError:
_mako_generate_namespaces(context)
return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
pass
def _mako_inherit(template, context):
_mako_generate_namespaces(context)
return runtime._inherit_from(context, 'base.tmpl', _template_uri)
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)
messages = context.get('messages', UNDEFINED)
items = context.get('items', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context._locals(__M_locals))
__M_writer = context.writer()
__M_writer('\n\n')
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
context['self'].content(**pageargs)
__M_writer('\n')
return ''
finally:
context.caller_stack._pop_frame()
def render_content(context,**pageargs):
__M_caller = context.caller_stack._push_frame()
try:
cat_items = context.get('cat_items', UNDEFINED)
messages = context.get('messages', UNDEFINED)
items = context.get('items', UNDEFINED)
title = context.get('title', UNDEFINED)
def content():
return render_content(context)
__M_writer = context.writer()
__M_writer('\n<h1>')
__M_writer(str(title))
__M_writer('</h1>\n')
if cat_items:
__M_writer(' <h2>')
__M_writer(str(messages("Categories")))
__M_writer('</h2>\n <ul class="unstyled">\n')
for text, link in cat_items:
if text:
__M_writer(' <li><a class="reference badge" href="')
__M_writer(str(link))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a></li>\n')
__M_writer(' </ul>\n')
if items:
__M_writer(' <h2>')
__M_writer(str(messages("Tags")))
__M_writer('</h2>\n')
if items:
__M_writer(' <ul class="list-inline">\n')
for text, link in items:
__M_writer(' <li><a class="reference badge" href="')
__M_writer(str(link))
__M_writer('">')
__M_writer(str(text))
__M_writer('</a></li>\n')
__M_writer(' </ul>\n')
return ''
finally:
context.caller_stack._pop_frame()
"""
__M_BEGIN_METADATA
{"line_map": {"64": 7, "65": 9, "66": 10, "67": 11, "68": 11, "69": 11, "70": 11, "71": 11, "72": 14, "73": 15, "74": 16, "75": 16, "76": 16, "77": 19, "78": 20, "79": 21, "80": 22, "81": 22, "82": 22, "83": 22, "84": 22, "85": 24, "26": 0, "91": 85, "37": 2, "42": 26, "48": 4, "58": 4, "59": 5, "60": 5, "61": 6, "62": 7, "63": 7}, "uri": "tags.tmpl", "source_encoding": "utf-8", "filename": "themes/bootstrap/templates/tags.tmpl"}
__M_END_METADATA
"""

2
cache/lastdeploy vendored
View file

@ -1 +1 @@
2015-06-12T14:00:12.623403
2015-06-12T15:56:07.345657

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (30DayChallenge)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/30daychallenge.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.&lt;/p&gt;
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>duckland.org news (30DayChallenge)</title><link>http://www.duckland.org/</link><description></description><atom:link type="application/rss+xml" rel="self" href="http://www.duckland.org/categories/30daychallenge.xml"></atom:link><language>en</language><lastBuildDate>Fri, 12 Jun 2015 15:54:28 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.&lt;/p&gt;
&lt;p&gt;I would try to debug the issues, but that means learning a whole new set of tools, and I will not have time for a while. Next week, I am in week long meetings which will run late every day, and then I have to finish writing and present a training class the last week of the month. The hour or two I can spare will be far better spent for me by backup, re-installing &lt;a class="reference external" href="http://www.archlinux.org"&gt;ArchLinux&lt;/a&gt; than by starting to learn the tools. Yes, a bit of a cop-out, but I need the machines to do what I need to do. I will keep the servers FreeBSD, however, as it works great there.&lt;/p&gt;
&lt;p&gt;I will revisit the issue of FreeBSD on the laptops when I either get new kit, or support for my models gets better.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>FreeBSD</category><category>linux</category><category>sa</category><guid>http://www.duckland.org/posts/30daychallengefreebsdsa.html</guid><pubDate>Fri, 06 Feb 2015 12:43:32 GMT</pubDate></item><item><title>FreeBSD Challenge II, Day 30 Update</title><link>http://www.duckland.org/posts/freebsd-challenge-ii-day-30-update.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;As the month draws to a close, I am further into the switch. I have rebuilt my main laptop to &lt;a class="reference external" href="http://www.pcbsd.org"&gt;PCBSD&lt;/a&gt;. I am still setting a few things up, but it seems to be going well.&lt;/p&gt;
&lt;p&gt;Two things I need to fix:&lt;/p&gt;
@ -21,7 +21,7 @@
&lt;p&gt;Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running &lt;a class="reference external" href="http://www.pcbsd.org"&gt;PCBSD 10.1&lt;/a&gt; already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.&lt;/p&gt;
&lt;p&gt;Just to prove things, this post was written under FreeBSD.&lt;/p&gt;
&lt;p&gt;I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.&lt;/p&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personeal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>FreeBSD Switch</title><link>http://www.duckland.org/posts/201407freebsd-switch.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;I just noticed I have not updated this in a few weeks. Sorry about that.&lt;/p&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>FreeBSD Switch</title><link>http://www.duckland.org/posts/201407freebsd-switch.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;I just noticed I have not updated this in a few weeks. Sorry about that.&lt;/p&gt;
&lt;p&gt;I have my R810 running PCBSD 10.0.2, and I just patched and configured WiFi on it. I need to figure out how to submit a patch to see if I can get the Centrino supported in the main-line kernel so I do not have to compile a custom kernel just for that.&lt;/p&gt;

View file

@ -136,10 +136,10 @@
<a href="../posts/200706screen-terminal-multiplexer.html" class="listtitle">Screen - terminal multiplexer</a> <time class="listdate" datetime="2007-06-13T18:06:00-05:00" title="2007-06-13">2007-06-13</time>
</li>
<li>
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
</li>
<li>
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
</li>
<li>
<a href="../posts/200703strayed-from-the-path.html" class="listtitle">Strayed from the path</a> <time class="listdate" datetime="2007-03-19T18:03:00-06:00" title="2007-03-19">2007-03-19</time>

View file

@ -109,7 +109,6 @@
<li><a class="reference badge" href="network.html">network</a></li>
<li><a class="reference badge" href="openbsd.html">OpenBSD</a></li>
<li><a class="reference badge" href="personal.html">personal</a></li>
<li><a class="reference badge" href="personeal.html">personeal</a></li>
<li><a class="reference badge" href="photo.html">photo</a></li>
<li><a class="reference badge" href="remind.html">remind</a></li>
<li><a class="reference badge" href="rss.html">rss</a></li>

View file

@ -95,6 +95,9 @@
</header><ul class="postlist">
<li>
<a href="../posts/moving.html" class="listtitle">Moving</a> <time class="listdate" datetime="2015-06-12T10:30:39-05:00" title="2015-06-12">2015-06-12</time>
</li>
<li>
<a href="../posts/goodbye-2014.html" class="listtitle">Goodbye 2014!</a> <time class="listdate" datetime="2014-12-30T23:44:55-06:00" title="2014-12-30">2014-12-30</time>
</li>
<li>
<a href="../posts/another-year.html" class="listtitle">Another Year</a> <time class="listdate" datetime="2014-12-26T18:33:36-06:00" title="2014-12-26">2014-12-26</time>

View file

@ -1,9 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>duckland.org news (personal)</title><link>http://www.duckland.org/</link><description></description><atom:link type="application/rss+xml" rel="self" href="http://www.duckland.org/categories/personal.xml"></atom:link><language>en</language><lastBuildDate>Fri, 12 Jun 2015 15:49:49 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Moving</title><link>http://www.duckland.org/posts/moving.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;img alt="HP logo" class="align-left" src="http://www.duckland.org/images/Moving/HP_logo.png" style="width: 100px; height: 100px;"&gt;
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>duckland.org news (personal)</title><link>http://www.duckland.org/</link><description></description><atom:link rel="self" type="application/rss+xml" href="http://www.duckland.org/categories/personal.xml"></atom:link><language>en</language><lastBuildDate>Fri, 12 Jun 2015 15:55:12 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Moving</title><link>http://www.duckland.org/posts/moving.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;img alt="HP logo" class="align-left" src="http://www.duckland.org/images/Moving/HP_logo.png" style="width: 100px; height: 100px;"&gt;
&lt;p&gt;Well, after 4 years (almost to the day), it is time for me to say good-bye to HP. The team I worked on is a great team who really know their stuff. However, I am a geek, and I want to be doing things with tech, and not talking about tech,, and for the most part, talking is all I have been doing. I have learned a lot and was given a chance to do some &lt;a class="reference external" href="http://www.duckland.org/posts/201402travels.html"&gt;traveling&lt;/a&gt; which I do not think I would have been able to do.&lt;/p&gt;
&lt;p&gt;So, where am I going? Well, until after I start and get on-boarded, I am not sure how much I can say. It is a financial company based in Houston, so I will not be moving the crew, just changing the direction I commute back to into the sun again.&lt;/p&gt;
&lt;p&gt;Stay tuned here for more updates, and I will probably be using this as a place to document some of the new things I learn on the way.&lt;/p&gt;
&lt;p&gt;Peace.&lt;/p&gt;&lt;/div&gt;</description><category>personal</category><category>work</category><guid>http://www.duckland.org/posts/moving.html</guid><pubDate>Fri, 12 Jun 2015 15:30:39 GMT</pubDate></item><item><title>Another Year</title><link>http://www.duckland.org/posts/another-year.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;Well, 2014 is drawing to a close. For the most part, it has been a good year with the family, but time is always in short supply. I am going to try to focus a bit more on my photography, as well as technology. We shall see.&lt;/p&gt;
&lt;p&gt;Peace.&lt;/p&gt;&lt;/div&gt;</description><category>personal</category><category>work</category><guid>http://www.duckland.org/posts/moving.html</guid><pubDate>Fri, 12 Jun 2015 15:30:39 GMT</pubDate></item><item><title>Goodbye 2014!</title><link>http://www.duckland.org/posts/goodbye-2014.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;As 2014 draws to a close, I look back at the year.&lt;/p&gt;
&lt;p&gt;Overall, it was a good year. The family staid reasonably health (just a case of the flu which every one of us caught).&lt;/p&gt;
&lt;p&gt;Work slowed down a bit after only three trips, and the last one was in June, but I did get to spend two weeks in London which was cool. While the work has been not what I really want to be doing, it has been interesting, and next year promises to be very interesting. I have no clue if travel is in the cards or not, but I will keep the camera handy.&lt;/p&gt;
&lt;p&gt;In the coming year, I plan to focus on health, photography, and technology. I want to get back to taking photos every day, and to bring the quality back up to art level over the snapshots and historical documentation that I have been doing.&lt;/p&gt;
&lt;p&gt;Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running &lt;a class="reference external" href="http://www.pcbsd.org"&gt;PCBSD 10.1&lt;/a&gt; already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.&lt;/p&gt;
&lt;p&gt;Just to prove things, this post was written under FreeBSD.&lt;/p&gt;
&lt;p&gt;I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.&lt;/p&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>Another Year</title><link>http://www.duckland.org/posts/another-year.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;Well, 2014 is drawing to a close. For the most part, it has been a good year with the family, but time is always in short supply. I am going to try to focus a bit more on my photography, as well as technology. We shall see.&lt;/p&gt;
&lt;p&gt;Happy new year, and make it a safe one.&lt;/p&gt;&lt;/div&gt;</description><category>personal</category><guid>http://www.duckland.org/posts/another-year.html</guid><pubDate>Sat, 27 Dec 2014 00:33:36 GMT</pubDate></item><item><title>This posting thing is not working right now</title><link>http://www.duckland.org/posts/201412this-posting-thing-is-not-working-right-now.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;Wow...missed November by that much. It was a good month, but busy with the start of the holidays and all.&lt;/p&gt;
&lt;p&gt;A bit of work in the background on some projects, but nothing to show for it. Still a new picture daily over at my &lt;a href="http://www.donaldharper.com/"&gt;photo blog&lt;/a&gt;, so go check it out.&lt;/p&gt;</description><category>personal</category><guid>http://www.duckland.org/posts/201412this-posting-thing-is-not-working-right-now.html</guid><pubDate>Mon, 01 Dec 2014 20:12:58 GMT</pubDate></item><item><title>Another Month Going Quick.</title><link>http://www.duckland.org/posts/201410another-month-going-quick.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;Well, October is almost over already. Time flies. This fall has been very busy with non-work things. Kids in sports (with me being the coach for one of them), kids doing scouts, kids doing Y Adventure program (with me in the leadership), kids in advance classes at school.&lt;/p&gt;

View file

@ -1,116 +0,0 @@
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# " lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Posts about personeal | duckland.org news</title>
<link href="../assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="../rss.xml">
<link rel="canonical" href="http://www.duckland.org/categories/personeal.html">
<!--[if lt IE 9]><script src="../assets/js/html5.js"></script><![endif]--><link rel="alternate" type="application/rss+xml" title="RSS for tag personeal" href="personeal.xml">
</head>
<body>
<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
<!-- Menubar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"><div class="container">
<!-- This keeps the margins nice -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://www.duckland.org/">
<span id="blog-title">duckland.org news</span>
</a>
</div>
<!-- /.navbar-header -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">Home</a>
</li>
<li>
<a href="../stories/about.html">About me</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">My Sites<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="http://www.donaldharper.com">My Photo Blog</a>
</li>
<li>
<a href="http://p365.donaldharper.com">My Attempt at a Project 365</a>
</li>
<li>
<a href="http://www.duckland.org">My Personal and Tech Blog</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Social Sites<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="https://twitter.com/duckunix">My Twitter</a>
</li>
<li>
<a href="https://plus.google.com/+DonHarper/">My Google+</a>
</li>
<li>
<a href="http://www.linkedin.com/in/donaldharper/">My LinkedIN</a>
</li>
</ul>
</li>
<li>
<a href="../archive.html">Archive</a>
</li>
<li>
<a href="index.html">Tags</a>
</li>
<li>
<a href="../rss.xml">RSS</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right"></ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav><!-- End of Menubar --><div class="container" id="content">
<div class="body-content">
<!--Body content-->
<div class="row">
<article class="tagpage"><header><h1>Posts about personeal</h1>
<div class="metadata">
<p class="feedlink"><a href="personeal.xml" type="application/rss+xml">RSS feed</a></p>
</div>
</header><ul class="postlist">
<li>
<a href="../posts/goodbye-2014.html" class="listtitle">Goodbye 2014!</a> <time class="listdate" datetime="2014-12-30T23:44:55-06:00" title="2014-12-30">2014-12-30</time>
</li>
</ul></article>
</div>
<!--End of body content-->
<footer>
Contents © 2015 <a href="mailto:duck@duckland.org">Don Harper</a> - Powered by <a href="http://getnikola.com" rel="nofollow">Nikola</a>
</footer>
</div>
</div>
<script src="../assets/js/all-nocdn.js"></script><script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script><!-- fancy dates --><script>
moment.locale("");
fancydates(1, "YYYY-MM-DD");
</script><!-- end fancy dates -->
</body>
</html>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (personeal)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/personeal.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:31 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Goodbye 2014!</title><link>http://www.duckland.org/posts/goodbye-2014.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;As 2014 draws to a close, I look back at the year.&lt;/p&gt;
&lt;p&gt;Overall, it was a good year. The family staid reasonably health (just a case of the flu which every one of us caught).&lt;/p&gt;
&lt;p&gt;Work slowed down a bit after only three trips, and the last one was in June, but I did get to spend two weeks in London which was cool. While the work has been not what I really want to be doing, it has been interesting, and next year promises to be very interesting. I have no clue if travel is in the cards or not, but I will keep the camera handy.&lt;/p&gt;
&lt;p&gt;In the coming year, I plan to focus on health, photography, and technology. I want to get back to taking photos every day, and to bring the quality back up to art level over the snapshots and historical documentation that I have been doing.&lt;/p&gt;
&lt;p&gt;Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running &lt;a class="reference external" href="http://www.pcbsd.org"&gt;PCBSD 10.1&lt;/a&gt; already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.&lt;/p&gt;
&lt;p&gt;Just to prove things, this post was written under FreeBSD.&lt;/p&gt;
&lt;p&gt;I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.&lt;/p&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personeal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item></channel></rss>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (photo)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/photo.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:33 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Vegas, again</title><link>http://www.duckland.org/posts/vegas-again.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;Once more, off the Las Vegas for to work a trade show. This year, I was helping present training, so I was tucked away in a basement most of the trip, and did not get out to do much in the way of sight-seeing aside from walking around the hotel.&lt;/p&gt;
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>duckland.org news (photo)</title><link>http://www.duckland.org/</link><description></description><atom:link type="application/rss+xml" rel="self" href="http://www.duckland.org/categories/photo.xml"></atom:link><language>en</language><lastBuildDate>Fri, 12 Jun 2015 15:54:28 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Vegas, again</title><link>http://www.duckland.org/posts/vegas-again.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;Once more, off the Las Vegas for to work a trade show. This year, I was helping present training, so I was tucked away in a basement most of the trip, and did not get out to do much in the way of sight-seeing aside from walking around the hotel.&lt;/p&gt;
&lt;div id="slides_f86a3decfc4e45d4aca81be4fcf7a0fb" class="carousel slide"&gt;
&lt;ol class="carousel-indicators"&gt;
@ -31,7 +31,7 @@
&lt;p&gt;Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running &lt;a class="reference external" href="http://www.pcbsd.org"&gt;PCBSD 10.1&lt;/a&gt; already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.&lt;/p&gt;
&lt;p&gt;Just to prove things, this post was written under FreeBSD.&lt;/p&gt;
&lt;p&gt;I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.&lt;/p&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personeal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>More travel</title><link>http://www.duckland.org/posts/201406more-travel.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;&lt;img alt="View in front of The Venetian" src="http://img.duckland.org/2014-06/20140607094949.JPG"&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>More travel</title><link>http://www.duckland.org/posts/201406more-travel.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;&lt;img alt="View in front of The Venetian" src="http://img.duckland.org/2014-06/20140607094949.JPG"&gt;
I am back from Las Vegas for a trade show for work. The hardest part was two and a half days of setting up an isolated network for some hands on training.&lt;/p&gt;
&lt;p&gt;The training went very well, and I got some good feedback from the students. By the last session, all the kinks were worked out of the training, and the students were able to explore a bit more than planned, but that was okay.&lt;/p&gt;

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (sa)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/sa.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Quick Ansible Tip</title><link>http://www.duckland.org/posts/quick-ansible-tip.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;This is a quick post to capture something seen. &lt;a class="reference external" href="http://www.ansible.com"&gt;Ansibel&lt;/a&gt; is a configuration management tool that I have been learning recently. More details in a future post. This is just to capture this idea:&lt;/p&gt;
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>duckland.org news (sa)</title><link>http://www.duckland.org/</link><description></description><atom:link type="application/rss+xml" rel="self" href="http://www.duckland.org/categories/sa.xml"></atom:link><language>en</language><lastBuildDate>Fri, 12 Jun 2015 15:54:28 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Quick Ansible Tip</title><link>http://www.duckland.org/posts/quick-ansible-tip.html</link><dc:creator>Don Harper</dc:creator><description>&lt;div&gt;&lt;p&gt;This is a quick post to capture something seen. &lt;a class="reference external" href="http://www.ansible.com"&gt;Ansibel&lt;/a&gt; is a configuration management tool that I have been learning recently. More details in a future post. This is just to capture this idea:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;From: Smith, Chris (Big Data)&lt;/p&gt;
&lt;p&gt;To: ansible&lt;/p&gt;
@ -30,7 +30,7 @@
&lt;p&gt;Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running &lt;a class="reference external" href="http://www.pcbsd.org"&gt;PCBSD 10.1&lt;/a&gt; already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.&lt;/p&gt;
&lt;p&gt;Just to prove things, this post was written under FreeBSD.&lt;/p&gt;
&lt;p&gt;I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.&lt;/p&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personeal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>Perl, Modules, and Package Management</title><link>http://www.duckland.org/posts/201409perl-modules-and-package-management.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;So, even though I have been starting to &lt;a href="http://www.duckland.org/2014/06/back-to-freebsd-maybe-back-to-the-challenge"&gt;work with&lt;/a&gt; &lt;a href="http://www.duckland.org/2014/07/freebsd-switch"&gt;FreeBSD&lt;/a&gt; &lt;a href="http://www.duckland.org/2014/08/one-step-closer"&gt;again&lt;/a&gt;, I am still running &lt;a href="http://www.archlinux.org/"&gt;ArchLinux&lt;/a&gt; on my workstation.&lt;/p&gt;
&lt;p&gt;I hope your 2015 is a great year.&lt;/p&gt;&lt;/div&gt;</description><category>30DayChallenge</category><category>personal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>Perl, Modules, and Package Management</title><link>http://www.duckland.org/posts/201409perl-modules-and-package-management.html</link><dc:creator>Don Harper</dc:creator><description>&lt;p&gt;So, even though I have been starting to &lt;a href="http://www.duckland.org/2014/06/back-to-freebsd-maybe-back-to-the-challenge"&gt;work with&lt;/a&gt; &lt;a href="http://www.duckland.org/2014/07/freebsd-switch"&gt;FreeBSD&lt;/a&gt; &lt;a href="http://www.duckland.org/2014/08/one-step-closer"&gt;again&lt;/a&gt;, I am still running &lt;a href="http://www.archlinux.org/"&gt;ArchLinux&lt;/a&gt; on my workstation.&lt;/p&gt;
&lt;p&gt;And I wanted to run a script I wrote a long time ago to support a &lt;a href="http://www.donaldharper.com/"&gt;website&lt;/a&gt; of mine, which I have not updated in a while. The way I would update the site is by doing some batch editing of photos, park them in a directory, and then run my script which pushes the photos to the web server, and then interfaces with the CMS software to schedule the posts and all is good.&lt;/p&gt;

View file

@ -148,10 +148,10 @@
<a href="../posts/200706screen-terminal-multiplexer.html" class="listtitle">Screen - terminal multiplexer</a> <time class="listdate" datetime="2007-06-13T18:06:00-05:00" title="2007-06-13">2007-06-13</time>
</li>
<li>
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
</li>
<li>
<a href="../posts/200705ikog-the-simple-todo-list.html" class="listtitle">iKog - the simple todo list</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
<a href="../posts/200705bins-photo-album.html" class="listtitle">BINS Photo Album</a> <time class="listdate" datetime="2007-05-21T18:05:00-05:00" title="2007-05-21">2007-05-21</time>
</li>
<li>
<a href="../posts/200703cli-bugissuetask-tracking-system.html" class="listtitle">cli bug/issue/task tracking system?</a> <time class="listdate" datetime="2007-03-05T17:03:00-06:00" title="2007-03-05">2007-03-05</time>

View file

@ -19,7 +19,7 @@ Work slowed down a bit after ">
<meta property="og:type" content="article">
<meta property="article:published_time" content="2014-12-30T23:44:55-06:00">
<meta property="article:tag" content="30DayChallenge">
<meta property="article:tag" content="personeal">
<meta property="article:tag" content="personal">
<meta property="article:tag" content="photo">
<meta property="article:tag" content="sa">
</head>
@ -126,7 +126,7 @@ Work slowed down a bit after ">
</div>
<aside class="postpromonav"><nav><ul itemprop="keywords" class="tags">
<li><a class="tag p-category" href="../categories/30daychallenge.html" rel="tag">30DayChallenge</a></li>
<li><a class="tag p-category" href="../categories/personeal.html" rel="tag">personeal</a></li>
<li><a class="tag p-category" href="../categories/personal.html" rel="tag">personal</a></li>
<li><a class="tag p-category" href="../categories/photo.html" rel="tag">photo</a></li>
<li><a class="tag p-category" href="../categories/sa.html" rel="tag">sa</a></li>
</ul>

View file

@ -190,7 +190,7 @@
</url>
<url>
<loc>http://www.duckland.org/categories/30daychallenge.html</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</url>
<url>
<loc>http://www.duckland.org/categories/ansible.html</loc>
@ -238,7 +238,7 @@
</url>
<url>
<loc>http://www.duckland.org/categories/index.html</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</url>
<url>
<loc>http://www.duckland.org/categories/lifeimitatingmovies.html</loc>
@ -264,13 +264,9 @@
<loc>http://www.duckland.org/categories/personal.html</loc>
<lastmod>2015-06-12</lastmod>
</url>
<url>
<loc>http://www.duckland.org/categories/personeal.html</loc>
<lastmod>2015-06-09</lastmod>
</url>
<url>
<loc>http://www.duckland.org/categories/photo.html</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</url>
<url>
<loc>http://www.duckland.org/categories/remind.html</loc>
@ -282,7 +278,7 @@
</url>
<url>
<loc>http://www.duckland.org/categories/sa.html</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</url>
<url>
<loc>http://www.duckland.org/categories/screen.html</loc>
@ -354,7 +350,7 @@
</url>
<url>
<loc>http://www.duckland.org/index-12.html</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</url>
<url>
<loc>http://www.duckland.org/index-13.html</loc>
@ -638,7 +634,7 @@
</url>
<url>
<loc>http://www.duckland.org/posts/goodbye-2014.html</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</url>
<url>
<loc>http://www.duckland.org/posts/march-update.html</loc>

View file

@ -6,7 +6,7 @@
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<sitemap>
<loc>http://www.duckland.org/categories/30daychallenge.xml</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</sitemap>
<sitemap>
<loc>http://www.duckland.org/categories/ansible.xml</loc>
@ -76,13 +76,9 @@
<loc>http://www.duckland.org/categories/personal.xml</loc>
<lastmod>2015-06-12</lastmod>
</sitemap>
<sitemap>
<loc>http://www.duckland.org/categories/personeal.xml</loc>
<lastmod>2015-06-09</lastmod>
</sitemap>
<sitemap>
<loc>http://www.duckland.org/categories/photo.xml</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</sitemap>
<sitemap>
<loc>http://www.duckland.org/categories/remind.xml</loc>
@ -94,7 +90,7 @@
</sitemap>
<sitemap>
<loc>http://www.duckland.org/categories/sa.xml</loc>
<lastmod>2015-06-09</lastmod>
<lastmod>2015-06-12</lastmod>
</sitemap>
<sitemap>
<loc>http://www.duckland.org/categories/screen.xml</loc>

View file

@ -1,7 +1,7 @@
.. title: Goodbye 2014!
.. slug: goodbye-2014
.. date: 2014-12-30 23:44:55 UTC-06:00
.. tags: sa,30DayChallenge,personeal,photo
.. tags: sa,30DayChallenge,personal,photo
.. link:
.. description:
.. type: text