Files
robbis.space/kirby-baukasten-main/site/models/files.php
KirbyCMS Deploy 0a8c107828 Initial commit
2026-04-15 11:50:31 +00:00

24 lines
370 B
PHP

<?php
use Kirby\Cms\Page;
use Kirby\Content\Field;
class FilesPage extends Page
{
public function metaDefaults()
{
return [
'robotsIndex' => false
];
}
/**
* Override the page title to be static
* to the template name
*/
public function title(): Field
{
return new Field($this, 'title', t("page.{$this->intendedTemplate()->name()}.title"));
}
}