blob: 25d3b3d1a4c5c434280c2f7807580f7ca99a5e6a [file] [log] [blame]
Giulio Fidente44ccac72013-03-21 18:51:03 +01001{% extends "base.html" %}
Giulio Fidente663537a2013-04-17 16:48:53 +02002{% block head %}
3<meta name="keywords" content="{{ article.tags|join(', ') }}">
4{% endblock %}
Giulio Fidenteda4d95b2013-04-29 15:59:35 +02005
Giulio Fidente663537a2013-04-17 16:48:53 +02006{% block title %}{{ article.title }}{% endblock %}
Giulio Fidenteda4d95b2013-04-29 15:59:35 +02007
Giulio Fidentea3296652013-03-28 11:30:46 +01008{% block header %}
Giulio Fidenteda4d95b2013-04-29 15:59:35 +02009<p>Posted on {{ article.locale_date }}</p>
Giulio Fidentea3296652013-03-28 11:30:46 +010010{% endblock %}
11
Giulio Fidente44ccac72013-03-21 18:51:03 +010012{% block content %}
Giulio Fidente44ccac72013-03-21 18:51:03 +010013<article>
Giulio Fidente5dba4772013-03-27 01:00:02 +010014 <div id="article_title">
Giulio Fidente35812c22013-04-30 02:01:40 +020015 <h3><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h3>
Giulio Fidente5dba4772013-03-27 01:00:02 +010016 </div>
Giulio Fidentea5278c12013-03-23 00:33:24 +010017 <div id="article_text">
Giulio Fidente44ccac72013-03-21 18:51:03 +010018 {{ article.content }}
19 </div>
Giulio Fidente44ccac72013-03-21 18:51:03 +010020 <div id="article_meta">
Giulio Fidente8305e742013-03-22 23:17:45 +010021 <p>Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></p>
Giulio Fidente44ccac72013-03-21 18:51:03 +010022 {% if article.tags %}
Giulio Fidente8305e742013-03-22 23:17:45 +010023 <p>Tags:
24 {% for tag in article.tags %}
Giulio Fidente91c1d452013-03-22 15:15:17 +010025 <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %}
Giulio Fidente8305e742013-03-22 23:17:45 +010026 {% endfor %}
27 </p>
Giulio Fidente44ccac72013-03-21 18:51:03 +010028 {% endif %}
29 </div>
Victor Choueirid54283f2013-08-13 13:54:32 +030030
31 {% if DISQUS_SITENAME %}
32 <div class="comments">
33 <h2>Comments !</h2>
34 <div id="disqus_thread"></div>
35 <script type="text/javascript">
36 var disqus_identifier = "{{ article.url }}";
37 (function() {
38 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
39 dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
40 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
41 })();
42 </script>
43 </div>
44 {% endif %}
45
Giulio Fidente44ccac72013-03-21 18:51:03 +010046</article>
Giulio Fidentea3296652013-03-28 11:30:46 +010047{% endblock %}
48
49{% block footer %}
Giulio Fidenteda4d95b2013-04-29 15:59:35 +020050<p><a href="{{ SITEURL }}/" class="button_accent">&larr; Back to Index</a></p>
Giulio Fidente44ccac72013-03-21 18:51:03 +010051{% endblock %}