hexo-generator-calendar/index.js
Feng Hao 47ea83ce24 Initial commit
Calendar generator for hexo
2016-04-26 12:56:55 +08:00

11 lines
222 B
JavaScript

'use strict';
var assign = require('object-assign');
hexo.config.calendar = assign({
single: true,
root: 'calendar/'
}, hexo.config.calendar);
hexo.extend.generator.register('calendar', require('./lib/generator'));