give access to texts
This commit is contained in:
parent
9b9e5a2ef7
commit
04b04ccf6a
7 changed files with 31 additions and 6 deletions
18
site/config/routes/virtual-pending.php
Normal file
18
site/config/routes/virtual-pending.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
use Kirby\Uuid\Uuid;
|
||||
|
||||
return [
|
||||
'pattern' => 'a-venir',
|
||||
'action' => function () {
|
||||
return Page::factory([
|
||||
'slug' => 'a-venir',
|
||||
'template' => 'error',
|
||||
'content' => [
|
||||
'title' => 'Textes disponibles à partir du 21 janvier',
|
||||
'body' => '<p>Rendez-vous vendredi 21 février à partir de 18h, au Centre Césure (ancien campus Censier), 13 rue Santeuil, 75005 Paris - salle Las Vergnas (métro Censier-Daubenton ou Saint-Marcel).</p>',
|
||||
'uuid' => Uuid::generate(),
|
||||
],
|
||||
]);
|
||||
},
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue