documentation - rules and conventions, creating a page

This commit is contained in:
isUnknown 2024-07-11 14:30:32 +02:00
parent 80f72e7dc9
commit fd1ea11170
4 changed files with 97 additions and 3 deletions

View file

@ -0,0 +1,10 @@
<?php
$specificData = [
"exampleField" => $page->exampleField(),
"exampleHardData" => 'Example hard value'
];
$data = array_merge($genericData, $specificData);
echo json_encode($data);

View file

@ -0,0 +1 @@
<?php snippet('generic-template') ?>