UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

22 lines 743 B
import { FsService } from '../type'; import { PageTreesNode } from './pagetrees'; import { PageBuilder } from './pagebuilder'; import { NodeShiftTree } from '../../../../pkg/doctree'; /** * Constants - exact replica of Go's constants */ export declare const STANDALONE_PAGE_404_BASE = "404"; export declare const STANDALONE_PAGE_SITEMAP_BASE = "_sitemap"; /** * Standalone class - exact replica of Go's Standalone struct */ export declare class Standalone { fsSvc: FsService; constructor(fsSvc: FsService); /** * Assemble - exact replica of Go's Assemble method */ assemble(pages: NodeShiftTree<PageTreesNode>, pb: PageBuilder): Promise<void>; private addStandalone; } //# sourceMappingURL=standalone.d.ts.map