We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1c4ffb commit 4dc3d27Copy full SHA for 4dc3d27
index.js
@@ -1,6 +1,6 @@
1
var fs = require('fs');
2
hexo.extend.filter.register('before_post_render', function(data){
3
- var file_content = fs.readFileSync(path.join(_dirname,"push.js"),"utf-8");
+ var file_content = fs.readFileSync('./node_modules/hexo-baidu-url-push/push.js');
4
data.content += file_content;
5
return data;
6
-});
+});
0 commit comments