summaryrefslogtreecommitdiff
path: root/docs/locales/zh/configuration/web.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/locales/zh/configuration/web.md')
-rw-r--r--docs/locales/zh/configuration/web.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/locales/zh/configuration/web.md b/docs/locales/zh/configuration/web.md
new file mode 100644
index 000000000..553e511bb
--- /dev/null
+++ b/docs/locales/zh/configuration/web.md
@@ -0,0 +1,21 @@
+# Web
+
+## 设置
+
+```yaml
+######################
+##### WEB CONFIG #####
+######################
+
+# 与网页模板和发送邮件通知等相关的配置
+
+# 字符串。GoToSocial 尝试加载 HTML 模板 (.tmpl 文件) 的目录。
+# 示例: ["/some/absolute/path/", "./relative/path/", "../../some/weird/path/"]
+# 默认值: "./web/template/"
+web-template-base-dir: "./web/template/"
+
+# 字符串。GoToSocial 试图提供静态网页资源(图片,脚本)的目录。
+# 示例: ["/some/absolute/path/", "./relative/path/", "../../some/weird/path/"]
+# 默认值: "./web/assets/"
+web-asset-base-dir: "./web/assets/"
+```