correct endif syntax

This commit is contained in:
Zehka 2020-07-07 15:33:43 +02:00
parent e76ee0b48b
commit c4825b7f8c

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 }} {{%endif%}}
{{ post.date | date: "%b %-d, %Y" }} {% if post.post_author %} - {{ post.post_author }} {%endif%}
</p>
{{ post.content }}
</div>