Site / foldkit-site
NodeMeta
type · packages/site/src/index.ts:106
type NodeMeta<Route, Model = any> = (page: {
readonly route: Route
readonly model: Model
}) => MetaWhat a node says of itself in the document's head, from its route value and
the Model (a post's excerpt is in the Model, not the route). The node keeps
it with the Model as any, quarantined as NodeLayout's is: name the Model
where it is declared (.meta<Model>(...)) and it checks there.