From d81a123473c20af8e83b0c78986b199d55bfeb91 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 14 Nov 2021 16:54:23 +0100 Subject: Update docs with better config + installation instructions (#300) * start reworking some documentation * fuller documentation + better docs structure --- docs/configuration/template.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/configuration/template.md (limited to 'docs/configuration/template.md') 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/" +``` -- cgit v1.2.3