update theme
This commit is contained in:
parent
57ed60df81
commit
4bcac944b3
27 changed files with 23899 additions and 1 deletions
themes/cmd/scripts
4
themes/cmd/scripts/range.js
Normal file
4
themes/cmd/scripts/range.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
hexo.extend.helper.register("range", function(start, stop, step){
|
||||
return Array.from({ length: (stop - start) / step + 1}, (_, i) => start + (i * step));
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue