diff --git a/quartz.config.ts b/quartz.config.ts index 46deb541..3a677cc4 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -8,13 +8,13 @@ import * as Plugin from "./quartz/plugins" */ const config: QuartzConfig = { configuration: { - pageTitle: "Mykhailo Ziatin", + pageTitle: "Михайло Зятін", enableSPA: true, enablePopovers: true, analytics: { provider: "plausible", }, - locale: "en-US", + locale: "uk-UA", baseUrl: "https://mykhailo-ziatin.github.io/_", ignorePatterns: ["private", "templates", ".obsidian"], defaultDateType: "created", @@ -22,8 +22,11 @@ const config: QuartzConfig = { fontOrigin: "googleFonts", cdnCaching: true, typography: { - header: "Schibsted Grotesk", - body: "Source Sans Pro", + // https://fonts.google.com/specimen/Cormorant+Garamond?lang=uk_Cyrl + header: "Cormorant Garamond", + // https://fonts.google.com/specimen/Cormorant?lang=uk_Cyrl + body: "Cormorant", + // https://fonts.google.com/specimen/IBM+Plex+Mono?lang=uk_Cyrl code: "IBM Plex Mono", }, colors: { diff --git a/quartz.explorer.config.ts b/quartz.explorer.config.ts index a0b17290..bd214c46 100644 --- a/quartz.explorer.config.ts +++ b/quartz.explorer.config.ts @@ -2,21 +2,22 @@ import { Explorer } from "./quartz/components" // forbidden tags const excludeTags = [ - "draft", - "hidden", - "private", - "non-explore", - ] + "draft", + "hidden", + "private", + "non-explore", +] const explorer = Explorer({ - filterFn: (node) => { - // exclude files with forbidden tags - for (const tag of excludeTags) { - if (node.file?.frontmatter?.tags?.includes(tag)) return false - } - - return true - }, - }) + // title: "Теми", + filterFn: (node) => { + // exclude files with forbidden tags + for (const tag of excludeTags) { + if (node.file?.frontmatter?.tags?.includes(tag)) return false + } + + return true + }, +}) - export default explorer +export default explorer diff --git a/quartz.layout.ts b/quartz.layout.ts index b8d71592..eb56aa73 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -28,6 +28,7 @@ export const defaultContentPageLayout: PageLayout = { Component.MobileOnly(Component.Spacer()), Component.Search(), Component.Darkmode(), + Component.DesktopOnly(Component.RecentNotes()), Component.DesktopOnly(explorer), ], right: [ diff --git a/quartz/i18n/locales/uk-UA.ts b/quartz/i18n/locales/uk-UA.ts index 469de4f8..af7e29fd 100644 --- a/quartz/i18n/locales/uk-UA.ts +++ b/quartz/i18n/locales/uk-UA.ts @@ -17,7 +17,7 @@ export default { warning: "Попередження", failure: "Невдача", danger: "Небезпека", - bug: "Баг", + bug: "Помилка", example: "Приклад", quote: "Цитата", }, @@ -36,7 +36,7 @@ export default { createdWith: "Створено за допомогою", }, graph: { - title: "Вигляд графа", + title: "Зв'язки", }, recentNotes: { title: "Останні нотатки",