Skip to content

Commit df5f28b

Browse files
committed
content(partners): Move LUGs and HSes to the end.
Move Linux User Groups and Hackerspaces to the end of the partners list.
1 parent f230bbe commit df5f28b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/components/sections/community-partners.astro

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,21 @@ const allPartners = await getCollection("sponsors", ({ data }) => {
1515
1616
const isPyData = (name: string) => name.startsWith("PyData");
1717
18+
const isLUGorHS = (name: string) => (name.includes("Linux") || name.includes("Hackerspace"));
19+
1820
const regular = allPartners
19-
.filter(p => !isPyData(p.data.name))
21+
.filter(p => (!isPyData(p.data.name)) && !isLUGorHS(p.data.name))
2022
.sort((a, b) => a.data.name.localeCompare(b.data.name));
2123
2224
const pydata = allPartners
2325
.filter(p => isPyData(p.data.name))
2426
.sort((a, b) => a.data.name.localeCompare(b.data.name));
2527
26-
const partners = [...regular, ...pydata];
28+
const lugorhs = allPartners
29+
.filter(p => isLUGorHS(p.data.name))
30+
.sort((a, b) => a.data.name.localeCompare(b.data.name));
31+
32+
const partners = [...regular, ...pydata, ...lugorhs];
2733
2834
const sectionTitle = "Community Partners";
2935
const sectionSubtitle = "Meet the local Python communities joining us at EuroPython 2026";

0 commit comments

Comments
 (0)