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 @@ -20,6 +20,7 @@ import { getLocaleTimestamp } from "@/lib/utils/time"
20
20
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
21
21
22
22
import {
23
+ ATTESTANT_BLOG ,
23
24
BASE_TIME_UNIT ,
24
25
BLOG_FEEDS ,
25
26
BLOGS_WITHOUT_FEED ,
@@ -42,7 +43,8 @@ import { fetchTotalValueLocked } from "@/lib/api/fetchTotalValueLocked"
42
43
43
44
// API calls
44
45
const fetchXmlBlogFeeds = async ( ) => {
45
- return await fetchRSS ( BLOG_FEEDS )
46
+ const xmlUrls = BLOG_FEEDS . filter ( ( feed ) => ! [ ATTESTANT_BLOG ] . includes ( feed ) )
47
+ return await fetchRSS ( xmlUrls )
46
48
}
47
49
48
50
// 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