annotate gpp/templates/news/index.html @ 487:77d878acea5e

For #233; add social media sharing buttons to podcast pages.
author Brian Neal <bgneal@gmail.com>
date Wed, 19 Oct 2011 00:05:54 +0000
parents bbbc357ac5f3
children f0f3966ea44f
rev   line source
gremmie@1 1 {% extends 'news/base.html' %}
bgneal@484 2 {% load script_tags %}
gremmie@1 3 {% block title %}News: {{ title }}{% endblock %}
gremmie@1 4 {% block news_css %}
bgneal@312 5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" />
gremmie@1 6 {% endblock %}
bgneal@484 7 {% block custom_js %}
bgneal@484 8 {% script_tags "social" %}
bgneal@484 9 {% endblock %}
gremmie@1 10 {% block news_content %}
gremmie@1 11 <h3>{{ title }}</h3>
gremmie@1 12
bgneal@240 13 {% if page.object_list %}
gremmie@1 14 {% include 'core/pagination.html' %}
gremmie@1 15 {% for story in page.object_list %}
gremmie@1 16 {% include 'news/story_summary.html' %}
gremmie@1 17 {% endfor %}
bgneal@240 18 {% include 'core/pagination.html' %}
gremmie@1 19 <div style="clear:right;"></div>
gremmie@1 20 {% else %}
bgneal@240 21 <p>No news at this time.</p>
gremmie@1 22 {% endif %}
gremmie@1 23
gremmie@1 24 {% endblock %}