Give your post an uuid!
JavaScript
Switch branches/tags
Nothing to show
Clone or download
chekun Merge pull request #2 from WooLNinesun-Blog/modify
before_render_post event to add uuid if post not has uuid
Latest commit c1d159b Jan 23, 2018

README.md

hexo-uuid

Build Status NPM version Coverage Status

UUID plugin for Hexo.

Hexo-UUID: https://chekun.me/post/hexo-uuid

Installation

$ npm install hexo-uuid --save

This Plugin use es6 syntax, make sure your node support it.

Usage

After installation, when you hexo new whatever-your-title-is, your post/page markdown file will have a uuid attribute, like below:

---
uuid: 2f2dd790-1e71-11e6-95e1-ffc09ba0b003
title: I love Hexo!
date: 2016-05-20 16:20
---

License

MIT