mb@mb
7 years ago
3 changed files with 44 additions and 65 deletions
@ -1,44 +1,32 @@ |
|||
{% extends "base.html" %} |
|||
{% block head %} |
|||
{{ super() }} |
|||
{% if article.description %} |
|||
<meta name="description" content="{{article.description}}" /> |
|||
{% endif %} |
|||
|
|||
{% for tag in article.tags %} |
|||
<meta name="tags" content="{{tag}}" /> |
|||
{% endfor %} |
|||
|
|||
{{ super() }} |
|||
{% if article.description %} |
|||
<meta name="description" content="{{article.description}}" /> |
|||
{% endif %} |
|||
{% 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> |
|||
{% endfor %} |
|||
</address> |
|||
{% endif %} |
|||
</footer><!-- /.post-info --> |
|||
<div class="entry-content"> |
|||
{{ article.content }} |
|||
</div><!-- /.entry-content --> |
|||
<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 %} |
|||
</span> |
|||
published on |
|||
<span class="entry-date dt-published">{{ article.date }}</span> |
|||
</div> |
|||
<div class="entry-content e-content">{{ article.content }}</div> |
|||
</section> |
|||
{% endblock %} |
|||
|
Loading…
Reference in new issue