Fixed video id issue

This commit is contained in:
Patrick Hatsune 2024-09-10 13:55:10 -07:00
parent 4764fb6f8a
commit 3cc5fc9d50
Signed by: keyemail
GPG key ID: 5E831ABC5BCE10F2

View file

@ -23,11 +23,6 @@ type Index struct {
Nav bool Nav bool
} }
type responseWriter struct {
http.ResponseWriter
status int
}
type GalleryItems struct { type GalleryItems struct {
URL string URL string
ID int ID int
@ -91,7 +86,7 @@ var socialItems = []SocialItems{
} }
var videoItems = []VideoItems{ var videoItems = []VideoItems{
{"/src/assets/videos/orange-cat.mp4", 2, "Orange Cat", "Cute little orange cat that my friend has!! Hes so cute lol.", "/src/assets/video_thumbnails/orange-cat.png"}, {"/src/assets/videos/orange-cat.mp4", 1, "Orange Cat", "Cute little orange cat that my friend has!! Hes so cute lol.", "/src/assets/video_thumbnails/orange-cat.png"},
} }
func renderTemplate(w http.ResponseWriter, tmpl string, data *Index, nav bool) { func renderTemplate(w http.ResponseWriter, tmpl string, data *Index, nav bool) {