mb@mb
7 years ago
3 changed files with 44 additions and 65 deletions
@ -1,44 +1,32 @@ |
|||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||
{% block head %} |
{% block head %} |
||||
{{ super() }} |
{{ super() }} |
||||
{% if article.description %} |
{% if article.description %} |
||||
<meta name="description" content="{{article.description}}" /> |
<meta name="description" content="{{article.description}}" /> |
||||
{% endif %} |
{% endif %} |
||||
|
|
||||
{% for tag in article.tags %} |
|
||||
<meta name="tags" content="{{tag}}" /> |
|
||||
{% endfor %} |
|
||||
|
|
||||
{% endblock %} |
{% endblock %} |
||||
|
|
||||
{% block content %} |
{% block content %} |
||||
<section id="content" class="body"> |
<section id="content" class="body"> |
||||
<header> |
<h1 class="entry-title p-name"> |
||||
<h2 class="entry-title"> |
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a> |
||||
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" |
</h1> |
||||
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> |
<div class="entry-subtitle"> |
||||
{% import 'translations.html' as translations with context %} |
A |
||||
{{ translations.translations_for(article) }} |
<span class="entry-category"> |
||||
</header> |
<em>{{ article.category }}</em> |
||||
<footer class="post-info"> |
</span> |
||||
<time class="published" datetime="{{ article.date.isoformat() }}"> |
about |
||||
{{ article.locale_date }} |
<span class="entry-tags"> |
||||
</time> |
{% for tag in article.tags %} |
||||
{% if article.modified %} |
<span itemprop="keywords"> |
||||
<time class="modified" datetime="{{ article.modified.isoformat() }}"> |
<a href="/{{ tag.url }}" rel="tag">{{ tag }}</a> |
||||
{{ article.locale_modified }} |
</span> |
||||
</time> |
{% endfor %} |
||||
{% endif %} |
</span> |
||||
{% if article.authors %} |
published on |
||||
<address class="vcard author"> |
<span class="entry-date dt-published">{{ article.date }}</span> |
||||
By {% for author in article.authors %} |
</div> |
||||
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> |
<div class="entry-content e-content">{{ article.content }}</div> |
||||
{% endfor %} |
|
||||
</address> |
|
||||
{% endif %} |
|
||||
</footer><!-- /.post-info --> |
|
||||
<div class="entry-content"> |
|
||||
{{ article.content }} |
|
||||
</div><!-- /.entry-content --> |
|
||||
</section> |
</section> |
||||
{% endblock %} |
{% endblock %} |
||||
|
Loading…
Reference in new issue