Skip to content

Commit

Permalink
Use relative URL for RSS link (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
kokarn committed Sep 25, 2023
1 parent dc33835 commit 9ef1a5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/footer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { h } from 'preact'
import { getBaseUrl } from '../util'

const Footer = () => (
<section id="footer">
Expand All @@ -11,7 +10,7 @@ const Footer = () => (
<a href="https://getbootstrap.com/">Bootstrap</a>,{' '}
<a href="https://reactjs.org/">React</a> and{' '}
<a href="https://fontawesome.com/">Font Awesome</a>
<a href={`${getBaseUrl()}/atom.xml`} class="float-right">
<a href={`/atom.xml`} class="float-right">
<i class="fas fa-rss" /> Subscribe via RSS
</a>
</footer>
Expand Down

0 comments on commit 9ef1a5d

Please sign in to comment.