@@ -55,6 +55,11 @@ export async function getStaticProps({ params }) {
5555 "podcasts",
5656 "date"
5757 );
58+ const articles = getAllPosts(
59+ ["title", "image", "date", "publication", "author", "slug"],
60+ "articles",
61+ "date"
62+ );
5863 const organizations = getAllPosts(
5964 ["title", "image", "slug"],
6065 "organizations"
@@ -86,6 +91,7 @@ export async function getStaticProps({ params }) {
8691 ...organizations.map((e) => ({ ...e, type: "Organization" })),
8792 ...podcasts.map((e) => ({ ...e, type: "Podcast" })),
8893 ...marketplaces.map((e) => ({ ...e, type: "Marketplace" })),
94+ ...articles.map((e) => ({ ...e, type: "Article" })),
8995 ].filter((e) => e.title === post[feat].title)?.[0];
9096 post[feat].image = post[feat]?.image || matchedPost?.image || null;
9197 post[feat].type = matchedPost?.type || "Podcast";