flex/templates/article.html

37 lines
996 B
HTML
Raw Normal View History

2015-07-19 02:04:01 +02:00
{% extends "base.html" %}
2015-07-20 04:34:54 +02:00
{% block meta %}
<meta name="author" content="{{ article.author.name }}" />
<meta name="description" content="{{ article.summary|striptags }}" />
<meta name="keywords" content="{{ article.tags|join(', ') }}">
{% include "partial/og_article.html" %}
2015-07-19 02:04:01 +02:00
{% endblock %}
{% block title %}&ndash; {{ article.title }}{% endblock %}
{% block content %}
<article>
<header>
<h2 id="{{ article.slug }}">{{ article.title }}</h2>
<p>Posted on {{ article.locale_date }} in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></p>
</header>
<div>
{{ article.content }}
</div>
<div class="tag-cloud">
<p>
{% if article.tags %}
{% for tag in article.tags %}
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
{% endfor %}
{% endif %}
</p>
</div>
{% include "partial/disqus.html" %}
</article>
{% endblock %}
2015-07-20 04:34:54 +02:00
{% block additional_js %}
{% include "partial/jsonld_article.html" %}
{% endblock %}