web-page name fix

This commit is contained in:
Rushabh Mehta 2012-06-07 11:57:32 +05:30
parent a89f52041f
commit e810f8eadc

View File

@ -33,7 +33,7 @@ class DocType:
import os
# we need the name for the templates
if not self.doc.name:
if self.doc.name.startswith('New Web Page'):
self.autoname()
if self.doc.page_name: