Permalink
Browse files

Merge pull request #118 from ryanpitts/development

img cleanup
  • Loading branch information...
2 parents 170e840 + b8530b6 commit a07c62f96f0fbcca85df4eaa60d485ab07ae0dac @ryanpitts ryanpitts committed Oct 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 media/css/app.css
  2. +1 −1 source/articles/templates/articles/_article_list_item.html
View
@@ -476,7 +476,7 @@ h1.maintopic {
}
.image-full-width-wrapper {
- width: 100%;
+ width: 99%;
margin-bottom: 1em;
}
@@ -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 a07c62f

Please sign in to comment.