Skip to content

Commit

Permalink
fix: add proper redirect from old atom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Dec 17, 2023
1 parent d9d92aa commit f9d431e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- run: mkdocs build

# maintain backwards compatibility from previous RSS feed
- run: cp site/feed_rss_created.xml site/atom.xml
- run: cp site/static/rss_redirect.xml site/atom.xml

- name: Setup Pages
if: github.event_name != 'pull_request'
Expand Down
5 changes: 5 additions & 0 deletions mkdocs/static/rss_redirect.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<redirect>
<newLocation>
http://fredrikaverpil.github.io/feed
</newLocation>
</redirect>

0 comments on commit f9d431e

Please sign in to comment.