From 3e6fd92773a5ec14de71e65e7d74bd6b09d0f4bf Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Wed, 4 Sep 2024 20:08:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=BE=D0=B4=D0=BD=D0=B8=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .quartz/quartz.layout.ts | 141 ++++++++++++++++---------------- meta/zero/00 Java разработка.md | 5 +- meta/zero/00 Разработка.md | 1 - 3 files changed, 72 insertions(+), 75 deletions(-) diff --git a/.quartz/quartz.layout.ts b/.quartz/quartz.layout.ts index a70b7fa4..25484512 100644 --- a/.quartz/quartz.layout.ts +++ b/.quartz/quartz.layout.ts @@ -1,85 +1,84 @@ -import { PageLayout, SharedLayout } from "./quartz/cfg" +import {PageLayout, SharedLayout} from "./quartz/cfg" import * as Component from "./quartz/components" // components shared across all pages export const sharedPageComponents: SharedLayout = { - head: Component.Head(), - header: [], - afterBody: [ - Component.Remark({ - options: { - host: 'https://comments.struchkov.dev', - siteId: 'gardenru', - locale: 'ru', - } - }), + head: Component.Head(), + header: [], + afterBody: [ + Component.Remark({ + options: { + host: 'https://comments.struchkov.dev', + siteId: 'gardenru', + locale: 'ru', + } + }), ], - footer: Component.Footer({ - links: { - "About Me": "https://mark.struchkov.dev/cv/", - "B.log": "https://struchkov.dev", - "CV": "https://mark.struchkov.dev/cv/?utm_source=gardenru&utm_medium=organic&utm_campaign=static", - }, - }), + footer: Component.Footer({ + links: { + "About Me": "https://mark.struchkov.dev/cv/", + "B.log": "https://struchkov.dev", + "CV": "https://mark.struchkov.dev/cv/?utm_source=gardenru&utm_medium=organic&utm_campaign=static", + }, + }), } // components for pages that display a single page (e.g. a single note) export const defaultContentPageLayout: PageLayout = { - beforeBody: [ - Component.Breadcrumbs(), - Component.ArticleTitle(), - Component.ContentMeta(), - ], - left: [ - Component.PageTitle(), - Component.MobileOnly(Component.Spacer()), - Component.Search(), - Component.Darkmode(), - Component.DesktopOnly(Component.Explorer()), - ], - right: [ - Component.Graph({ - localGraph: { - drag: true, // whether to allow panning the view around - zoom: true, // whether to allow zooming in and out - depth: 1, // how many hops of notes to display - scale: 2, // default view scale - repelForce: 0.5, // how much nodes should repel each other - centerForce: 0.3, // how much force to use when trying to center the nodes - linkDistance: 30, // how long should the links be by default? - fontSize: 0.5, // what size should the node labels be? - opacityScale: 2, // how quickly do we fade out the labels when zooming out? - removeTags: [], // what tags to remove from the graph - showTags: false, // whether to show tags in the graph - }, - globalGraph: { - drag: true, - zoom: true, - depth: -1, - scale: 2, - repelForce: 0.5, - centerForce: 0.3, - linkDistance: 30, - fontSize: 0.5, - opacityScale: 1, - removeTags: [], // what tags to remove from the graph - showTags: false, // whether to show tags in the graph - }, -}), - Component.DesktopOnly(Component.TableOfContents()), - Component.Backlinks(), - ], + beforeBody: [ + Component.Breadcrumbs(), + Component.ArticleTitle(), + Component.ContentMeta(), + ], + left: [ + Component.PageTitle(), + Component.MobileOnly(Component.Spacer()), + Component.Search(), + Component.DesktopOnly(Component.TableOfContents()), + Component.Darkmode(), + ], + right: [ + Component.Graph({ + localGraph: { + drag: true, // whether to allow panning the view around + zoom: true, // whether to allow zooming in and out + depth: 1, // how many hops of notes to display + scale: 2, // default view scale + repelForce: 0.5, // how much nodes should repel each other + centerForce: 0.3, // how much force to use when trying to center the nodes + linkDistance: 30, // how long should the links be by default? + fontSize: 0.5, // what size should the node labels be? + opacityScale: 2, // how quickly do we fade out the labels when zooming out? + removeTags: [], // what tags to remove from the graph + showTags: false, // whether to show tags in the graph + }, + globalGraph: { + drag: true, + zoom: true, + depth: -1, + scale: 2, + repelForce: 0.5, + centerForce: 0.3, + linkDistance: 30, + fontSize: 0.5, + opacityScale: 1, + removeTags: [], // what tags to remove from the graph + showTags: false, // whether to show tags in the graph + }, + }), + Component.Backlinks(), + ], } // components for pages that display lists of pages (e.g. tags or folders) 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: [], + beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()], + left: [ + Component.PageTitle(), + Component.MobileOnly(Component.Spacer()), + Component.Search(), + Component.Darkmode(), + Component.DesktopOnly(Component.Explorer()), + ], + right: [], } diff --git a/meta/zero/00 Java разработка.md b/meta/zero/00 Java разработка.md index e13d7ca0..7a6d40c5 100644 --- a/meta/zero/00 Java разработка.md +++ b/meta/zero/00 Java разработка.md @@ -4,10 +4,9 @@ tags: - type/moc parents: - "[[00 Разработка]]" -title: Java разработка -aliases: [] +aliases: zero-link: - - "[[../../../garden/ru/meta/zero/00 Разработка]]" + - "[[00 Разработка]]" --- - [Устройство Java](Устройство%20Java.md) - [Снипеты для Java](../../../garden/ru/meta/zero/00%20Снипеты%20для%20Java.md) diff --git a/meta/zero/00 Разработка.md b/meta/zero/00 Разработка.md index fee1a824..bd491784 100644 --- a/meta/zero/00 Разработка.md +++ b/meta/zero/00 Разработка.md @@ -1,6 +1,5 @@ --- tags: - type/zero-link -title: Разработка --- - [Java разработка](00%20Java%20разработка.md) \ No newline at end of file