diff options
author | Samrat Man Singh <samratmansingh@gmail.com> | 2012-07-07 08:31:08 +0545 |
---|---|---|
committer | Samrat Man Singh <samratmansingh@gmail.com> | 2012-07-07 08:31:08 +0545 |
commit | 2ce26b4ed17e153d9834e6dd21ec0da92d71139e (patch) | |
tree | 9b59308831e99ed534f28aac51b5b236ac54ce87 /syte/templates/article.html | |
parent | 705357519b7345422a003d8970d1f396579d91b2 (diff) | |
download | pelican-themes-2ce26b4ed17e153d9834e6dd21ec0da92d71139e.tar.gz |
Move syte-pelican to syte
Diffstat (limited to 'syte/templates/article.html')
-rw-r--r-- | syte/templates/article.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/syte/templates/article.html b/syte/templates/article.html new file mode 100644 index 0000000..756a738 --- /dev/null +++ b/syte/templates/article.html @@ -0,0 +1,50 @@ +{% extends 'base.html' %} +{% block title %}{{article.title}} | Samrat Man Singh{% endblock %} +{% block main_section %} +<section class="main-section blog-section" id="blog-posts"> + <h3 class="date">{{article.locale_date}}</h3> + <article> + <hgroup> + + <h2><a href="{{SITEURL}}/{{article.url}}">{{article.title}}</a></h2> + {% include "twitter.html" %} + <a href="http://news.ycombinator.com/submit" class="hn-share-button">Vote on HN</a> + <!--<script type="text/javascript" src="http://hnapiwrapper.herokuapp.com/static/js/button.js"></script>--> + {% include "hacker_news.html" %} + </hgroup> + {{article.content}} + + <p> + If you liked this post, you should <a href="http://twitter.com/samratmansingh">follow me on Twitter.</a> + </p> + <br/> + <footer> + {% if article.tags %} + <h4>TAGS</h4> + <ul class="tags"> + {% for tag in article.tags %} + <li><a href="{{ SITEURL }}/tag/{{ tag }}.html" class="tag">{{tag}}</a></li> + {% endfor %} + </ul> + {% endif %} + + <br/> + {% if DISQUS_SITENAME %} + <div class="comments"> + <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 %} + </footer> + </article> +</section> + + +{% endblock %} |