diff --git a/config-example.yaml b/config-example.yaml index 8033fc3fc..34ba8b91e 100644 --- a/config-example.yaml +++ b/config-example.yaml @@ -6,9 +6,12 @@ webServerPort: 8080 instanceDetails: name: Owncast title: Owncast Demo Server - logo: /img/logo128.png summary: "This is brief summary of whom you are or what your stream is. demo server for Owncast. You can read more about it at owncast.online. You can edit this description in your web config file.\n\nBlathers is an owl with brown feathers. His face is white and he has a yellow beak. His arms are wing shaped and he has yellow talons. His eyes are very big with small black irises. He also has big pink cheek circles on his cheeks. His belly appears to be checkered in diamonds with light brown and white squares, similar to an argyle vest, which is traditionally associated with academia. His green bowtie further alludes to his academic nature." extraUserInfoFileName: "/static/content.md" + + logo: + small: /img/logo128.png + large: /img/logo128.png tags: - music diff --git a/config/config.go b/config/config.go index 0b67e4ba3..c080f33b9 100644 --- a/config/config.go +++ b/config/config.go @@ -31,7 +31,7 @@ type InstanceDetails struct { Name string `yaml:"name" json:"name"` Title string `yaml:"title" json:"title"` Summary string `yaml:"summary" json:"summary"` - Logo string `yaml:"logo" json:"logo"` + Logo map[string]string `yaml:"logo" json:"logo"` Tags []string `yaml:"tags" json:"tags"` SocialHandles map[string]string `yaml:"socialHandles" json:"socialHandles"` ExtraInfoFile string `yaml:"extraUserInfoFileName" json:"extraUserInfoFileName"`