1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-11-10 21:52:30 +00:00
balkian.github.com/balkiantheme/templates/article.html

26 lines
891 B
HTML
Raw Normal View History

{% extends "base.html" %}
2015-12-08 14:19:16 +00:00
{% block content_title %}
{{ article.title }}
{% endblock %}
{% block content %}
<div class="postnav">
{% if article.prev_article %}
2015-12-08 16:13:09 +00:00
<span class="previouspost"><i class="fa fa-chevron-left"></i> <a href="{{ article.prev_article.url }}">{{ article.prev_article.title }}</a></span>
{% endif %}
{% if article.next_article %}
2015-12-08 16:13:09 +00:00
<span class='nextpost'><a href="{{ SITE_URL }}/{{ article.next_article.url }}">{{ article.next_article.title }}</a> <i class="fa fa-chevron-right"></i></span>
{%endif%}
</div>
<div class="posthead">
<h2 class="title">{{ article.title }}</h2>
<span class="meta date">{{ article.date | date_to_string }}</span>
{% for c in article.tags %}
2015-12-10 14:44:10 +00:00
<span class="tag"><a href="/tag/{{ c }}.html" class="label label-default">{{ c }}</a></span>
{% endfor %}
</div>
<div class="post">
{{ article.content }}
</div>
{% endblock %}