Fixed home page when no post is featured

This commit is contained in:
Marcin Kurczewski 2014-11-09 20:11:30 +01:00
parent 54d55a9f26
commit bb381642dc

View file

@ -4,7 +4,7 @@
<small>Serving <%= globals.postCount || 0 %> posts (<%= formatFileSize(globals.postSize || 0) %>)</small>
</p>
<% if (post && typeof(post) !== 'undefined') { %>
<% if (post && post.id) { %>
<div class="post">
<div id="post-content-target">
</div>