fix(ux): ignore hidden template metadata
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-03 00:46:29 +08:00
parent 04a251bf6d
commit 108ebf3f91
2 changed files with 4 additions and 0 deletions

View File

@@ -368,6 +368,7 @@ def _iter_site_templates(root: Path) -> list[Path]:
for path in template_root.rglob("*")
if path.suffix in {".html", ".j2"}
and path.is_file()
and not path.name.startswith(".")
and not path.name.startswith("_")
and "components" not in path.relative_to(template_root).parts
and path.name not in {"base.html", "ewoooc_base.html", "test_base.html"}