Mercurial > public > sg101
view gpp/templates/bulletins/bulletins.html @ 486:7854d75427af
For #233, add a meta description field for news stories. This field will get put in the open graph meta tag for better descriptions when shared on social media sites.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 18 Oct 2011 23:23:42 +0000 |
parents | 04377c5bf912 |
children |
line wrap: on
line source
{% load humanize %} {% for bulletin in bulletins %} <div class="bulletin" id="bulletin-{{ bulletin.id }}"> <h3>{{ bulletin.title }}</h3> <div class="bulletin-text"> {{ bulletin.text|safe }} </div> <p class="bulletin-meta">Posted: {{ bulletin.start_date|naturalday|capfirst }} {{ bulletin.start_date|date:"H:i" }}.</p> </div> {% endfor %}