Skip to content

Commit

Permalink
update tag builder
Browse files Browse the repository at this point in the history
  • Loading branch information
nverba committed May 15, 2015
1 parent b72341b commit 8694a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulp-tasks/build-tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gulp.task('build:tags', ['build:posts'], function () {
// then, replace tag path data with .length, i.e. number of documents referencing that tag

for (var tag in tags) {
fs.writeFile(tags_loc + tag + '.json', JSON.stringify(tags[tag]));
fs.writeFile(tags_loc + tag.toLowerCase() + '.json', JSON.stringify(tags[tag]));
tags[tag] = tags[tag].length;
}

Expand Down

0 comments on commit 8694a1a

Please sign in to comment.