Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

Commit

Permalink
Videos added to end (#28)
Browse files Browse the repository at this point in the history
Since adding the form on the site, people have been submitting videos in the order they'd like them shown.
This reverts an earlier change I made that was relevant when I was mass backfilling content
  • Loading branch information
dirkkelly authored and jmickey committed Jun 21, 2019
1 parent dfa2618 commit 0e689fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,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([]string{id}, cp.Videos...)
cp.Videos = append(cp.Videos, id)
err := cp.save(projectRoot)
if err != nil {
return err
Expand Down

0 comments on commit 0e689fd

Please sign in to comment.