Hey Kev!
I followed this section in the docs and got it working.
Create a new plugin:
site/plugins/date-to-slug/index.php
Add this code to index.php
:
<?php
Kirby::plugin('getkirby/date-to-slug', [
'siteMethods' => [
'time' => function() {
return date('Ymd-Hi');
}
]
]);
In your note blueprint, update the fields:
create:
title: "{{ site.time }}"
slug: "{{ site.time }}"
This is the result after creating a new note page: