view gpp/templates/news/index.html @ 256:9c82c7984884

Fix #105. Incorrect path to example image in the markdown help template.
author Brian Neal <bgneal@gmail.com>
date Tue, 21 Sep 2010 00:59:31 +0000
parents 1246a4f1ab4f
children 88b2b9cb8c1f
line wrap: on
line source
{% extends 'news/base.html' %}
{% block title %}News: {{ title }}{% endblock %}
{% block news_css %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" />
{% endblock %}
{% block news_content %}
<h3>{{ title }}</h3>

{% if page.object_list %}
{% include 'core/pagination.html' %}
{% for story in page.object_list %}
   {% include 'news/story_summary.html' %}
{% endfor %}
{% include 'core/pagination.html' %}
<div style="clear:right;"></div>
{% else %}
   <p>No news at this time.</p>
{% endif %}

{% endblock %}