24 lines
664 B
JavaScript
Executable File
24 lines
664 B
JavaScript
Executable File
/* global hexo */
|
|
|
|
'use strict';
|
|
|
|
hexo.on('generateBefore', () => {
|
|
// Merge config.
|
|
require('./lib/config')(hexo);
|
|
require('./lib/stellar-tag-utils')(hexo);
|
|
require('./lib/render-stylus')(hexo);
|
|
if (hexo.theme.config.debug === "env") {
|
|
require('./lib/check-environment')(hexo);
|
|
}
|
|
});
|
|
|
|
hexo.on('ready', () => {
|
|
const { version } = require('../../package.json');
|
|
hexo.log.info(`
|
|
============================================================
|
|
Volantis ${version}
|
|
Docs: https://volantis.js.org/
|
|
Repo: https://github.com/volantis-x/hexo-theme-volantis/
|
|
============================================================`);
|
|
});
|