Allow setting custom footer

This commit is contained in:
Svilen Markov
2024-08-27 00:09:26 +01:00
parent f57bdeec12
commit 7ffca9c3f1
2 changed files with 10 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ import (
"bytes"
"context"
"fmt"
"html/template"
"log/slog"
"net/http"
"path/filepath"
@@ -49,10 +50,11 @@ type Server struct {
}
type Branding struct {
HideFooter bool `yaml:"hide-footer"`
LogoText string `yaml:"logo-text"`
LogoURL string `yaml:"logo-url"`
FaviconURL string `yaml:"favicon-url"`
HideFooter bool `yaml:"hide-footer"`
CustomFooter template.HTML `yaml:"custom-footer"`
LogoText string `yaml:"logo-text"`
LogoURL string `yaml:"logo-url"`
FaviconURL string `yaml:"favicon-url"`
}
type Column struct {