Skip to content

Commit

Permalink
fix: remove unused rss feed (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbapapazes authored Jan 31, 2024
1 parent 03a8dd6 commit fc640d9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 85 deletions.
6 changes: 1 addition & 5 deletions content/rss.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: RSS Feeds
description: Get the latest headlines as soon as they are published!
navigation: false
layout: rss-feeds
---

RSS ('Really Simple Syndication') feeds allow you to see when websites have added new content. By utilizing this feature, you can access the most recent headlines from our blog or articles immediately upon publication, all without needing to visit the website from which you've sourced the feed.
Expand All @@ -17,8 +16,5 @@ You can start using RSS feeds with one of the following:

We have a number of RSS feeds available for you to subscribe to. You can subscribe to all of our feeds or just the ones that interest you the most.

- [Global (Blog, Learn, Build, Explore)](/rss.xml){target="_blank"}
- [Global (Blog)](/rss.xml){target="_blank"}
- [Blog](/blog/rss.xml){target="_blank"}
- [Learn](/learn/rss.xml){target="_blank"}
- [Build](/build/rss.xml){target="_blank"}
- [Explore](/explore/rss.xml){target="_blank"}
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineNuxtConfig({
prerender: {
failOnError: false,
crawlLinks: true,
routes: ['/', '/blog', '/packages', '/categories', '/api/search.txt', '/api/content/packages.json', '/rss.xml', '/rss.xml', '/blog/rss.xml', '/learn/rss.xml', '/explore/rss.xml', '/build/rss.xml', '/robots.txt', '/sitemap.xml'],
routes: ['/', '/blog', '/packages', '/categories', '/api/search.txt', '/api/content/packages.json', '/rss.xml', '/blog/rss.xml'],
},
routeRules: {
'/api/content/**': {
Expand Down
23 changes: 0 additions & 23 deletions server/routes/build/rss.xml.ts

This file was deleted.

23 changes: 0 additions & 23 deletions server/routes/explore/rss.xml.ts

This file was deleted.

23 changes: 0 additions & 23 deletions server/routes/learn/rss.xml.ts

This file was deleted.

10 changes: 0 additions & 10 deletions server/routes/rss.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@ export default defineEventHandler(async (event) => {
{
$icontains: '/blog/',
},
// TODO: upadate for new navigation to /resources in the future
{
$icontains: '/learn/',
},
{
$icontains: '/build/',
},
{
$icontains: '/explore/',
},
],
},
})
Expand Down

0 comments on commit fc640d9

Please sign in to comment.