|
|
@ -4,41 +4,29 @@ |
|
|
|
{% if article.description %} |
|
|
|
<meta name="description" content="{{article.description}}" /> |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% for tag in article.tags %} |
|
|
|
<meta name="tags" content="{{tag}}" /> |
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
{% block content %} |
|
|
|
<section id="content" class="body"> |
|
|
|
<header> |
|
|
|
<h2 class="entry-title"> |
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" |
|
|
|
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> |
|
|
|
{% import 'translations.html' as translations with context %} |
|
|
|
{{ translations.translations_for(article) }} |
|
|
|
</header> |
|
|
|
<footer class="post-info"> |
|
|
|
<time class="published" datetime="{{ article.date.isoformat() }}"> |
|
|
|
{{ article.locale_date }} |
|
|
|
</time> |
|
|
|
{% if article.modified %} |
|
|
|
<time class="modified" datetime="{{ article.modified.isoformat() }}"> |
|
|
|
{{ article.locale_modified }} |
|
|
|
</time> |
|
|
|
{% endif %} |
|
|
|
{% if article.authors %} |
|
|
|
<address class="vcard author"> |
|
|
|
By {% for author in article.authors %} |
|
|
|
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> |
|
|
|
<h1 class="entry-title p-name"> |
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a> |
|
|
|
</h1> |
|
|
|
<div class="entry-subtitle"> |
|
|
|
A |
|
|
|
<span class="entry-category"> |
|
|
|
<em>{{ article.category }}</em> |
|
|
|
</span> |
|
|
|
about |
|
|
|
<span class="entry-tags"> |
|
|
|
{% for tag in article.tags %} |
|
|
|
<span itemprop="keywords"> |
|
|
|
<a href="/{{ tag.url }}" rel="tag">{{ tag }}</a> |
|
|
|
</span> |
|
|
|
{% endfor %} |
|
|
|
</address> |
|
|
|
{% endif %} |
|
|
|
</footer><!-- /.post-info --> |
|
|
|
<div class="entry-content"> |
|
|
|
{{ article.content }} |
|
|
|
</div><!-- /.entry-content --> |
|
|
|
</span> |
|
|
|
published on |
|
|
|
<span class="entry-date dt-published">{{ article.date }}</span> |
|
|
|
</div> |
|
|
|
<div class="entry-content e-content">{{ article.content }}</div> |
|
|
|
</section> |
|
|
|
{% endblock %} |
|
|
|