web-page name fix
This commit is contained in:
parent
a89f52041f
commit
e810f8eadc
@ -33,7 +33,7 @@ class DocType:
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
# we need the name for the templates
|
# we need the name for the templates
|
||||||
if not self.doc.name:
|
if self.doc.name.startswith('New Web Page'):
|
||||||
self.autoname()
|
self.autoname()
|
||||||
|
|
||||||
if self.doc.page_name:
|
if self.doc.page_name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user