blog_post_pathname.ts

view source

Declarations
#

resolve_blog_post_pathname
#

blog_post_pathname.ts view source

(pathname: string): string import {resolve_blog_post_pathname} from '@fuzdev/fuz_blog/blog_post_pathname.js';

Resolves a post's app-relative pathname (a BlogFeedItem field) to an href under the deploy base path, with kit's resolve. Imports $app/paths, so it runs only in SvelteKit.

pathname

type string

returns

string

Imported by
#