Support a map of logos for #30

This commit is contained in:
Gabe Kangas 2020-06-28 15:13:01 -07:00
parent 73b6937496
commit 519c3aa8b5
2 changed files with 5 additions and 2 deletions

View file

@ -6,10 +6,13 @@ webServerPort: 8080
instanceDetails: instanceDetails:
name: Owncast name: Owncast
title: Owncast Demo Server 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." 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" extraUserInfoFileName: "/static/content.md"
logo:
small: /img/logo128.png
large: /img/logo128.png
tags: tags:
- music - music
- software - software

View file

@ -31,7 +31,7 @@ type InstanceDetails struct {
Name string `yaml:"name" json:"name"` Name string `yaml:"name" json:"name"`
Title string `yaml:"title" json:"title"` Title string `yaml:"title" json:"title"`
Summary string `yaml:"summary" json:"summary"` 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"` Tags []string `yaml:"tags" json:"tags"`
SocialHandles map[string]string `yaml:"socialHandles" json:"socialHandles"` SocialHandles map[string]string `yaml:"socialHandles" json:"socialHandles"`
ExtraInfoFile string `yaml:"extraUserInfoFileName" json:"extraUserInfoFileName"` ExtraInfoFile string `yaml:"extraUserInfoFileName" json:"extraUserInfoFileName"`