leerob / leerob.io

✨ My portfolio built with Next.js, Tailwind, and Vercel.
https://leerob.io
7.01k stars 1.36k forks source link

Add RSS feeds to HTML <head> #525

Open rosszurowski opened 1 year ago

rosszurowski commented 1 year 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 11 months 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 11 months ago

@leerob Ready if you want ;)