diff --git a/layout/_partial/archive.ejs b/layout/_partial/archive.ejs
index 20693f0..574dc40 100644
--- a/layout/_partial/archive.ejs
+++ b/layout/_partial/archive.ejs
@@ -36,10 +36,10 @@ if (page.archive){
<%= item.date.format('MMM D') %>
- <% if (item.categories){ %>
+ <% if (item.categories.length){ %>
<%- partial('post/taxonomy', {taxonomy: item.categories, separator: ', '}) %>
<% } %>
- <% if (item.tags){ %>
+ <% if (item.tags.length){ %>
<%- partial('post/taxonomy', {taxonomy: item.tags, separator: ', '}) %>
<% } %>
diff --git a/layout/_partial/post/category.ejs b/layout/_partial/post/category.ejs
index 4369bcc..16043a5 100644
--- a/layout/_partial/post/category.ejs
+++ b/layout/_partial/post/category.ejs
@@ -1,3 +1,3 @@
-<% if (item.categories){ %>
+<% if (item.categories.length){ %>
<%- partial('taxonomy', {taxonomy: item.categories, separator: ''}) %>
<% } %>
\ No newline at end of file
diff --git a/layout/_partial/post/tag.ejs b/layout/_partial/post/tag.ejs
index d01b218..99a8f3e 100644
--- a/layout/_partial/post/tag.ejs
+++ b/layout/_partial/post/tag.ejs
@@ -1,3 +1,3 @@
-<% if (item.tags){ %>
+<% if (item.tags.length){ %>
<%- partial('taxonomy', {taxonomy: item.tags, separator: ''}) %>
<% } %>
\ No newline at end of file