Mercurial > public > sg101
view gpp/templates/weblinks/link_detail.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 | |
children |
line wrap: on
line source
{% extends 'weblinks/base.html' %} {% block title %}Web Links: {{ link.title }}{% endblock %} {% block weblinks_content %} <h3>Link Details: {{ link.title }}</h3> <dl> {% include 'weblinks/link.html' %} </dl> {% endblock %}