diff --git a/config.toml.example b/config.toml.example index 2fd36bb1..dc839cbe 100644 --- a/config.toml.example +++ b/config.toml.example @@ -64,7 +64,6 @@ [pageContext.youtube] APIKey = "AIzaSyCzI5Gvpq1hPlfjvB81EVc0vLv_11eW7NI" - sessionsPlaylistID = "PLsxUDJzU4VKDudlmlYb-ImFKreFKAfFln" cinPlaylistID = "PLsxUDJzU4VKAAH1pOogbzJx7pZgd-2zOx" channelURL = "//youtube.com/ury1350" diff --git a/public/js/index.js b/public/js/index.js index f5a8eb65..eaeb41bc 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -52,30 +52,6 @@ function getYoutubeFeed(playlistid, results, htmlid) { "" ); } - if (isIndex && htmlid === "#sessions-videos") { - $(htmlid).append( - '
' + - "" + - '
' + - '
See more...
' + - "
" + - "
" + - "
" - ); - } - if (isOD && htmlid === "#sessions-videos") { - $(htmlid).append( - '
' + - '' + - '
' + - '
View more on Youtube...
' + - "
" + - "
" + - "
" - ); - } if (isIndex && htmlid === "#cin-videos") { $(htmlid).append( '
' + @@ -151,12 +127,6 @@ countdown(); //Youtube slideshow for index page function onGoogleLoad() { - if (isIndex) { - getYoutubeFeed(youtubeSessionsPlaylistID, 7, "#sessions-videos"); - } - if (isOD) { - getYoutubeFeed(youtubeSessionsPlaylistID, 15, "#sessions-videos"); - } if (isIndex) { getYoutubeFeed(youtubeCINPlaylistID, 7, "#cin-videos"); } diff --git a/sass/base/_backgrounds.scss b/sass/base/_backgrounds.scss index 8737aff4..7a004e57 100644 --- a/sass/base/_backgrounds.scss +++ b/sass/base/_backgrounds.scss @@ -49,11 +49,6 @@ background: none !important; } -.bg-sessions { - background: desaturate($music-purple, 20%); - color: $white; -} - .bg-podcasts { background: $computing-grey; color: $white; diff --git a/sass/base/_uryCard.scss b/sass/base/_uryCard.scss index c92cbf0d..d6ace43b 100644 --- a/sass/base/_uryCard.scss +++ b/sass/base/_uryCard.scss @@ -54,10 +54,6 @@ a.ury-card, } } - &.sessions { - background: $music-purple; - } - &.cin { color: $cin-background; background: $cin-primary; diff --git a/structs/config.go b/structs/config.go index 6afdb296..8d7a672f 100644 --- a/structs/config.go +++ b/structs/config.go @@ -93,7 +93,6 @@ type Page struct { type youtube struct { APIKey string `toml:"apiKey"` - SessionsPlaylistID string `toml:"sessionsPlaylistID"` CINPlaylistID string `toml:"cinPlaylistID"` ChannelURL string `toml:"channelURL"` } diff --git a/views/index.tmpl b/views/index.tmpl index 440e2783..ecf4b2a9 100644 --- a/views/index.tmpl +++ b/views/index.tmpl @@ -127,11 +127,6 @@
{{end}} -
-

Live Music on URY

-
-
-
{{end}} {{end}} @@ -139,7 +134,6 @@ - - -{{end}}