flex/templates/article.html
Alexandre Vicenzi b35cde0428 Flex theme.
2015-07-18 21:04:01 -03:00

28 lines
739 B
HTML

{% extends "base.html" %}
{% block head %}
<meta name="keywords" content="{{ article.tags|join(', ') }}">
{% 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 %}