mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-21 19:32:34 +00:00
Add an option to disable banner
This commit is contained in:
parent
d241c4378f
commit
9a313b23c3
@ -14,6 +14,7 @@ hexo.extend.filter.register('before_generate', () => {
|
|||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
hexo.on('ready', () => {
|
hexo.on('ready', () => {
|
||||||
|
if (process.argv.includes('--next-disable-banner')) return;
|
||||||
const { version } = require('../../package.json');
|
const { version } = require('../../package.json');
|
||||||
hexo.log.info(`==================================
|
hexo.log.info(`==================================
|
||||||
███╗ ██╗███████╗██╗ ██╗████████╗
|
███╗ ██╗███████╗██╗ ██╗████████╗
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user