mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
@@ -61,3 +61,7 @@ hexo.extend.helper.register('urlNoIndex', function () {
|
||||
hexo.extend.helper.register('md5', function (path) {
|
||||
return crypto.createHash('md5').update(decodeURI(this.url_for(path))).digest('hex')
|
||||
})
|
||||
|
||||
hexo.extend.helper.register('get_hexo_version', function () {
|
||||
return hexo.version
|
||||
})
|
||||
Reference in New Issue
Block a user