Skip to content

Commit

Permalink
Images are all 300x180 so adding HTML attributes means they load in p…
Browse files Browse the repository at this point in the history
…lace without making the page jump around.
  • Loading branch information
parndt committed May 15, 2012
1 parent af40aef commit 4420a30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -16,9 +16,9 @@


<a href="{{ post.link }}"> <a href="{{ post.link }}">
{% if post.image %} {% if post.image %}
<img src="images/{{ post.image }}" /> <img src="images/{{ post.image }}" width="300" height="180" />
{% else %} {% else %}
<img src="images/default.png" /> <img src="images/default.png" width="300" height="180" />
{% endif %} {% endif %}
</a> </a>


Expand Down

0 comments on commit 4420a30

Please sign in to comment.