Mercurial > public > sg101
diff gpp/templates/news/story_summary.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 | 24f1230f3ee3 |
children | bdcce55f137e |
line wrap: on
line diff
--- a/gpp/templates/news/story_summary.html Sat Oct 15 22:04:18 2011 +0000 +++ b/gpp/templates/news/story_summary.html Tue Oct 18 00:04:37 2011 +0000 @@ -1,6 +1,7 @@ {% load url from future %} {% load tagging_tags %} {% load comment_tags %} +{% load core_tags %} <div class="news-story-container solid-background"> {% if on_home %} <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3> @@ -43,4 +44,5 @@ </ul> </div> {% endif %} +{% social_sharing story.title story.get_absolute_url %} </div>