Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"

import {
ATTESTANT_BLOG,
BASE_TIME_UNIT,
BLOG_FEEDS,
BLOGS_WITHOUT_FEED,
Expand All @@ -39,7 +40,8 @@ import { fetchTotalValueLocked } from "@/lib/api/fetchTotalValueLocked"

// API calls
const fetchXmlBlogFeeds = async () => {
return await fetchRSS(BLOG_FEEDS)
const xmlUrls = BLOG_FEEDS.filter((feed) => ![ATTESTANT_BLOG].includes(feed))
return await fetchRSS(xmlUrls)
}

// In seconds
Expand Down
6 changes: 2 additions & 4 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ export const RSS_DISPLAY_COUNT = 6

export const VITALIK_FEED = "https://vitalik.eth.limo/feed.xml"
export const SOLIDITY_FEED = "https://soliditylang.org/feed.xml"
export const ATTESTANT_BLOG = "https://www.attestant.io/posts/"

export const COMMUNITY_BLOGS: CommunityBlog[] = [
{
Expand All @@ -197,10 +198,7 @@ export const COMMUNITY_BLOGS: CommunityBlog[] = [
name: "0xPARC",
href: "https://0xparc.org/blog",
},
{
href: "https://www.attestant.io/posts/",
feed: "https://www.attestant.io/posts/",
},
{ href: ATTESTANT_BLOG, feed: ATTESTANT_BLOG },
{ name: "Devcon", href: "https://devcon.org/en/blogs/" },
{
href: "https://soliditylang.org/blog/",
Expand Down