blog-html.ts#
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.
interfaceBlogSourcePageOne listed post considered for blog surfaces.
One listed post considered for blog surfaces.
Signature
export interface BlogSourcePageMembers
Properties
| Name | Type | Description |
|---|---|---|
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): booleanParameters
-
valuestring
Returns
boolean