From 0e7ac8d61a5918b24b2919465699a8abd07454a4 Mon Sep 17 00:00:00 2001 From: SUNWUYUAN <1847261658@qq.com> Date: Sat, 28 Oct 2023 10:30:48 +0800 Subject: [PATCH] 1 --- .env.example | 6 +++++- build/ejs/404.ejs | 2 +- build/ejs/about.ejs | 2 +- build/ejs/admin/admin_index.ejs | 2 +- build/ejs/asdm.ejs | 2 +- build/ejs/comparer.ejs | 2 +- build/ejs/error.ejs | 2 +- build/ejs/fankui.ejs | 2 +- build/ejs/home.ejs | 2 +- build/ejs/index.ejs | 2 +- build/ejs/linkfile.ejs | 2 +- build/ejs/login_or_register.ejs | 2 +- build/ejs/my_info.ejs | 4 ++-- build/ejs/python/my_python_projects.ejs | 2 +- build/ejs/python/python_edit.ejs | 7 +++---- build/ejs/python/python_play.ejs | 7 +++---- build/ejs/python/python_projects.ejs | 17 +++++++++++++---- build/ejs/repw.ejs | 2 +- build/ejs/scratch/my_scratch_projects.ejs | 2 +- build/ejs/scratch/scratch_edit.ejs | 2 +- build/ejs/scratch/scratch_play.ejs | 6 +++--- build/ejs/scratch/scratch_projects.ejs | 2 +- build/ejs/share.ejs | 2 +- build/ejs/user.ejs | 2 +- build/ejs/waline_login.ejs | 2 +- "build/ejs/\345\210\206\347\273\204 4 (7).svg" | 3 +++ index.html | 2 +- 27 files changed, 52 insertions(+), 38 deletions(-) create mode 100644 "build/ejs/\345\210\206\347\273\204 4 (7).svg" diff --git a/.env.example b/.env.example index e69881b..8a09671 100644 --- a/.env.example +++ b/.env.example @@ -60,4 +60,8 @@ txcid='' txckey='' #前端静态文件地址,无法全部修改,请使用替换 -staticurl='https://registry.npmmirror.com/ourworldstaticfile/latest/files' \ No newline at end of file +staticurl='https://registry.npmmirror.com/ourworldstaticfile/latest/files' + +#附加代码 +#可以添加任何代码,如需要添加统计代码,请在此处添加 +includecode='' \ No newline at end of file diff --git a/build/ejs/404.ejs b/build/ejs/404.ejs index 4cc8ea7..90dc3b1 100644 --- a/build/ejs/404.ejs +++ b/build/ejs/404.ejs @@ -12,7 +12,7 @@ <% include linkfile.ejs %> - +<%= process.env.includecode %>
<% include hand.ejs %> diff --git a/build/ejs/about.ejs b/build/ejs/about.ejs index da61753..4cf6540 100644 --- a/build/ejs/about.ejs +++ b/build/ejs/about.ejs @@ -12,7 +12,7 @@ <% include linkfile.ejs %> - +<%= process.env.includecode %> <% include hand.ejs %> diff --git a/build/ejs/admin/admin_index.ejs b/build/ejs/admin/admin_index.ejs index 6155a53..d29a2f6 100644 --- a/build/ejs/admin/admin_index.ejs +++ b/build/ejs/admin/admin_index.ejs @@ -18,7 +18,7 @@ - +<%= process.env.includecode %>