fix(ux): ignore hidden template metadata
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user