@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
14 lines • 482 B
TypeScript
/**
* Gets the page kind given a string, empty if not found.
* Note that this will not return any temporary kinds (e.g. robotstxt).
*/
export declare function getKindMain(s: string): string;
/**
* Returns whether the given kind is a branch node.
*/
export declare function isBranch(kind: string): boolean;
/**
* Returns the new kind if the given kind is deprecated.
*/
export declare function isDeprecatedAndReplacedWith(s: string): string;
//# sourceMappingURL=kind.d.ts.map