diff options
Diffstat (limited to 'docs/configuration/template.md')
-rw-r--r-- | docs/configuration/template.md | 22 |
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/" +``` |