2021-02-19 23:33:19 +08:00
|
|
|
/* global hexo */
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
hexo.on('generateBefore', () => {
|
|
|
|
// Merge config.
|
|
|
|
require('./lib/config')(hexo);
|
2021-03-01 21:06:59 +08:00
|
|
|
require('./lib/utils')(hexo);
|
2021-02-19 23:33:19 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
hexo.on('ready', () => {
|
|
|
|
const { version } = require('../../package.json');
|
|
|
|
hexo.log.info(`
|
2021-02-21 03:13:21 +08:00
|
|
|
=======================================================
|
|
|
|
Stellar ${version}
|
|
|
|
Docs: https://xaoxuu.com/wiki/stellar/
|
|
|
|
Repo: https://github.com/xaoxuu/hexo-theme-stellar/
|
|
|
|
=======================================================`);
|
|
|
|
});
|