From 7fa7a38167415301a9a01735d2eb354542c11dcb Mon Sep 17 00:00:00 2001 From: James Mills Date: Thu, 26 Mar 2020 01:01:35 +1000 Subject: Add a footer --- app/app.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/app.go') diff --git a/app/app.go b/app/app.go index 902b932..ac377be 100644 --- a/app/app.go +++ b/app/app.go @@ -166,9 +166,11 @@ func (a *App) indexHandler(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, fmt.Sprintf("/v/%s?%s", pl[0].ID, r.URL.RawQuery), 302) } else { ctx := &struct { + Sort string Playing *media.Video Playlist media.Playlist }{ + Sort: "", Playing: &media.Video{ID: ""}, Playlist: a.Library.Playlist(), } -- cgit v1.2.3