mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
1 parent
988cbcc331
commit
82979322c6
3 files changed
+8
-1
No files matched your search
@@ -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