grav/plugins/auto-date
2023-01-09 02:50:20 +01:00
..
auto-date.php (Grav GitSync) Automatic Commit from buha 2023-01-09 02:50:20 +01:00
auto-date.yaml (Grav GitSync) Automatic Commit from buha 2023-01-09 02:50:20 +01:00
blueprints.yaml (Grav GitSync) Automatic Commit from buha 2023-01-09 02:50:20 +01:00
CHANGELOG.md (Grav GitSync) Automatic Commit from buha 2023-01-09 02:50:20 +01:00
LICENSE (Grav GitSync) Automatic Commit from buha 2023-01-09 02:50:20 +01:00
README.md (Grav GitSync) Automatic Commit from buha 2023-01-09 02:50:20 +01:00

Auto Date Plugin

The Auto Date Plugin is designed for Grav CMS and automatically adds the current date to frontmatter when createing 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.