We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1af95e7 + 385254d commit f5ae9ccCopy full SHA for f5ae9cc
scripts/tags.js
@@ -11,7 +11,7 @@ hexo.extend.generator.register("tags", function(locals) {
11
});
12
13
hexo.extend.helper.register('count_tags', function() {
14
- return this.site.posts.map(post => post.tags).flat().unique().length;
+ return this.site.tags.length;
15
16
17
hexo.extend.helper.register('ranking_tags', function() {
0 commit comments