diff options
author | Arnaud BOS <arnaud.tlse@gmail.com> | 2011-02-15 20:54:44 +0000 |
---|---|---|
committer | Arnaud BOS <arnaud.tlse@gmail.com> | 2011-02-15 20:54:44 +0000 |
commit | a8e6acdd7d69a2c3fceb29257dbb317fdd166da2 (patch) | |
tree | a0bc6746e3b0a1a5160df7ffe05c90e820fe0956 /sneakyidea/templates/article.html | |
parent | 51bb3d45d1b376ee3f9c498c4828b5e537494630 (diff) | |
download | pelican-themes-a8e6acdd7d69a2c3fceb29257dbb317fdd166da2.tar.gz |
Added theme sneakyidea ;) Based on notmyidea w/ just some css changing
Diffstat (limited to 'sneakyidea/templates/article.html')
-rw-r--r-- | sneakyidea/templates/article.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sneakyidea/templates/article.html b/sneakyidea/templates/article.html new file mode 100644 index 0000000..14fffe4 --- /dev/null +++ b/sneakyidea/templates/article.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} +{% block title %}{{ article.title }}{% endblock %} +{% block content %} +<section id="content" class="body"> +<article> + <header> <h1 class="entry-title"><a href="{{ article.url }}" + rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title + }}</a></h1> {% include 'twitter.html' %} </header> + <div class="entry-content"> + {% include 'article_infos.html' %} + {{ article.content }} + </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 %} |