Permalink
Browse files

Amended script to track template popularity

  • Loading branch information...
davidmerfield committed Nov 16, 2018
1 parent 6bcd457 commit e580044b6a122eb090ae0cdaa6150d3a6d5045cd
Showing with 3 additions and 0 deletions.
  1. +3 −0 scripts/info/template-popularity.js
@@ -4,6 +4,9 @@ var templates = {};
eachBlog(
function(user, blog, next) {
// they use a custom template
if (blog.template.indexOf("SITE") !== 0) return next();
templates[blog.template] = templates[blog.template] || 0;
templates[blog.template]++;

0 comments on commit e580044

Please sign in to comment.