summaryrefslogtreecommitdiff
path: root/docs/configuration/web.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration/web.md')
-rw-r--r--docs/configuration/web.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/configuration/web.md b/docs/configuration/web.md
new file mode 100644
index 000000000..99533a287
--- /dev/null
+++ b/docs/configuration/web.md
@@ -0,0 +1,21 @@
+# Web
+
+## Settings
+
+```yaml
+######################
+##### WEB CONFIG #####
+######################
+
+# Config pertaining to templating and serving of web pages/email notifications and the like
+
+# String. Directory from which gotosocial will attempt to load html templates (.tmpl files).
+# Examples: ["/some/absolute/path/", "./relative/path/", "../../some/weird/path/"]
+# Default: "./web/template/"
+web-template-base-dir: "./web/template/"
+
+# String. Directory from which gotosocial will attempt to serve static web assets (images, scripts).
+# Examples: ["/some/absolute/path/", "./relative/path/", "../../some/weird/path/"]
+# Default: "./web/assets/"
+web-asset-base-dir: "./web/assets/"
+```