@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
20 lines (19 loc) • 704 B
TypeScript
import { ServiceConfig } from '../type';
export declare class Service {
private serviceConfig;
constructor(serviceConfig: ServiceConfig);
isGoogleAnalyticsEnabled(): boolean;
googleAnalyticsID(): string;
isGoogleAnalyticsRespectDoNotTrack(): boolean;
isDisqusEnabled(): boolean;
disqusShortname(): string;
isXRespectDoNotTrack(): boolean;
isXDisableInlineCSS(): boolean;
rssLimit(): number;
getServiceConfig(): ServiceConfig;
getGoogleAnalytics(): import("../type").GoogleAnalytics;
getDisqus(): import("../type").Disqus;
getRSS(): import("../type").RSS;
hasEnabledServices(): boolean;
}
export declare function newService(data: any): Service;