Custom layout

This commit is contained in:
2024-08-06 08:11:16 -07:00
parent 129b64a0fb
commit b821279497
2 changed files with 7 additions and 15 deletions

View File

@ -8,14 +8,14 @@ import * as Plugin from "./quartz/plugins"
*/
const config: QuartzConfig = {
configuration: {
pageTitle: "🪴 Quartz 4.0",
pageTitle: "ART SPS (Special Production Sites)",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "plausible",
},
locale: "en-US",
baseUrl: "quartz.jzhao.xyz",
baseUrl: "localhost:5051",
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "created",
theme: {

View File

@ -6,10 +6,7 @@ export const sharedPageComponents: SharedLayout = {
head: Component.Head(),
header: [],
footer: Component.Footer({
links: {
GitHub: "https://github.com/jackyzha0/quartz",
"Discord Community": "https://discord.gg/cRFFHYye7t",
},
links: {},
}),
}
@ -17,21 +14,16 @@ export const sharedPageComponents: SharedLayout = {
export const defaultContentPageLayout: PageLayout = {
beforeBody: [
Component.Breadcrumbs(),
Component.ArticleTitle(),
Component.ContentMeta(),
Component.TagList(),
],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
Component.DesktopOnly(Component.Explorer()),
],
right: [
Component.Graph(),
Component.DesktopOnly(Component.TableOfContents()),
Component.Backlinks(),
Component.Darkmode(),
],
}
@ -39,11 +31,11 @@ export const defaultContentPageLayout: PageLayout = {
export const defaultListPageLayout: PageLayout = {
beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
Component.DesktopOnly(Component.Explorer()),
],
right: [],
right: [
Component.Darkmode(),
],
}