diff --git a/sites/diverseeducation.com/server/components/blocks/promo-card-rotation.marko b/sites/diverseeducation.com/server/components/blocks/promo-card-rotation.marko index 7a8f07e4..f452b122 100644 --- a/sites/diverseeducation.com/server/components/blocks/promo-card-rotation.marko +++ b/sites/diverseeducation.com/server/components/blocks/promo-card-rotation.marko @@ -10,10 +10,21 @@ $ const blockName = "callout-cards"; $ const uri = nxConfig.getUri(); $ const placement = nxConfig.getPlacement({ name: placementName, aliases }); +$ const { site } = out.global; +$ const podcastVideoID = site.get('podcastVideoID') +$ const podcastVideoPlaylist = site.get('podcastVideoPlaylist') ? site.get('podcastVideoPlaylist') : podcastVideoID; + + +
+
+
+
+
+
$ const hasAd = ads && ads.length && ads[0] && ads[0].hasCampaign;