Mercurial > public > sg101
changeset 209:0e7c7231dea9
Fix #75; weblinks should have an <a> tag for search engines.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 05 May 2010 03:24:14 +0000 |
parents | 2022c0409296 |
children | 77b606e0ad5f |
files | gpp/templates/weblinks/link.html |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gpp/templates/weblinks/link.html Wed May 05 03:12:15 2010 +0000 +++ b/gpp/templates/weblinks/link.html Wed May 05 03:24:14 2010 +0000 @@ -1,11 +1,14 @@ <dt> -<h4>{{ link.title }}</h4> +<h4><a href="{{ link.url }}">{{ link.title }}</a></h4> </dt> <dd> <p>{{ link.description }}</p> <form action="{% url weblinks-visit link.id %}" method="post">{% csrf_token %} <table class="link-stats"> <tr> + <th>Added by:</th><td><a href="{% url bio-view_profile link.user.username %}">{{ link.user.username }}</a></td> + </tr> + <tr> <th>Date Added:</th><td>{{ link.date_added|date:"M d, Y" }}</td> <th>Hits:</th><td>{{ link.hits }}</td> <td>