Mercurial > public > sg101
diff gpp/templates/news/index.html @ 484:bbbc357ac5f3
For #233; first commit for adding social media sharing buttons to news stories.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 18 Oct 2011 00:04:37 +0000 |
parents | 88b2b9cb8c1f |
children | f0f3966ea44f |
line wrap: on
line diff
--- a/gpp/templates/news/index.html Sat Oct 15 22:04:18 2011 +0000 +++ b/gpp/templates/news/index.html Tue Oct 18 00:04:37 2011 +0000 @@ -1,8 +1,12 @@ {% extends 'news/base.html' %} +{% load script_tags %} {% block title %}News: {{ title }}{% endblock %} {% block news_css %} <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> {% endblock %} +{% block custom_js %} +{% script_tags "social" %} +{% endblock %} {% block news_content %} <h3>{{ title }}</h3>