fix: set_metatags_from_website_route_meta
This commit is contained in:
parent
3aa990c6d9
commit
d7fcc60ac7
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class BaseTemplatePage(WebPage):
|
|||
Get meta tags from Website Route meta
|
||||
they can override the defaults set above
|
||||
'''
|
||||
route = self.context.path
|
||||
route = self.path
|
||||
if route == '':
|
||||
# homepage
|
||||
route = frappe.db.get_single_value('Website Settings', 'home_page')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue