remove: 刪除部分多餘的代碼

This commit is contained in:
Jerry
2021-01-17 19:17:34 +08:00
parent 1a0e279cdb
commit d33dc5551c
6 changed files with 9 additions and 22 deletions

View File

@@ -70,9 +70,3 @@ hexo.extend.helper.register('injectHtml', function (data) {
}
return result
})
hexo.extend.helper.register('post_edit', function(src) {
const { post_edit } = this.theme;
if (!post_edit.enable) return '';
return post_edit.url + src
})