Skip to content

Commit 7642946

Browse files
authored
Merge branch 'master' into fix/dark-mode-flicker-clean
2 parents c78a6f9 + c782204 commit 7642946

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

gatsby-node.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,12 +581,26 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
581581
});
582582
});
583583

584+
const latestProgramsBySlug = new Map();
584585
programs.forEach((program) => {
586+
const slug = program.frontmatter.programSlug;
587+
if (!latestProgramsBySlug.has(slug)) {
588+
latestProgramsBySlug.set(slug, program);
589+
} else {
590+
const currentLatest = latestProgramsBySlug.get(slug);
591+
if ((program.fields?.slug || "") > (currentLatest.fields?.slug || "")) {
592+
latestProgramsBySlug.set(slug, program);
593+
}
594+
}
595+
});
596+
597+
latestProgramsBySlug.forEach((program, slug) => {
585598
envCreatePage({
586-
path: `/programs/${program.frontmatter.programSlug}`,
599+
path: `/programs/${slug}`,
587600
component: `${MultiProgramPostTemplate}?__contentFilePath=${program.internal.contentFilePath}`,
588601
context: {
589602
program: program.frontmatter.program,
603+
slug: program.fields?.slug,
590604
},
591605
});
592606
});
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

src/collections/integrations/k8gb/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ components: [
2020
"colorIcon": "icons/components/gslb/icons/color/gslb-color.svg",
2121
"whiteIcon": "icons/components/gslb/icons/white/gslb-white.svg",
2222
"description": "",
23+
},
24+
{
25+
"name": "zone-delegation",
26+
"colorIcon": "icons/components/zone-delegation/icons/color/zone-delegation-color.svg",
27+
"whiteIcon": "icons/components/zone-delegation/icons/white/zone-delegation-white.svg",
28+
"description": "",
2329
}]
2430
featureList: [
2531
"Provides a security benchmark for Kubernetes",

src/collections/members/ritesh-karankal/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ linkedin: riteshkarankal
88
layer5: bf6a3e39-503c-4f58-b244-e5243cfb7cd5
99
location: Chhattisgarh, India
1010
bio: Hi, I’m Ritesh Karankal I’m a CSE graduate, always curious and always learning with a focus on DevOps and related technologies.I’m passionate about contributing to open source, building distributed systems, exploring cloud-native tech, and diving into all things automation. Always excited to learn, share, and build cool stuff with the community.
11-
badges:
12-
- community
13-
status: Active
11+
status: Inactive
1412
emeritus: yes
1513
maintainer: no
1614
published: true

0 commit comments

Comments
 (0)