@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
21 lines (20 loc) • 603 B
TypeScript
import { Author as ContentAuthor } from '@internal/domain/content';
export interface SocialLink {
ID: string;
Link: string;
}
export declare class Author {
private readonly _name;
private readonly _email;
private _homeAuthor;
constructor(name: string, email: string);
name(): string;
email(): string;
author(author: ContentAuthor | undefined): Author;
get Name(): string;
get Description(): string;
get Avatar(): string;
get Twitter(): string;
get Socials(): SocialLink[];
}
export declare function newAuthor(name: string, email: string): Author;