more image tweaks

This commit is contained in:
2015-03-05 18:02:39 -05:00
parent f24a867b5b
commit c5afe839f0
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<header>
<h1 class="entry-title">{{ post.title }}</h1>
{% if post.image %}
<div class="feature-image" style="background: url({{ post.image }})"></div>
<img class="feature-image" src="{{ post.image }}" alt="{{ post.title }}">
{% endif %}
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate><a href="{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time>
</header>