mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
remove: 刪除部分多餘的代碼
This commit is contained in:
@@ -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
|
||||
})
|
||||
Reference in New Issue
Block a user