UNPKG

@mdfriday/foundry

Version:

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

18 lines 549 B
import { Pages } from '../type'; /** * Sort pages by the default sort (by title). * Exact replica of Go version: SortByDefault */ export declare function sortByDefault(pages: Pages): void; /** * Sort pages by weight. * Exact replica of Go version: SortByWeight */ export declare function sortByWeight(pages: Pages): void; /** * Sort pages by language. * Exact replica of Go version: SortByLanguage * TODO: Implement language-specific sorting */ export declare function sortByLanguage(pages: Pages): void; //# sourceMappingURL=sort.d.ts.map