소스 검색

Merge pull request #12424 from CaseSolvedUK/sitemapfix-v13

fix: Bug preventing proper detection of pages
version-14
mergify[bot] 4 년 전
committed by GitHub
부모
커밋
e9aa93fe98
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      frappe/website/router.py

+ 1
- 1
frappe/website/router.py 파일 보기

@@ -208,7 +208,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



불러오는 중...
취소
저장