23 lines
425 B
JavaScript
23 lines
425 B
JavaScript
/* global hexo */
|
|
const logger = require('hexo-log')();
|
|
|
|
/**
|
|
* Print welcome message
|
|
*/
|
|
logger.info(`hexo-theme-amane`);
|
|
|
|
/**
|
|
* Check if all dependencies are installed
|
|
*/
|
|
require('../include/dependency')(hexo);
|
|
|
|
/**
|
|
* Configuration file checking and migration
|
|
*/
|
|
require('../include/config')(hexo);
|
|
|
|
/**
|
|
* Register Hexo extensions and remove Hexo filters that could cause OOM
|
|
*/
|
|
require('../include/register')(hexo);
|