Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hluglk/hexo-number-title
example && description
https://github.com/hluglk/hexo-number-title
hexo-plugin
Last synced: 4 months ago
JSON representation
example && description
- Host: GitHub
- URL: https://github.com/hluglk/hexo-number-title
- Owner: hluglk
- License: gpl-3.0
- Archived: true
- Created: 2017-07-23T20:38:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T03:18:40.000Z (about 5 years ago)
- Last Synced: 2024-10-01T00:55:58.622Z (5 months ago)
- Topics: hexo-plugin
- Language: JavaScript
- Homepage: http://hluglk.top/archives/1500846116013/
- Size: 25.4 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-number-title
use timestamp generated value for the permalink `http://hluglk.top/archives/1500846116013/`### INSTALL
```bash
# npm
npm install hexo-number-title --save
# yarn
yarn add hexo-number-title
```### COMMAND
```
$ hexo new test
INFO Created: ~/newblog/source/_posts/test.md$ hexo number-title -h
Usage: hexo number-titleDescription:
hexo-number-title plugin, For all didn't set the permalink postOptions:
-f, --force overwrite permalink
```### EXAMPLE
`hexo number-title`
```
# before
---
title: test
---# after
---
title: test
permalink: 1500846110
---
```-----------------------
`hexo number-title -f`
```
# before
---
title: test
permalink: has-been-set-value
---# after
---
title: test
permalink: 1500846112
---
```
---------------
`hexo new test`
```
---
title: test
permalink: 1500846112
---
```