mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 22:17:06 +08:00
1. new look of the mobile menu
2. fix bugs
This commit is contained in:
8
scripts/url_check.js
Normal file
8
scripts/url_check.js
Normal file
@@ -0,0 +1,8 @@
|
||||
hexo.extend.helper.register('url_check', function (p) {
|
||||
|
||||
let src = p ;
|
||||
let reg = /^https?/ig;
|
||||
return reg.test(src)
|
||||
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user