[minor] [fix] #218 add default home icon in website if brand not set so it appears okay for small layouts
This commit is contained in:
@@ -74,12 +74,6 @@ class DocType:
|
||||
website_settings.doc.home_page = webpage.doc.name
|
||||
website_settings.doc.banner_html = """<h3 style='margin-bottom: 20px;'>""" + self.doc.name + "</h3>"
|
||||
website_settings.doc.copyright = self.doc.name
|
||||
website_settings.doclist.append({
|
||||
"doctype": "Top Bar Item",
|
||||
"parentfield": "top_bar_items",
|
||||
"label":"Home",
|
||||
"url": webpage.doc.name
|
||||
})
|
||||
website_settings.doclist.append({
|
||||
"doctype": "Top Bar Item",
|
||||
"parentfield": "top_bar_items",
|
||||
|
||||
Reference in New Issue
Block a user