mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-29 03:52:38 +02:00
41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}{{ article.title }}{% endblock %}
|
|
{% block content %}
|
|
<section id="content" class="body">
|
|
<article>
|
|
<header>
|
|
<abbr class="published" title="{{ article.date.isoformat() }}">
|
|
{{ article.locale_date }}
|
|
</abbr>
|
|
<h1 class="entry-title"><a href="{{ pagename }}" rel="bookmark" title="Permalink to {{ article.title }}">
|
|
{{ article.title }}</a></h1>
|
|
{% include 'twitter.html' %} </header>
|
|
<div class="entry-content">
|
|
|
|
{{ article.content }}
|
|
|
|
<div class="info">
|
|
<p>Published in <a href="{{ SITEURL }}/{{ article.category.url
|
|
}}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a
|
|
href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the
|
|
pdf</a>{% endif %}{% include 'taglist.html' %}</p>
|
|
</div>
|
|
</div><!-- /.entry-content -->
|
|
{% if DISQUS_SITENAME %}
|
|
<div class="comments">
|
|
<h2>Comments !</h2>
|
|
<div id="disqus_thread"></div>
|
|
<script type="text/javascript">
|
|
var disqus_identifier = "{{ article.url }}";
|
|
(function() {
|
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
})();
|
|
</script>
|
|
</div>
|
|
{% endif %}
|
|
|
|
</article>
|
|
</section>
|
|
{% endblock %}
|