diff --git a/erpnext/website/css/website.css b/erpnext/website/css/website.css index c653c3be4f..146599bb27 100644 --- a/erpnext/website/css/website.css +++ b/erpnext/website/css/website.css @@ -3,6 +3,10 @@ margin: auto; } +.layout_wrapper { + padding: 20px; +} + footer { width: 900px; margin: auto; @@ -12,6 +16,11 @@ header .topbar .container { margin: auto; } +.web-home-banner { + width: 860px; + margin-bottom: 20px +} + .web-content input[type="text"], .web-content input[type="password"], .web-content select { min-width: 180px; } diff --git a/erpnext/website/doctype/about_us_settings/about_us_settings.py b/erpnext/website/doctype/about_us_settings/about_us_settings.py index 31a26ce031..8a31ff098e 100644 --- a/erpnext/website/doctype/about_us_settings/about_us_settings.py +++ b/erpnext/website/doctype/about_us_settings/about_us_settings.py @@ -20,4 +20,5 @@ class DocType: for t in self.doc.about_team: t['bio'] = markdown2.markdown(t['bio']) + webnotes.conn.set_value('Page', 'about', 'title', self.doc.headline) webnotes.conn.set_value('Page', 'about', 'content', make_template(self.doc, path)) diff --git a/erpnext/website/doctype/blog/template.html b/erpnext/website/doctype/blog/template.html index 8a22cc2ef3..80b030ae9c 100644 --- a/erpnext/website/doctype/blog/template.html +++ b/erpnext/website/doctype/blog/template.html @@ -7,6 +7,7 @@ {{ doc.content_html }}
diff --git a/erpnext/website/doctype/contact_us_settings/contact_us_settings.py b/erpnext/website/doctype/contact_us_settings/contact_us_settings.py index 65d50dbf7e..d2fc3c4c49 100644 --- a/erpnext/website/doctype/contact_us_settings/contact_us_settings.py +++ b/erpnext/website/doctype/contact_us_settings/contact_us_settings.py @@ -13,4 +13,5 @@ class DocType: import os path = os.path.join(os.path.dirname(__file__), 'template.html') + webnotes.conn.set_value('Page', 'contact', 'title', self.doc.headline) webnotes.conn.set_value('Page', 'contact', 'content', make_template(self.doc, path)) diff --git a/erpnext/website/doctype/home_settings/template.html b/erpnext/website/doctype/home_settings/template.html index d43f1efb7f..8129a509ba 100644 --- a/erpnext/website/doctype/home_settings/template.html +++ b/erpnext/website/doctype/home_settings/template.html @@ -4,7 +4,7 @@Next: + %(title)s