|
|
@@ -210,7 +210,7 @@ def get_pages_from_path(start, app, app_path): |
|
|
|
if not '.' in fname: |
|
|
|
continue |
|
|
|
page_name, extn = fname.rsplit(".", 1) |
|
|
|
if extn in ('js', 'css') and os.path.exists(os.path.join(basepath, fname + '.html')): |
|
|
|
if extn in ('js', 'css') and os.path.exists(os.path.join(basepath, page_name + '.html')): |
|
|
|
# js, css is linked to html, skip |
|
|
|
continue |
|
|
|
|
|
|
@@ -441,4 +441,4 @@ def get_doctypes_with_web_view(): |
|
|
|
return frappe.cache().get_value('doctypes_with_web_view', _get) |
|
|
|
|
|
|
|
def get_start_folders(): |
|
|
|
return frappe.local.flags.web_pages_folders or ('www', 'templates/pages') |
|
|
|
return frappe.local.flags.web_pages_folders or ('www', 'templates/pages') |