https://github.com/getgrav/grav-plugin-auto-date
Grav Auto Date Plugin
https://github.com/getgrav/grav-plugin-auto-date
date dates grav grav-admin grav-plugin
Last synced: 5 months ago
JSON representation
Grav Auto Date Plugin
- Host: GitHub
- URL: https://github.com/getgrav/grav-plugin-auto-date
- Owner: getgrav
- License: mit
- Created: 2016-09-30T14:52:06.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2022-01-04T09:41:31.000Z (over 3 years ago)
- Last Synced: 2024-10-30T02:06:03.055Z (6 months ago)
- Topics: date, dates, grav, grav-admin, grav-plugin
- Language: PHP
- Homepage: https://getgrav.org
- Size: 8.79 KB
- Stars: 12
- Watchers: 8
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Auto Date Plugin
The **Auto Date** Plugin is designed for [Grav CMS](https://github.com/getgrav/grav) and automatically adds the current date to frontmatter when creating a new page via the Admin plugin.
## Description
There's not much to this plugin, simply install it and whenever you create a new page via the admin plugin, the current date will be inserted in the frontmatter of the page and show up in the **Options** -> **Publishing** Tab. The format of the date is dependent upon the value set in `system.yaml` under `pages: dateformat: default` and if not set will use `H:i d-m-Y` as the date format.