Permalink
Browse files

thumbnails link to articles in article list

  • Loading branch information...
1 parent e5b658f commit b8530b6d7e80f13a6bb5f7bd4bed1d347d113062 @ryanpitts ryanpitts committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/articles/templates/articles/_article_list_item.html
@@ -1,7 +1,7 @@
{# standard presentation block for an article in list and search results pages #}
<div class="page-block">
<h2>{% include "articles/_article_category_and_tags_overline.html" %}<a href="{{ article.get_absolute_url() }}">{{ article.title }}</a></h2>
- {% if article.image %}<img class="list-thumbnail" src="{{ MEDIA_URL }}{{ thumbnail(article.image, "300x240", crop="center") }}" alt="{{ article.title }}">{% endif %}
+ {% if article.image %}<a href="{{ article.get_absolute_url() }}"><img class="list-thumbnail" src="{{ MEDIA_URL }}{{ thumbnail(article.image, "300x240", crop="center") }}" alt="{{ article.title }}"></a>{% endif %}
<ul class="link-list link-list-inline">
{% if article.get_live_author_set().exists() %}<li>{% with author_list = article.get_live_author_set() %}{% include "articles/_article_author_list.html" %}{% endwith %}</li>{% endif %}
{% with person_link_list = article.get_live_people_set() %}

0 comments on commit b8530b6

Please sign in to comment.