blog_helpers.ts

Declarations
#

5 declarations

view source

collect_blog_post_ids
#

blog_helpers.ts view source

(blog_dir: string): BlogPostId[]

Returns an array of all of the sequential blog post ids starting with 1. When it fails to find the next id, the sequence ends.

blog_dir

type string

returns

BlogPostId[]

load_blog_post_modules
#

blog_helpers.ts view source

(blog_dir: string, blog_post_ids: BlogPostId[]): Promise<BlogPostModule[]>

blog_dir

type string

blog_post_ids

type BlogPostId[]

returns

Promise<BlogPostModule[]>

resolve_blog_post_item
#

to_blog_post_path
#

to_next_blog_post_id
#

Imported by
#