Skip to content

Commit

Permalink
更新打印信息
Browse files Browse the repository at this point in the history
  • Loading branch information
weizwz committed Nov 23, 2023
1 parent c6abb18 commit e9c0934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
// 全局声明插件代号
const pluginname = 'butterfly_recommend';
const pluginname = 'hexo_butterfly_recommend';
// 全局声明依赖
const pug = require('pug');
const path = require('path');
Expand Down Expand Up @@ -184,7 +184,7 @@ hexo.extend.filter.register(
${pluginname}_injector_config: function() {
var parent_div_git = ${get_layout};
var item_html = '${temple_html_text}';
console.log('已挂载${pluginname}');
console.log('已挂载 ${pluginname}, 使用文档请查看 https://github.com/weizwz/hexo-butterfly-recommend');
parent_div_git.insertAdjacentHTML("afterbegin",item_html);
},
toRandomPost: function() {
Expand Down

0 comments on commit e9c0934

Please sign in to comment.