mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
remove: 刪除部分多餘的代碼
This commit is contained in:
1 parent
1a0e279cdb
commit
d33dc5551c
6 files changed
+9
-22
No files matched your search
@@ -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