Skip to content

Commit

Permalink
Update feed location
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilgeorgescu authored Oct 29, 2024
1 parent 5b84971 commit f286ada
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions docs/redirects.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const orgStructuredData = {
rel="alternate"
type="application/rss+xml"
title={site.name}
href={new URL("feed.xml", Astro.site)}
href={new URL("/articles/feed.xml", Astro.site)}
/>
<link rel="sitemap" href="/sitemap-index.xml" />
<title>
Expand Down
2 changes: 1 addition & 1 deletion src/components/HeaderNavigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Logo from "../assets/images/logos/rtjvm-red.png";
<a href={site.socials.youtube.url} target="_blank" rel="noreferrer"
>YouTube</a
>
<a href="feed.xml" target="_blank" rel="noreferrer">RSS</a>
<a href="/articles/feed.xml" target="_blank" rel="noreferrer">RSS</a>
<a href="https://sso.teachable.com/secure/256201/identity/login/password"
><button type="button">Log In</button></a
>
Expand Down
2 changes: 1 addition & 1 deletion src/data/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"url": "https://www.youtube.com/@rockthejvm"
},
"feed": {
"url": "/feed.xml"
"url": "/articles/feed.xml"
}
}
}

0 comments on commit f286ada

Please sign in to comment.