summaryrefslogtreecommitdiff
path: root/internal/config/template.go
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2021-06-21 19:46:10 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-21 19:46:10 +0200
commitf9bc305acaaf26bf3c5ef4ae49f7b5a20c9c1dfe (patch)
treec7312570819f998a51ad79e950baf523ae6426f8 /internal/config/template.go
parentDeletes+unboosts (#52) (diff)
downloadgotosocial-f9bc305acaaf26bf3c5ef4ae49f7b5a20c9c1dfe.tar.xz
new styling for frontpage, update login and authorize templates (#46)
* new styling for frontpage, update login and authorize templates * run go fmt * add AssetBaseDir to command flag parsing * untested: move landing page to it's own router * go fmt, fix typo * fix package, adapt to proper Route structure
Diffstat (limited to 'internal/config/template.go')
-rw-r--r--internal/config/template.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/template.go b/internal/config/template.go
index eba86f8e6..9c524471c 100644
--- a/internal/config/template.go
+++ b/internal/config/template.go
@@ -22,4 +22,6 @@ package config
type TemplateConfig struct {
// Directory from which gotosocial will attempt to load html templates (.tmpl files).
BaseDir string `yaml:"baseDir"`
+ // Directory from which static files are served
+ AssetBaseDir string `yaml:"assetDir"`
}