fixed if in index

This commit is contained in:
Zehka 2020-07-07 15:31:50 +02:00
parent f760a1bf07
commit e76ee0b48b
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ layout: default
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<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>
{{ post.content }}
</div>