Fixed setting image as hidden for cover articles

This commit is contained in:
Asutosh Palai
2015-10-09 01:02:45 +05:30
parent f3b8bb4191
commit 814d47d3c5
6 changed files with 3 additions and 7 deletions

View File

@ -8,7 +8,7 @@ title: "Home"
<section class="cover">
<img src="/images/tags/featured.png" class="tag">
<a href="{{ post.url }}">
<img src="/images/posts/{{post.image}}" alt="" {% if post.image == 'hidden' %} class="hidden" {% endif %}>
<img src="/images/posts/{{post.image}}" alt="" {% if post.image == null %} class="hidden" {% endif %}>
<div class="details">
<h2>{{ post.title }}</h2>
{{ post.excerpt | markdownify }}