blog-options.ts#
2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.
2
symbols
1
functions
1
modules
2
parameters
1
returns
Reference#
moduleblog-optionsBlog option resolution.
Blog option resolution.
fnresolveBlogCollectionName(requested: string | undefined, collectionNames: readonly string[]): string | undefinedPicks a collection named blog, else the only configured collection. An explicit…
Picks a collection named blog, else the only configured collection.
An explicit name always wins. Several collections and no blog name require blog.collection.
Signature
export function resolveBlogCollectionName(requested: string | undefined, collectionNames: readonly string[]): string | undefinedParameters
-
requestedstring | undefined -
collectionNamesreadonly string[]
Returns
string | undefined