Skip to content

hluglk/hexo-number-title

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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