blag/theme-fred/templates/article.html

18 lines
488 B
HTML
Raw Normal View History

2016-08-03 02:36:43 -04:00
{% extends "base.html" %}
{% block title %}{{ super() }} : {{ article.title }}{% endblock %}
{% block content %}
{% include 'article_infos.html' %}
<article>
{{ article.content }}
<p id="cat-tags"> category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
{% if article.tags %}
tags:
{% for tag in article.tags %}
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag | escape }}</a>
{% endfor %}
{% endif %}
</p>
</article>
{% endblock %}