mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
7573617e79
* feat: add archives page with configurable menu * optimize: compat mobile layout * fix: update archive menu layout * fix: hide archives page from URL if showArchives is false * docs: add `showArchives` option in docs Resolves #361 --------- Co-authored-by: satnaing <satnaingdev@gmail.com>
28 lines
537 B
TypeScript
28 lines
537 B
TypeScript
import type socialIcons from "@assets/socialIcons";
|
|
|
|
export type Site = {
|
|
website: string;
|
|
author: string;
|
|
profile: string;
|
|
desc: string;
|
|
title: string;
|
|
ogImage?: string;
|
|
lightAndDarkMode: boolean;
|
|
postPerIndex: number;
|
|
postPerPage: number;
|
|
scheduledPostMargin: number;
|
|
showArchives?: boolean;
|
|
editPost?: {
|
|
url?: URL["href"];
|
|
text?: string;
|
|
appendFilePath?: boolean;
|
|
};
|
|
};
|
|
|
|
export type SocialObjects = {
|
|
name: keyof typeof socialIcons;
|
|
href: string;
|
|
active: boolean;
|
|
linkTitle: string;
|
|
}[];
|