<commit_before>'use strict';

var assign = require('object-assign');

hexo.config.tag_generator = assign({
  per_page: hexo.config.per_page || 10
}, hexo.config.tag_generator);

hexo.extend.generator.register('tag', require('./lib/generator'));<commit_msg>Allow users to set the per_page option to 0<commit_after>'use strict';

var assign = require('object-assign');

hexo.config.tag_generator = assign({
  per_page: typeof hexo.config.per_page === "undefined" ? 10 : hexo.config.per_page
}, hexo.config.tag_generator);

hexo.extend.generator.register('tag', require('./lib/generator'));
{'fraction_non_alphanumeric': 0.16524701873935263, 'fraction_numerical': 0.008517887563884156, 'mean_word_length': 6.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7329344', 'n_tokens_mistral': 192, 'n_tokens_neox': 186, 'n_words': 36}