Commits

Ian Lewis committed e161aac

Made lead images into links

Comments (0)

Files changed (1)

templates/blog/post_list.html

         <div class="post-content clearfix">
           {% thumbnail post.lead_image "200x150" crop="center" as thumb %}
           <p>
-            <img src="{{ thumb.url }}" class="align-left">
+            <a href="{{ post.get_absolute_url }}"><img src="{{ thumb.url }}" class="align-left"></a>
             {{ post|to_lead:400|default:"&nbsp;" }}
           </p>
           {% empty %}