-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Branding #665
Custom Branding #665
Conversation
Add copy of opptional branding folder for - manifest.json - favicon.ico - logo.svg
Add Customization to README.md Add branding-example folder
Custom branding for titles, etc. Add branding.yaml to /branding-example Update templates
Copied from config.go for config.yaml
Add branding.yaml information
Add branding to volumes
Dockerfile
Outdated
# Copy branding (if exists) | ||
COPY 'brandin[g]/manifest.json' /app/web/assets/ | ||
COPY 'brandin[g]/favicon.ico' /app/web/assets/ | ||
COPY 'brandin[g]/logo.svg' /app/web/assets/img/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to mount these with a volume like the branding.yaml?
End users should not be required to build the app themselves imo.
Changes look great otherwise!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Will look into it!
Make static files more "dynamic" Use embedded FS for favicon.ico Include branding
Changes
/logo.svg
and/manifest.json
branding.go
which reads abranding.yaml
file for the customization of titles, etc.How it works
Mount
branding
folder. Specify the folder inconfig.yaml
. The custom logo and favicon should be visible.If a
branding.yaml
is provided at the same location asconfig.yaml
, it will be used for titles, etc.If the
branding
folder doesn't exist the default TUM-Live configuration is used.