Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

hluglk/hexo-number-title

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hexo-number-title

use timestamp generated value for the permalink http://hluglk.top/archives/1500846116013/

INSTALL

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

About

example && description

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published