# -*- coding:utf-8 -*- from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED STOP_RENDERING = runtime.STOP_RENDERING __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 _modified_time = 1676236796.1002333 _enable_loop = True _template_filename = 'themes/bootblog/templates/post_header.tmpl' _template_uri = 'post_header.tmpl' _source_encoding = 'utf-8' _exports = ['html_title', 'html_translations', 'html_sourcelink', 'html_post_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='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_title(context): __M_caller = context.caller_stack._push_frame() try: post = context.get('post', UNDEFINED) title = context.get('title', UNDEFINED) __M_writer = context.writer() __M_writer('\n') if title and not post.meta('hidetitle'): __M_writer('
') __M_writer(str(messages("Source"))) __M_writer('
\n') return '' finally: context.caller_stack._pop_frame() def render_html_post_header(context): __M_caller = context.caller_stack._push_frame() try: date_format = context.get('date_format', UNDEFINED) def html_title(): return render_html_title(context) comments = _mako_get_namespace(context, 'comments') post = context.get('post', UNDEFINED) def html_sourcelink(): return render_html_sourcelink(context) site_has_comments = context.get('site_has_comments', UNDEFINED) messages = context.get('messages', UNDEFINED) def html_translations(post): return render_html_translations(context,post) __M_writer = context.writer() __M_writer('\n