feature images support

This commit is contained in:
2015-03-05 14:30:55 -05:00
parent 08f94e1085
commit 36fc49c101
3 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,9 @@
<article class="hentry" role="article">
<header>
<h1 class="entry-title">{{ post.title }}</h1>
{% if post.image %}
<div class="feature-image" style="background: url({{ post.image }})"></div>
{% endif %}
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate><a href="{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time>
</header>
<div class="entry-content">