Don't show Artist Page for "Various Artists"

This commit is contained in:
Deluan 2021-09-27 11:52:23 -04:00
parent 0b65a4e34e
commit c6868ff8a0
4 changed files with 14 additions and 1 deletions

View file

@ -30,6 +30,7 @@ func serveIndex(ds model.DataStore, fs fs.FS) http.HandlerFunc {
appConfig := map[string]interface{}{
"version": consts.Version(),
"firstTime": firstTime,
"variousArtistsId": consts.VariousArtistsID,
"baseURL": policy.Sanitize(strings.TrimSuffix(conf.Server.BaseURL, "/")),
"loginBackgroundURL": policy.Sanitize(conf.Server.UILoginBackgroundURL),
"welcomeMessage": policy.Sanitize(conf.Server.UIWelcomeMessage),