diff options
author | 2021-11-14 16:54:23 +0100 | |
---|---|---|
committer | 2021-11-14 16:54:23 +0100 | |
commit | d81a123473c20af8e83b0c78986b199d55bfeb91 (patch) | |
tree | 74c13ccdd96b5506bb61afe50c437b5e950856f9 /docs/configuration/template.md | |
parent | update drone file (#299) (diff) | |
download | gotosocial-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.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/" +``` |