Skip to content

Commit 38ff0de

Browse files
committed
flipping to section param, kc cadence for Super Bowl
1 parent 9ae79a0 commit 38ff0de

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lib/story.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export async function render(locker) {
2222
// Make sure to serve the top ad always
2323
zones.get("zone-el-101");
2424

25-
// Carousel for miamiherald/News
26-
if(market == "miamiherald" && taxonomy.includes("News")) {
25+
// Featured carousels
26+
if(locker.getConfig("zone.carousel")) {
2727
let carousel = new zones.Zone("zone-featured-carousel");
2828
carousel.dataset.taxonomy = taxonomy;
2929
carousel.dataset.market = market;
@@ -45,7 +45,12 @@ export async function render(locker) {
4545
combos.forEach(ele => ele.remove());
4646

4747
// Redistribute zones generically
48-
zones.distribute(5);
48+
if(market == "kansascity") {
49+
// Tighter for the Super Bowl
50+
zones.distribute(4);
51+
} else {
52+
zones.distribute(5);
53+
}
4954
}
5055

5156
zones.render()

0 commit comments

Comments
 (0)