Mercurial > public > sg101
diff gpp/templates/news/story.html @ 490:f0f3966ea44f
For #233, switched to asynchronous loading of the social media sharing javascript. Also switched to Facebook's javascript SDK instead of using an iframe for the like/share button.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Oct 2011 00:36:37 +0000 |
parents | bbbc357ac5f3 |
children | bdcce55f137e |
line wrap: on
line diff
--- a/gpp/templates/news/story.html Wed Oct 19 23:31:22 2011 +0000 +++ b/gpp/templates/news/story.html Thu Oct 20 00:36:37 2011 +0000 @@ -16,8 +16,8 @@ {% script_tags "markitup jquery-ui" %} <script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script> {% endif %} -{% script_tags "social" %} {% endblock %} +{% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block news_content %} <div class="solid-background"> <h3>{{ story.title }}</h3> @@ -68,3 +68,4 @@ {% endif %} </div> {% endblock %} +{% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %}