Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | {% extends "base.html" %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 2 | {% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 3 | {% block content %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 4 | <header> |
| 5 | <h3>Posted on {{ article.locale_date }}</h3> |
| 6 | </header> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 7 | <article> |
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame^] | 8 | <h1 id="article_title"> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 9 | <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a> |
| 10 | </h1> |
| 11 | |
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame^] | 12 | <div id="article_text"> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 13 | {{ article.content }} |
| 14 | </div> |
| 15 | |
| 16 | <div id="article_meta"> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 17 | <p>Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></p> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 18 | {% if article.tags %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 19 | <p>Tags: |
| 20 | {% for tag in article.tags %} |
Giulio Fidente | 91c1d45 | 2013-03-22 15:15:17 +0100 | [diff] [blame] | 21 | <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 22 | {% endfor %} |
| 23 | </p> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 24 | {% endif %} |
| 25 | </div> |
| 26 | </article> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 27 | <footer> |
Giulio Fidente | d5f389d | 2013-03-22 23:36:06 +0100 | [diff] [blame] | 28 | <a href="{{ SITEURL }}/" class="button_accent">← Index</a> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 29 | </footer> |
| 30 | {% endblock %} |