From 0c5754438eeaae1f1e983b7dcc2ca85cd33e5df8 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 2 Mar 2022 15:05:36 +0800 Subject: [PATCH] update log --- scripts/events/index.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/events/index.js b/scripts/events/index.js index d2fa595..176282f 100644 --- a/scripts/events/index.js +++ b/scripts/events/index.js @@ -10,11 +10,9 @@ hexo.on('generateBefore', () => { }); 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/ -=======================================================`); + const { version, homepage, repository } = require('../../package.json'); + hexo.log.info(`Welcome to Stellar ${version} +DOCS ${homepage} +REPO ${repository.url} + `); });