{# -*- coding: utf-8 -*- #} {% import 'post_helper.tmpl' as helper with context %} {% import 'post_header.tmpl' as pheader with context %} {% import 'comments_helper.tmpl' as comments with context %} {% import 'math_helper.tmpl' as math with context %} {% extends 'base.tmpl' %} {% block extra_head %} {{ super() }} {% if post.meta('keywords') %} {% 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) }} {% endblock %} {% block content %}
{{ pheader.html_post_header() }}
{{ post.text() }}
{% if not post.meta('nocomments') and site_has_comments %}

{{ messages("Comments") }}

{{ comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path) }}
{% endif %} {{ math.math_scripts_ifpost(post) }}
{{ comments.comment_link_script() }} {% endblock %}