Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
483:3ac558402014 | 484:bbbc357ac5f3 |
---|---|
1 {% load url from future %} | 1 {% load url from future %} |
2 {% load tagging_tags %} | 2 {% load tagging_tags %} |
3 {% load comment_tags %} | 3 {% load comment_tags %} |
4 {% load core_tags %} | |
4 <div class="news-story-container solid-background"> | 5 <div class="news-story-container solid-background"> |
5 {% if on_home %} | 6 {% if on_home %} |
6 <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3> | 7 <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3> |
7 {% else %} | 8 {% else %} |
8 <h4><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h4> | 9 <h4><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h4> |
41 <li><a href="{% url 'news-tag_page' tag_name=tag %}">{{ tag }}</a></li> | 42 <li><a href="{% url 'news-tag_page' tag_name=tag %}">{{ tag }}</a></li> |
42 {% endfor %} | 43 {% endfor %} |
43 </ul> | 44 </ul> |
44 </div> | 45 </div> |
45 {% endif %} | 46 {% endif %} |
47 {% social_sharing story.title story.get_absolute_url %} | |
46 </div> | 48 </div> |