diff options
author | Drew DeVault <sir@cmpwn.com> | 2013-10-28 12:40:36 -0600 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2013-10-28 12:40:36 -0600 |
commit | 8ad888e1fdafb4aefeac07232a865da4969343bb (patch) | |
tree | 7291a2c2264cf7bb226b798ba188457e9779afb8 /index.html | |
parent | 96bc836e858500064dd1904760ff866495e19efa (diff) |
Remove thumbnail from posts without a thumbnail
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -14,13 +14,11 @@ something interesting to say, so expect infrequent articles.</p> <div class="media"> {% for post in site.posts %} + {% if post.thumbnail != nil %} <a href="{{ post.url }}" class="pull-left"> - {% if post.thumbnail == nil %} - <img class="media-object" src="http://placehold.it/64x64" /> - {% else %} <img class="media-object" src="{{ post.thumbnail }}" /> - {% endif %} </a> + {% endif %} <div class="media-body"> <a href="{{ post.url }}"><h4 class="media-heading">{{ post.title }}</h4></a> <small>{{ post.date | date_to_string }}</small> |