Skip to content

blog-html.ts#

View Markdown

Source

3 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

3 symbols 1 functions 1 interfaces 1 modules 1 parameters 6 members 1 returns

Reference#

moduleblog-htmlEscaped blog index, tag, archive, and post-meta HTML.

Escaped blog index, tag, archive, and post-meta HTML.

View source

interfaceBlogSourcePageOne listed post considered for blog surfaces.

One listed post considered for blog surfaces.

Signature

export interface BlogSourcePage

View source

Members

Properties
NameTypeDescription
externaloptional boolean
When true, href is a remote canonical URL and must not become a local route.
frontmatter Record<string, unknown>
inputPath string
routePaths { href: string }
title string
transformedHtml string
fnisSafeBlogUrl(value: string): booleanhttps: or a same-origin path starting with / but not //.

https: or a same-origin path starting with / but not //.

Signature

export function isSafeBlogUrl(value: string): boolean

View source

Parameters

  • value string

Returns

boolean