astro-accelerator-utils
Version:
Astro utilities for Astro Accelerator.
45 lines (44 loc) • 1.06 kB
TypeScript
export type Site = {
url: string;
useTrailingUrlSlash?: boolean;
captureStatistics: boolean;
dateOptions: Intl.DateTimeFormatOptions;
subfolder: string;
feedUrl: string;
title: string;
description: string;
startYear: string;
defaultLanguage: string;
themeColor: string;
owner: string;
default: {
lang: string;
locale: string;
dir: string;
};
search: {
fallbackUrl: 'https://www.google.com/search' | string;
fallbackSite: 'q' | string;
fallbackQuery: 'q' | string;
};
pageSize: number;
pageLinks: number;
rssLimit: number;
cacheMaxAge: number;
featureFlags: {
stickyNav: {
top: number;
};
codeBlocks: ('copy')[];
figures: ('enlarge')[];
youTubeLinks: ('embed')[];
headers: ('link')[];
details: ('tabs')[];
search: ('dialog' | 'headings')[];
};
images: {
contentSize: string;
listerSize: string;
authorSize: string;
};
};