2010-08-18 15:10:43 +02:00
|
|
|
{% extends "base.html" %}
|
2012-05-07 12:26:17 +02:00
|
|
|
{% block title %}{{ article.title|striptags }}{% endblock %}
|
|
|
|
|
{% block content %}
|
|
|
|
|
<section id="content" class="body">
|
|
|
|
|
<article>
|
|
|
|
|
<header>
|
|
|
|
|
<h1 class="entry-title">
|
2012-11-27 16:01:05 -08:00
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
2013-10-27 09:27:30 -07:00
|
|
|
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
|
2012-05-07 12:26:17 +02:00
|
|
|
{% include 'twitter.html' %}
|
|
|
|
|
</header>
|
2010-11-03 00:51:55 +00:00
|
|
|
|
2012-05-07 12:26:17 +02:00
|
|
|
<div class="entry-content">
|
|
|
|
|
{% include 'article_infos.html' %}
|
|
|
|
|
{{ article.content }}
|
|
|
|
|
</div><!-- /.entry-content -->
|
2013-01-05 16:22:32 +08:00
|
|
|
{% if DISQUS_SITENAME and SITEURL and article.status != "draft" %}
|
2012-05-07 12:26:17 +02:00
|
|
|
<div class="comments">
|
|
|
|
|
<h2>Comments !</h2>
|
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
|
<script type="text/javascript">
|
2013-10-27 09:27:30 -07:00
|
|
|
var disqus_shortname = '{{ DISQUS_SITENAME }}';
|
|
|
|
|
var disqus_identifier = '{{ article.url }}';
|
|
|
|
|
var disqus_url = '{{ SITEURL }}/{{ article.url }}';
|
2012-05-07 12:26:17 +02:00
|
|
|
(function() {
|
|
|
|
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
2013-10-24 14:36:03 -04:00
|
|
|
dsq.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js';
|
2012-05-07 12:26:17 +02:00
|
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
|
|
|
})();
|
|
|
|
|
</script>
|
2013-10-27 09:27:30 -07:00
|
|
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
2012-05-07 12:26:17 +02:00
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
</article>
|
2010-08-18 15:10:43 +02:00
|
|
|
</section>
|
2010-12-14 15:05:43 +00:00
|
|
|
{% endblock %}
|