From e08850ba92d1392e9bf32c50181a18c37269bc9f Mon Sep 17 00:00:00 2001 From: Anthony Donlon Date: Tue, 16 Dec 2025 21:16:20 +0800 Subject: [PATCH] update template notices --- cloudflare_error_page/templates/error.html | 2 +- editor/web/src/template.ejs | 2 +- scripts/inline_resources.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cloudflare_error_page/templates/error.html b/cloudflare_error_page/templates/error.html index 7cb6511..823349f 100644 --- a/cloudflare_error_page/templates/error.html +++ b/cloudflare_error_page/templates/error.html @@ -1,4 +1,4 @@ -{# Note: This is generated with scripts/inline_resources.py. Please do not edit this file manually. #} +{# Note: This file is generated with scripts/inline_resources.py. Please do not edit manually. #} diff --git a/editor/web/src/template.ejs b/editor/web/src/template.ejs index 5346a48..9c5e02b 100644 --- a/editor/web/src/template.ejs +++ b/editor/web/src/template.ejs @@ -1,4 +1,4 @@ -<%# Note: This is generated with scripts/inline_resources.py. Please do not edit this file manually. %> +<%# Note: This file is generated with scripts/inline_resources.py. Please do not edit manually. %> diff --git a/scripts/inline_resources.py b/scripts/inline_resources.py index 9a2cdcf..bf44b6a 100644 --- a/scripts/inline_resources.py +++ b/scripts/inline_resources.py @@ -40,7 +40,7 @@ def inline_css_resource(original_file: str, css_file: str, output_file: str): original_data = read_file(original_file) original_data = original_data.replace('', f'') - note = 'Note: This is generated with scripts/inline_resources.py. Please do not edit this file manually.' + note = 'Note: This file is generated with scripts/inline_resources.py. Please do not edit manually.' if original_file.endswith('.ejs'): original_data = f'<%# {note} %>\n' + original_data else: @@ -69,5 +69,5 @@ if __name__ == '__main__': inline_css_resource( os.path.join(resources_folder, 'templates/error.ejs'), os.path.join(resources_folder, 'styles/main.css'), - os.path.join(root, 'editor/frontend/src/template.ejs'), + os.path.join(root, 'editor/web/src/template.ejs'), )