Skip to content

Commit

Permalink
feat: fixed RSS detection, added RSS icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronczichon committed Mar 13, 2024
1 parent 3d54dca commit fc6599c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web-canada/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ import mdx from "@astrojs/mdx";

// https://astro.build/config
export default defineConfig({
integrations: [mdx()]
integrations: [mdx()],
site: 'https://canada.aaronczichon.de'
});
5 changes: 4 additions & 1 deletion web-canada/src/pages/blog.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ const dateOptions: object = {
};
const allPosts = await getCollection('blog');
import rssIcon from '../resources/rss.svg';
---

<Layout title="Canada - Blog">
<main class="container">
<h1>Blog</h1>
<h1>Blog <a href="/rss.xml"><Image style="width: 25px; height: 25px" src={rssIcon} alt="RSS Icon for subscribe to RSS feed." widths={[30]}
sizes={`30px`} /></a></h1>
<p>
Alle bisherigen Einträge findest du hier. <br />
</p>
Expand Down
17 changes: 17 additions & 0 deletions web-canada/src/resources/rss.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc6599c

Please sign in to comment.