From bb381642dc6a884a92897ae7dc7ccd2fd9055bad Mon Sep 17 00:00:00 2001
From: Marcin Kurczewski
Date: Sun, 9 Nov 2014 20:11:30 +0100
Subject: [PATCH] Fixed home page when no post is featured
---
public_html/templates/home.tpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public_html/templates/home.tpl b/public_html/templates/home.tpl
index c646e15f..980df919 100644
--- a/public_html/templates/home.tpl
+++ b/public_html/templates/home.tpl
@@ -4,7 +4,7 @@
Serving <%= globals.postCount || 0 %> posts (<%= formatFileSize(globals.postSize || 0) %>)
- <% if (post && typeof(post) !== 'undefined') { %>
+ <% if (post && post.id) { %>