Skip to content

Commit 6e510f2

Browse files
authored
Update blog-development-sveltekit.md (#20)
update url to svelte kit routing endpoints documentation
1 parent 11d2269 commit 6e510f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/posts/blog-development-sveltekit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ and fetch this data before page actually loads -->
279279

280280
Something that SvelteKit currently does not provide a solution for is a RSS feed. Previously, mine was built automatically by Jekyll and I never had to do anything to get it working. While this wasn't the case right now, I'm sure once SvelteKit is stable and mature, solutions for this will be available so no manual work has to be done.
281281

282-
I made mine by taking advantage of [SvelteKit's endpoints](https://kit.svelte.dev/docs#routing-endpoints), and serving a XML file that is generated at build time. I import the filtered posts from the `posts.js` file I created earlier, and use the metadata to build the content of the RSS file. You can check out [the source code](https://github.com/matfantinel/matfantinel.github.io/blob/main/src/routes/rss.xml.js) for implementation details.
282+
I made mine by taking advantage of [SvelteKit's endpoints](https://kit.svelte.dev/docs/routing#endpoints), and serving a XML file that is generated at build time. I import the filtered posts from the `posts.js` file I created earlier, and use the metadata to build the content of the RSS file. You can check out [the source code](https://github.com/matfantinel/matfantinel.github.io/blob/main/src/routes/rss.xml.js) for implementation details.
283283

284284
### Sitemap
285285

0 commit comments

Comments
 (0)