From 665fb80c954de3504e9459984b1cc68a521696c5 Mon Sep 17 00:00:00 2001 From: HyunSeob Date: Sat, 12 Mar 2016 16:39:43 +0900 Subject: [PATCH] Fix tag count correctly. We aren't count unpublished tags now. --- layout/common/profile.ejs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layout/common/profile.ejs b/layout/common/profile.ejs index 128f741..d0561b6 100644 --- a/layout/common/profile.ejs +++ b/layout/common/profile.ejs @@ -1,4 +1,5 @@ <% var profile = theme.customize.profile; %> +<% var tagCount = site.tags.filter(function(tag) { return tag.length; }).length; %>