BlogConfig import type {BlogConfig} from '@fuzdev/fuz_blog/blog_config.js'; A single blog's configuration in the consumer's src/routes/blogs.ts registry.
dirname
Route directory under src/routes, and the blog's base path segment -
so it equals the URL path, with no route groups or params, no leading or
trailing slash, and no characters a URL would change (see
validate_blog_configs). Post pathnames derive from it.
type string
feed
Feed-level metadata. Post ids and urls and the feed's own URL derive
from home_page_url, so set it to the blog's index page - its pathname must
end with /<dirname>, after any deploy base path.
type BlogFeedMetadata
scaffold?
Customizes the post file gro task src/lib/post.task.ts scaffolds for this blog.
Defaults to scaffold_blog_post.
type (options: BlogPostScaffoldOptions): string
options
string