mirror of
https://github.com/amehime/hexo-theme-shoka.git
synced 2026-04-05 10:23:14 +08:00
10 lines
246 B
JavaScript
10 lines
246 B
JavaScript
'use strict';
|
|
|
|
const merge = require('hexo-util').deepMerge || require('lodash/merge');
|
|
|
|
hexo.on('generateBefore', function () {
|
|
if (hexo.config.theme_config) {
|
|
hexo.theme.config = merge(hexo.theme.config, hexo.config.theme_config);
|
|
}
|
|
})
|