aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/base-jinja/templates/story.tmpl
blob: 5c93256b67a18ad839d93b2624c67848103ece00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{#  -*- 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 'post.tmpl' %}

{% block content %}
<article class="post-{{ post.meta('type') }} storypage" itemscope="itemscope" itemtype="http://schema.org/Article">
    <header>
        {{ pheader.html_title() }}
        {{ pheader.html_translations(post) }}
    </header>
    <div class="e-content entry-content" itemprop="articleBody text">
    {{ post.text() }}
    </div>
    {% if site_has_comments and enable_comments and not post.meta('nocomments') %}
        <section class="comments">
        <h2>{{ messages("Comments") }}</h2>
        {{ comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path) }}
        </section>
    {% endif %}
    {{ math.math_scripts_ifpost(post) }}
</article>
{% endblock %}