https://github.com/samwhelp/hexo-test-url_for
hexo-test-url_for
https://github.com/samwhelp/hexo-test-url_for
Last synced: about 1 year ago
JSON representation
hexo-test-url_for
- Host: GitHub
- URL: https://github.com/samwhelp/hexo-test-url_for
- Owner: samwhelp
- License: mit
- Created: 2016-03-01T06:13:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-01T06:45:42.000Z (over 10 years ago)
- Last Synced: 2025-02-08T20:12:32.664Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-test-url_for
test hexo helper [url_for](https://hexo.io/docs/helpers.html#url-for).
## issue
hexo version 3.2.0
when config.root = "/a/b/c/";
then url_for("/archives") ==> "/a/b/c/archives"
## file version
* url_for.3.2.0.js <=> [hexo 3.2.0](https://github.com/hexojs/hexo/blob/3.2.0/lib/plugins/helper/url_for.js)
* url_for.js <=> fix version
## how to test
### clone
``` sh
$ git clone https://github.com/samwhelp/hexo-test-url_for.git
```
### change dir
``` sh
$ cd hexo-test-url_for
```
### prepare
``` sh
$ npm install
```
### test
``` sh
$ ./app.js
```
or
``` sh
$ node app.js
```
or
``` sh
$ npm start
```