update page maker

This commit is contained in:
Simon Vieille 2022-04-25 21:34:38 +02:00
parent a0d37e54c3
commit b58c370e07
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
### Added
* add allowed chars in RouteParameterSlugify and CodeSlugify
* improve sidebar in mobile view
### Fixed
* fix creation of new element when a menu is edited
* fix editorjs error when the textarea is empty

View file

@ -85,7 +85,7 @@ class MakePage extends AbstractMaker
if (!$filesystem->exists($templatePath)) {
$filesystem->mkdir(dirname($templatePath));
$filesystem->dumpFile($templatePath, "{% extends 'base.html.twig' %}\n\n{% block body %}\n\n{% endblock %}\n");
$filesystem->dumpFile($templatePath, "{% extends 'base.html.twig' %}\n\n{% block page %}\n\n{% endblock %}\n");
}
$this->writeSuccessMessage($io);