From 43b3d8a158b66c58d8584999ebf60b142a13ec4e Mon Sep 17 00:00:00 2001 From: xream Date: Sun, 14 Jan 2024 12:13:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E4=BB=B6=E6=94=AF=E6=8C=81=20?= =?UTF-8?q?nunjucks=20=E6=A8=A1=E6=9D=BF(=E5=90=8E=E7=AB=AF=20>=202.14.154?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/locales/en.ts | 3 +++ src/locales/zh.ts | 3 +++ src/views/FileEditor.vue | 10 ++++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 45d18261e..8622fdb2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sub-store-front-end", - "version": "2.14.47", + "version": "2.14.48", "private": true, "scripts": { "dev": "vite --host", diff --git a/src/locales/en.ts b/src/locales/en.ts index 15067b281..9fe466cc2 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -90,6 +90,9 @@ export default { ignoreFailedRemoteFile: { label: 'Ignore failed remote file(s)' }, + isTpl: { + label: 'Enable template rendering' + }, }, // subscription management page subPage: { diff --git a/src/locales/zh.ts b/src/locales/zh.ts index 0a23d5ea2..efc46ab99 100644 --- a/src/locales/zh.ts +++ b/src/locales/zh.ts @@ -90,6 +90,9 @@ export default { ignoreFailedRemoteFile: { label: '忽略失败的远程文件' }, + isTpl: { + label: '启用模板渲染' + }, }, // 订阅管理页 subPage: { diff --git a/src/views/FileEditor.vue b/src/views/FileEditor.vue index b7fc78364..734d9882d 100644 --- a/src/views/FileEditor.vue +++ b/src/views/FileEditor.vue @@ -142,6 +142,15 @@ + +
+ +
+
0) {