hexo-theme-stellar/scripts/events/index.js

19 lines
456 B
JavaScript
Raw Normal View History

2021-02-19 23:33:19 +08:00
/* global hexo */
'use strict';
hexo.on('generateBefore', () => {
// Merge config.
require('./lib/config')(hexo);
});
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/
=======================================================`);
});