fixed if in index

This commit is contained in:
Zehka 2020-07-07 15:31:50 +02:00
parent f760a1bf07
commit e76ee0b48b

View File

@ -12,7 +12,7 @@ layout: default
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2> </h2>
<p class="date"> <p class="date">
{{ post.date | date: "%b %-d, %Y" }} {{if post.post_author}} - {{ post.post_author }}{{/if}} {{ post.date | date: "%b %-d, %Y" }} {% if post.post_author %} - {{ post.post_author }} {{%endif%}}
</p> </p>
{{ post.content }} {{ post.content }}
</div> </div>