fuz_blog

blog software from scratch with SvelteKit
🪧
blog

To enable your generated feed.xml, include it as a link in your layout:

<!-- src/routes/+layout.svelte --> <script lang="ts"> import {set_blog_feed, get_blog_feed} from '@ryanatkn/fuz_blog/blog.js'; import {feed} from '$routes/blog/feed.js'; set_blog_feed(feed); // To get the feed from any descendent: const feed = get_blog_feed(); </script> <svelte:head> <title>(your title here)</title> <link rel="alternate" type="application/atom+xml" title="Atom" href={feed.atom.feed_url} /> </svelte:head>

Create a new post

$ gro post "Some post title" $ gro post --help

Update an existing post

$ gro update_post 1 $ gro update_post --help
about