summaryrefslogtreecommitdiffstats
path: root/theme/templates/article.html
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2013-01-21 12:10:58 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2013-01-21 12:10:58 +0100
commit5c4e85fe93ec3a713cf173db34e422072254d1c7 (patch)
treee1b0cb4d442e429a485d64eb2df3596e7d1360ca /theme/templates/article.html
parentf62624ae5229ecc32fc57de8e6ae7aab051f9a4a (diff)
downloadblog-5c4e85fe93ec3a713cf173db34e422072254d1c7.tar.gz
Configuration update. Custom theme
Diffstat (limited to 'theme/templates/article.html')
-rw-r--r--theme/templates/article.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/theme/templates/article.html b/theme/templates/article.html
new file mode 100644
index 0000000..637b3a1
--- /dev/null
+++ b/theme/templates/article.html
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+{% block content %}
+<section id="content" class="body">
+ <header>
+ <h2 class="entry-title">
+ <a href="{{ article.url }}" rel="bookmark"
+ title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(article) }}
+ </header>
+ <footer class="post-info">
+ Posted on <abbr class="published" title="{{ article.date.isoformat() }}">
+ {{ article.locale_date }}
+ </abbr>
+ </footer><!-- /.post-info -->
+ <div class="entry-content">
+ {{ article.content }}
+ </div><!-- /.entry-content -->
+</section>
+{% endblock %}