diff --git a/scripts/validate.py b/scripts/validate.py index c73d748..9b8de9f 100755 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -246,7 +246,12 @@ Beispiele: for template_path in sorted(templates): is_valid, errors = validate_template(template_path) - rel_path = str(template_path.relative_to(base_dir)) + # Make path relative to base_dir, handling both absolute and relative paths + try: + rel_path = str(template_path.relative_to(base_dir)) + except ValueError: + # If template_path is not under base_dir, use absolute path + rel_path = str(template_path) if is_valid: print(f"✅ {rel_path}") diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..48ef1f6 --- /dev/null +++ b/web/index.html @@ -0,0 +1,478 @@ + + +
+ + +