Automatic commit via /home/don/bin/deployweb Fri Jun 12 01:00:10 UTC 2015
This commit is contained in:
parent
cf11a227e9
commit
c8cf6076b4
50 changed files with 528 additions and 528 deletions
148
cache/.mako.tmp/post.tmpl.py
vendored
148
cache/.mako.tmp/post.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1434067208.743321
|
||||
_modified_time = 1434070807.7400808
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/post.tmpl'
|
||||
_template_uri = 'post.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'sourcelink', 'extra_head']
|
||||
_exports = ['extra_head', 'sourcelink', 'content']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
post = context.get('post', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -74,72 +74,12 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def content():
|
||||
return render_content(context)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
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)
|
||||
post = context.get('post', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
|
|
@ -181,8 +121,68 @@ def render_extra_head(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="post-')
|
||||
__M_writer(str(post.meta('type')))
|
||||
__M_writer(' h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">\n ')
|
||||
__M_writer(str(pheader.html_post_header()))
|
||||
__M_writer('\n <div class="e-content entry-content" itemprop="articleBody text">\n ')
|
||||
__M_writer(str(post.text()))
|
||||
__M_writer('\n </div>\n <aside class="postpromonav">\n <nav>\n ')
|
||||
__M_writer(str(helper.html_tags(post)))
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(helper.html_pager(post)))
|
||||
__M_writer('\n </nav>\n </aside>\n')
|
||||
if not post.meta('nocomments') and site_has_comments:
|
||||
__M_writer(' <section class="comments">\n <h2>')
|
||||
__M_writer(str(messages("Comments")))
|
||||
__M_writer('</h2>\n ')
|
||||
__M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
|
||||
__M_writer('\n </section>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(helper.mathjax_script(post)))
|
||||
__M_writer('\n</article>\n')
|
||||
__M_writer(str(comments.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "source_encoding": "utf-8", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 2, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 4, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}}
|
||||
{"line_map": {"133": 50, "134": 51, "135": 52, "136": 53, "137": 53, "138": 53, "139": 53, "145": 27, "22": 2, "25": 3, "28": 4, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 7, "184": 178, "86": 7, "87": 8, "88": 8, "89": 9, "90": 10, "91": 10, "92": 10, "93": 12, "94": 13, "95": 13, "96": 13, "97": 15, "98": 15, "99": 15, "100": 16, "101": 17, "102": 17, "103": 17, "104": 17, "105": 17, "106": 19, "107": 20, "108": 20, "109": 20, "110": 20, "111": 20, "112": 22, "113": 22, "114": 22, "115": 23, "116": 23, "117": 24, "118": 24, "124": 50}, "source_encoding": "utf-8", "uri": "post.tmpl", "filename": "themes/bootstrap/templates/post.tmpl"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue