summaryrefslogtreecommitdiff
path: root/docs/configuration/template.md
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-11-14 16:54:23 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-14 16:54:23 +0100
commitd81a123473c20af8e83b0c78986b199d55bfeb91 (patch)
tree74c13ccdd96b5506bb61afe50c437b5e950856f9 /docs/configuration/template.md
parentupdate drone file (#299) (diff)
downloadgotosocial-d81a123473c20af8e83b0c78986b199d55bfeb91.tar.xz
Update docs with better config + installation instructions (#300)
* start reworking some documentation * fuller documentation + better docs structure
Diffstat (limited to 'docs/configuration/template.md')
-rw-r--r--docs/configuration/template.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/configuration/template.md b/docs/configuration/template.md
new file mode 100644
index 000000000..2c0fd5a61
--- /dev/null
+++ b/docs/configuration/template.md
@@ -0,0 +1,22 @@
+# Template
+
+## Settings
+
+```yaml
+###############################
+##### WEB TEMPLATE CONFIG #####
+###############################
+
+# Config pertaining to templating of web pages/email notifications and the like
+template:
+
+ # 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/"
+ baseDir: "./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/"
+ assetBaseDir: "./web/assets/"
+```