clytaemnestra / tech-blog

My personal TIL blog.
https://clytaemnestra.github.io/tech-blog/
MIT License
1 stars 0 forks source link

RSS feed has an issue with relative paths #1

Open Hamatti opened 3 months ago

Hamatti commented 3 months ago

Big fan of your blog! When I was reading your blog today through my RSS reader, I noticed there's an issue with the URLs.

The alternate link has a relative path with the full URL:

<link rel="alternate" type="application/rss+xml" title="TIL Feed"
    href="clytaemnestra.github.io/tech-blog/feed.xml">

which leads to the feed not being found as it's searched from https://clytaemnestra.github.io/tech-blog/clytaemnestra.github.io/tech-blog/clytaemnestra.github.io/tech-blog/feed.xml

Same happens in the feed itself:

in <channel>

<atom:link href="clytaemnestra.github.io/tech-blog/feed.xml" rel="self" type="application/rss+xml"/>

and in individual <item>s

<link>clytaemnestra.github.io/tech-blog/djangocon</link>

I figured you'd like to know!

clytaemnestra commented 3 months ago

Hey @Hamatti, thanks a lot! 😻 I'll have a look at it later today.