keroosha.cybergulag.today/quartz/cfg.ts

17 lines
476 B
TypeScript
Raw Normal View History

import { PluginTypes } from "./plugins/types"
2023-06-02 00:35:31 +03:00
import { Theme } from "./theme"
2023-05-30 18:02:20 +03:00
2023-06-02 00:35:31 +03:00
export interface GlobalConfiguration {
siteTitle: string,
/** Whether to enable single-page-app style rendering. this prevents flashes of unstyled content and improves smoothness of Quartz */
enableSPA: boolean,
/** Glob patterns to not search */
ignorePatterns: string[],
theme: Theme
2023-05-30 18:02:20 +03:00
}
export interface QuartzConfig {
2023-06-02 00:35:31 +03:00
configuration: GlobalConfiguration,
2023-05-30 18:02:20 +03:00
plugins: PluginTypes,
}