Update: Blog - link images

This commit is contained in:
Andy Freer 2017-02-06 02:48:58 +00:00 committed by GitHub
parent f6c6922338
commit 6be8eed26c

View file

@ -16,7 +16,7 @@ description: pages.blog.description
<article class="featurepost">
<div class="featurepost__preview {% if post.image %}featurepost__preview--image{% else %}featurepost__preview--no-image{% endif %}">
{% if post.image %}
<img src="/assets/img/blog/{{ post.image }}" class="featurepost__image">
<a href="{{ basenav }}{{ post.url }}"><img src="/assets/img/blog/{{ post.image }}" class="featurepost__image"></a>
{% endif %}
</div>