@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
18 lines • 581 B
TypeScript
import { ViewName } from '../type';
/**
* Default taxonomies
*/
export declare const DefaultTaxonomies: Record<string, string>;
/**
* Creates a clean tree key for taxonomy
*/
export declare function cleanTreeKey(...elems: string[]): string;
/**
* Creates taxonomy views from taxonomies configuration
*/
export declare function setupTaxonomyViews(taxonomies: Record<string, string>): ViewName[];
/**
* Creates taxonomy configuration from provider data
*/
export declare function decodeTaxonomyConfig(data: any): Record<string, string>;
//# sourceMappingURL=taxonomy.d.ts.map