Mercurial > public > sg101
diff gpp/templates/news/index.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 |
line wrap: on
line diff
--- a/gpp/templates/news/index.html Wed Oct 19 23:31:22 2011 +0000 +++ b/gpp/templates/news/index.html Thu Oct 20 00:36:37 2011 +0000 @@ -4,9 +4,7 @@ {% block news_css %} <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> {% endblock %} -{% block custom_js %} -{% script_tags "social" %} -{% endblock %} +{% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block news_content %} <h3>{{ title }}</h3> @@ -22,3 +20,4 @@ {% endif %} {% endblock %} +{% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %}