diff --git a/util/channel.go b/util/channel.go index 3de12fa..21205bf 100644 --- a/util/channel.go +++ b/util/channel.go @@ -378,7 +378,7 @@ func CreateChannelPage(channel *Channel, projectRoot string) error { // AddVideo adds a video to the channel page and saves it func (cp *ChannelPage) AddVideo(id, projectRoot string) error { - cp.Videos = append(cp.Videos, id) + cp.Videos = append([]string{id}, cp.Videos...) err := cp.save(projectRoot) if err != nil { return err