Mercurial > public > sg101
view gpp/templates/weblinks/link_summary.html @ 20:c0d0779b266f
Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 19 Apr 2009 20:41:37 +0000 |
parents | dbd703f7d63a |
children | 7e8d2dda99e3 |
line wrap: on
line source
{% extends 'weblinks/base.html' %} {% block title %}Web Links: {{ title }}{% endblock %} {% block weblinks_content %} <h3>{{ title }}</h3> {% if links %} <dl> {% for link in links %} {% include 'weblinks/link.html' %} {% endfor %} </dl> {% endif %} {% endblock %}