blob: 99caaeef8d2c5f57aa38a0fac4066077dc925071 (
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
26
27
28
29
30
31
32
33
34
35
36
37
|
{# -*- 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 %}
{% extends 'post.tmpl' %}
{% block extra_head %}
{{ super() }}
{% if post.meta('keywords') %}
<meta name="keywords" content="{{ post.meta('keywords')|e }}">
{% endif %}
<meta name="author" content="{{ post.author() }}">
{{ helper.open_graph_metadata(post) }}
{{ helper.twitter_card_information(post) }}
{{ helper.meta_translations(post) }}
{% if post.description() %}
<meta name="description" itemprop="description" content="{{ post.description() }}">
{% endif %}
{% endblock %}
{% block content %}
<article class="storypage" itemscope="itemscope" itemtype="http://schema.org/Article">
<header>
{{ pheader.html_title() }}
{{ pheader.html_translations(post) }}
</header>
<div 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 %}
</article>
{% endblock %}
|