## -*- coding: utf-8 -*-
<%namespace name="helper" file="post_helper.tmpl"/>
<%namespace name="pheader" file="post_header.tmpl"/>
<%namespace name="comments" file="comments_helper.tmpl"/>
<%namespace name="math" file="math_helper.tmpl"/>
<%inherit file="base.tmpl"/>
<%block name="extra_head">
${parent.extra_head()}
% if post.meta('keywords'):
% endif
%if post.description():
%endif
%if post.prev_post:
%endif
%if post.next_post:
%endif
% if post.is_draft:
% endif
${helper.open_graph_metadata(post)}
${helper.twitter_card_information(post)}
${helper.meta_translations(post)}
${math.math_styles_ifpost(post)}
%block>
<%block name="content">
${pheader.html_post_header()}
${post.text()}
% if not post.meta('nocomments') and site_has_comments:
% endif
${math.math_scripts_ifpost(post)}
${comments.comment_link_script()}
%block>
<%block name="sourcelink">
% if show_sourcelink:
${messages("Source")}
% endif
%block>
${messages("Comments")}
${comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)}