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

18 lines
441 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(`
===================================================
Stellar ${version}
Docs: https://xaoxuu.com/wiki/stellar/
Repo: https://github.com/xaoxuu/hexo-theme-stellar/
===================================================`);
});