You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/* global hexo */ |
|
|
|
'use strict'; |
|
|
|
hexo.config.index_generator = Object.assign({ |
|
per_page: typeof hexo.config.per_page === 'undefined' ? 10 : hexo.config.per_page, |
|
order_by: '-date' |
|
}, hexo.config.index_generator); |
|
|
|
hexo.extend.generator.register('index', require('./lib/generator'));
|
|
|