Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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-title

Description:
hexo-number-title plugin, For all didn't set the permalink post

Options:
-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
---
```