diff options
author | Arnaud Bos <arnaud.bos@aeon-consulting.fr> | 2012-10-20 02:52:02 +0200 |
---|---|---|
committer | Arnaud Bos <arnaud.bos@aeon-consulting.fr> | 2012-10-20 02:52:02 +0200 |
commit | 3ffd14fa4da0ca71e1f97a070973e4994bae8f61 (patch) | |
tree | dd7fea1a54417fc5df25eb559870c6ad06019ef1 /syte/templates/article.html | |
parent | 01a8792a5116a305368d9d98fa366923086e0633 (diff) | |
download | pelican-themes-3ffd14fa4da0ca71e1f97a070973e4994bae8f61.tar.gz |
add client side social integration, use webassets
Diffstat (limited to 'syte/templates/article.html')
-rw-r--r-- | syte/templates/article.html | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/syte/templates/article.html b/syte/templates/article.html index 756a738..93dded9 100644 --- a/syte/templates/article.html +++ b/syte/templates/article.html @@ -1,5 +1,14 @@ +{% import 'translations.html' as translations with context %} {% extends 'base.html' %} -{% block title %}{{article.title}} | Samrat Man Singh{% endblock %} + +{% block title %}{{article.title}}{% endblock %} + +{% block head %} + {% if GOOGLE_PLUSONE %} + <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> + {% endif %} +{% endblock %} + {% block main_section %} <section class="main-section blog-section" id="blog-posts"> <h3 class="date">{{article.locale_date}}</h3> @@ -8,15 +17,11 @@ <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" %} + {% include "google_plusone.html" %} + {{ translations.translate(article) }} </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 %} |