ソースを参照

Merge pull request #12424 from CaseSolvedUK/sitemapfix-v13

fix: Bug preventing proper detection of pages
version-14
mergify[bot] 4年前
committed by GitHub
コミット
e9aa93fe98
この署名に対応する既知のキーがデータベースに存在しません 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



読み込み中…
キャンセル
保存