UNPKG

@mdfriday/foundry

Version:

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

26 lines (25 loc) 934 B
import { PageMeta, Organization, Author, Menu } from "@internal/domain/content"; export declare class Meta implements PageMeta { baseURL: string; list: string; parameters: Record<string, any>; weight: number; date: Date; org: Organization | undefined; authorInfo: Author | undefined; menuConfig: Menu | undefined; constructor(baseURL: string, list?: string, parameters?: Record<string, any>, weight?: number, date?: Date, organization?: Organization, author?: Author, menu?: Menu); description(): string; params(): Record<string, any>; pageBaseUrl(): string; pageWeight(): number; pageDate(): Date; publishDate(): Date; relatedKeywords(cfg: any): Promise<any[]>; shouldList(global: boolean): boolean; shouldListAny(): boolean; noLink(): boolean; organization(): Organization | undefined; author(): Author | undefined; menu(): Menu | undefined; }