https://github.com/boybeak/hexo-auto-date
Hexo plugin to automatically set post date using file creation or modification time
https://github.com/boybeak/hexo-auto-date
Last synced: 7 months ago
JSON representation
Hexo plugin to automatically set post date using file creation or modification time
- Host: GitHub
- URL: https://github.com/boybeak/hexo-auto-date
- Owner: boybeak
- License: mit
- Created: 2024-09-25T03:17:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T04:35:30.000Z (almost 2 years ago)
- Last Synced: 2024-10-25T05:55:45.848Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-auto-date
Hexo plugin to automatically set post date using file creation or modification time
## Installation
```bash
npm install hexo-auto-date --save
```
## Usage
```yml
hexo_auto_date:
enable: true # enable the plugin, default is true
strategy: ctime # 'ctime' - create time or 'mtime' - modify time,default is 'ctime'
```