update page maker
This commit is contained in:
parent
a0d37e54c3
commit
b58c370e07
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
* add allowed chars in RouteParameterSlugify and CodeSlugify
|
* add allowed chars in RouteParameterSlugify and CodeSlugify
|
||||||
|
* improve sidebar in mobile view
|
||||||
### Fixed
|
### Fixed
|
||||||
* fix creation of new element when a menu is edited
|
* fix creation of new element when a menu is edited
|
||||||
* fix editorjs error when the textarea is empty
|
* fix editorjs error when the textarea is empty
|
||||||
|
|
|
@ -85,7 +85,7 @@ class MakePage extends AbstractMaker
|
||||||
|
|
||||||
if (!$filesystem->exists($templatePath)) {
|
if (!$filesystem->exists($templatePath)) {
|
||||||
$filesystem->mkdir(dirname($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);
|
$this->writeSuccessMessage($io);
|
||||||
|
|
Loading…
Reference in a new issue