File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
19
19
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
20
20
21
21
import {
22
+ ATTESTANT_BLOG ,
22
23
BASE_TIME_UNIT ,
23
24
BLOG_FEEDS ,
24
25
BLOGS_WITHOUT_FEED ,
@@ -39,7 +40,8 @@ import { fetchTotalValueLocked } from "@/lib/api/fetchTotalValueLocked"
39
40
40
41
// API calls
41
42
const fetchXmlBlogFeeds = async ( ) => {
42
- return await fetchRSS ( BLOG_FEEDS )
43
+ const xmlUrls = BLOG_FEEDS . filter ( ( feed ) => ! [ ATTESTANT_BLOG ] . includes ( feed ) )
44
+ return await fetchRSS ( xmlUrls )
43
45
}
44
46
45
47
// In seconds
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ export const RSS_DISPLAY_COUNT = 6
175
175
176
176
export const VITALIK_FEED = "https://vitalik.eth.limo/feed.xml"
177
177
export const SOLIDITY_FEED = "https://soliditylang.org/feed.xml"
178
+ export const ATTESTANT_BLOG = "https://www.attestant.io/posts/"
178
179
179
180
export const COMMUNITY_BLOGS : CommunityBlog [ ] = [
180
181
{
@@ -197,10 +198,7 @@ export const COMMUNITY_BLOGS: CommunityBlog[] = [
197
198
name : "0xPARC" ,
198
199
href : "https://0xparc.org/blog" ,
199
200
} ,
200
- {
201
- href : "https://www.attestant.io/posts/" ,
202
- feed : "https://www.attestant.io/posts/" ,
203
- } ,
201
+ { href : ATTESTANT_BLOG , feed : ATTESTANT_BLOG } ,
204
202
{ name : "Devcon" , href : "https://devcon.org/en/blogs/" } ,
205
203
{
206
204
href : "https://soliditylang.org/blog/" ,
You can’t perform that action at this time.
0 commit comments