Mercurial > public > sg101
comparison gpp/templates/news/current_news.html @ 32:07da6967fc40
Created a current_news template tag for the home page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 05 May 2009 00:56:18 +0000 |
parents | |
children | da46e77cd804 |
comparison
equal
deleted
inserted
replaced
31:5eed5e7c1c98 | 32:07da6967fc40 |
---|---|
1 {% load tagging_tags %} | |
2 {% if stories %} | |
3 <h2>Current News Stories</h2> | |
4 {% for story in stories %} | |
5 {% tags_for_object story as story_tags %} | |
6 {% include 'news/story_summary.html' %} | |
7 {% endfor %} | |
8 <hr /> | |
9 <p>For more news stories, check out our <a href="{% url news-index_page page=1 %}">news archive</a>.</p> | |
10 {% endif %} |