From a91806fa0285b1c0350edada9c9d13ed7357bb99 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 11 Feb 2014 17:47:12 +0530 Subject: [PATCH] Fix in Sync Static Pages and Nested URL Paths --- webnotes/templates/includes/navbar.html | 2 +- webnotes/website/doctype/web_page/web_page.py | 111 +++++++++++------- .../website/page/website_home/website_home.js | 2 +- webnotes/webutils.py | 100 ++++++++-------- 4 files changed, 125 insertions(+), 90 deletions(-) diff --git a/webnotes/templates/includes/navbar.html b/webnotes/templates/includes/navbar.html index 2eb655f06e..9a5ecb1d0c 100644 --- a/webnotes/templates/includes/navbar.html +++ b/webnotes/templates/includes/navbar.html @@ -10,7 +10,7 @@ - {{ brand_html or "Home"}} + {{ brand_html or (webnotes.get_hooks("brand_html") or ["Home"])[0] }}