leerob / site

My site built with Next.js, Tailwind, and Vercel.
https://leerob.com
7.19k stars 1.39k forks source link

Add RSS feeds to HTML <head> #525

Open rosszurowski opened 2 years ago

rosszurowski commented 2 years ago

I've been enjoying your posts and wanted to add your blog to my RSS reader, but I didn't see any RSS feed available on your site. There are no links to a feed, nor a link tag pointing to the feed. I had to poke around this repo to discover you did, in fact, have one at leerob.io/feed.xml.

I'd suggest adding this to your _document.tsx so that RSS readers can auto-discover your feed themselves.

<link rel="alternate" type="application/rss+xml" href="/feed.xml" />
bdougherty commented 1 year ago

Looks like there is no feed at all anymore. Can't call it a blog if there is not an RSS feed!!!

aderchox commented 1 year ago

I'd like to request a RSS feed too.

z4nr34l commented 1 year ago

Currently this repository uses Next.js App Router, it's not using _document.tsx anymore. I will try to make an PR with that this week.

z4nr34l commented 1 year ago

@leerob Ready if you want ;)