Fixed video id issue
This commit is contained in:
parent
4764fb6f8a
commit
3cc5fc9d50
7
main.go
7
main.go
|
@ -23,11 +23,6 @@ type Index struct {
|
|||
Nav bool
|
||||
}
|
||||
|
||||
type responseWriter struct {
|
||||
http.ResponseWriter
|
||||
status int
|
||||
}
|
||||
|
||||
type GalleryItems struct {
|
||||
URL string
|
||||
ID int
|
||||
|
@ -91,7 +86,7 @@ var socialItems = []SocialItems{
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue