From 8cf3e3001f2cbd18da73fcc92ae5f4b76d3ecf21 Mon Sep 17 00:00:00 2001
From: Patsagorn Y. <49602385+ptsgrn@users.noreply.github.com>
Date: Thu, 16 Jan 2025 20:44:33 +0000
Subject: [PATCH] feat(i18n): Thai translations (#1722)
---
quartz.layout.ts | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/quartz.layout.ts b/quartz.layout.ts
index 482aba6..4a78256 100644
--- a/quartz.layout.ts
+++ b/quartz.layout.ts
@@ -5,6 +5,7 @@
export const sharedPageComponents: SharedLayout = {
head: Component.Head(),
header: [],
+ afterBody: [],
footer: Component.Footer({
links: {
GitHub: "https://github.com/jackyzha0/quartz",
@@ -15,25 +16,35 @@
// components for pages that display a single page (e.g. a single note)
export const defaultContentPageLayout: PageLayout = {
- beforeBody: [Component.ArticleTitle(), Component.ContentMeta(), Component.TagList()],
+ beforeBody: [
+ Component.Breadcrumbs(),
+ Component.ArticleTitle(),
+ Component.ContentMeta(),
+ Component.TagList(),
+ ],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
- Component.DesktopOnly(Component.TableOfContents()),
+ Component.DesktopOnly(Component.Explorer()),
],
- right: [Component.Graph(), Component.Backlinks()],
+ right: [
+ Component.Graph(),
+ Component.DesktopOnly(Component.TableOfContents()),
+ Component.Backlinks(),
+ ],
}
// components for pages that display lists of pages (e.g. tags or folders)
export const defaultListPageLayout: PageLayout = {
- beforeBody: [Component.ArticleTitle()],
+ beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
left: [
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
+ Component.DesktopOnly(Component.Explorer()),
],
right: [],
}
--
Gitblit v1.10.0