This commit is contained in:
parent
e730bf16b8
commit
3e6fd92773
@ -1,85 +1,84 @@
|
|||||||
import { PageLayout, SharedLayout } from "./quartz/cfg"
|
import {PageLayout, SharedLayout} from "./quartz/cfg"
|
||||||
import * as Component from "./quartz/components"
|
import * as Component from "./quartz/components"
|
||||||
|
|
||||||
// components shared across all pages
|
// components shared across all pages
|
||||||
export const sharedPageComponents: SharedLayout = {
|
export const sharedPageComponents: SharedLayout = {
|
||||||
head: Component.Head(),
|
head: Component.Head(),
|
||||||
header: [],
|
header: [],
|
||||||
afterBody: [
|
afterBody: [
|
||||||
Component.Remark({
|
Component.Remark({
|
||||||
options: {
|
options: {
|
||||||
host: 'https://comments.struchkov.dev',
|
host: 'https://comments.struchkov.dev',
|
||||||
siteId: 'gardenru',
|
siteId: 'gardenru',
|
||||||
locale: 'ru',
|
locale: 'ru',
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
footer: Component.Footer({
|
footer: Component.Footer({
|
||||||
links: {
|
links: {
|
||||||
"About Me": "https://mark.struchkov.dev/cv/",
|
"About Me": "https://mark.struchkov.dev/cv/",
|
||||||
"B.log": "https://struchkov.dev",
|
"B.log": "https://struchkov.dev",
|
||||||
"CV": "https://mark.struchkov.dev/cv/?utm_source=gardenru&utm_medium=organic&utm_campaign=static",
|
"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)
|
// components for pages that display a single page (e.g. a single note)
|
||||||
export const defaultContentPageLayout: PageLayout = {
|
export const defaultContentPageLayout: PageLayout = {
|
||||||
beforeBody: [
|
beforeBody: [
|
||||||
Component.Breadcrumbs(),
|
Component.Breadcrumbs(),
|
||||||
Component.ArticleTitle(),
|
Component.ArticleTitle(),
|
||||||
Component.ContentMeta(),
|
Component.ContentMeta(),
|
||||||
],
|
],
|
||||||
left: [
|
left: [
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Search(),
|
Component.Search(),
|
||||||
Component.Darkmode(),
|
Component.DesktopOnly(Component.TableOfContents()),
|
||||||
Component.DesktopOnly(Component.Explorer()),
|
Component.Darkmode(),
|
||||||
],
|
],
|
||||||
right: [
|
right: [
|
||||||
Component.Graph({
|
Component.Graph({
|
||||||
localGraph: {
|
localGraph: {
|
||||||
drag: true, // whether to allow panning the view around
|
drag: true, // whether to allow panning the view around
|
||||||
zoom: true, // whether to allow zooming in and out
|
zoom: true, // whether to allow zooming in and out
|
||||||
depth: 1, // how many hops of notes to display
|
depth: 1, // how many hops of notes to display
|
||||||
scale: 2, // default view scale
|
scale: 2, // default view scale
|
||||||
repelForce: 0.5, // how much nodes should repel each other
|
repelForce: 0.5, // how much nodes should repel each other
|
||||||
centerForce: 0.3, // how much force to use when trying to center the nodes
|
centerForce: 0.3, // how much force to use when trying to center the nodes
|
||||||
linkDistance: 30, // how long should the links be by default?
|
linkDistance: 30, // how long should the links be by default?
|
||||||
fontSize: 0.5, // what size should the node labels be?
|
fontSize: 0.5, // what size should the node labels be?
|
||||||
opacityScale: 2, // how quickly do we fade out the labels when zooming out?
|
opacityScale: 2, // how quickly do we fade out the labels when zooming out?
|
||||||
removeTags: [], // what tags to remove from the graph
|
removeTags: [], // what tags to remove from the graph
|
||||||
showTags: false, // whether to show tags in the graph
|
showTags: false, // whether to show tags in the graph
|
||||||
},
|
},
|
||||||
globalGraph: {
|
globalGraph: {
|
||||||
drag: true,
|
drag: true,
|
||||||
zoom: true,
|
zoom: true,
|
||||||
depth: -1,
|
depth: -1,
|
||||||
scale: 2,
|
scale: 2,
|
||||||
repelForce: 0.5,
|
repelForce: 0.5,
|
||||||
centerForce: 0.3,
|
centerForce: 0.3,
|
||||||
linkDistance: 30,
|
linkDistance: 30,
|
||||||
fontSize: 0.5,
|
fontSize: 0.5,
|
||||||
opacityScale: 1,
|
opacityScale: 1,
|
||||||
removeTags: [], // what tags to remove from the graph
|
removeTags: [], // what tags to remove from the graph
|
||||||
showTags: false, // whether to show tags in the graph
|
showTags: false, // whether to show tags in the graph
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
Component.DesktopOnly(Component.TableOfContents()),
|
Component.Backlinks(),
|
||||||
Component.Backlinks(),
|
],
|
||||||
],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// components for pages that display lists of pages (e.g. tags or folders)
|
// components for pages that display lists of pages (e.g. tags or folders)
|
||||||
export const defaultListPageLayout: PageLayout = {
|
export const defaultListPageLayout: PageLayout = {
|
||||||
beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
|
beforeBody: [Component.Breadcrumbs(), Component.ArticleTitle(), Component.ContentMeta()],
|
||||||
left: [
|
left: [
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Search(),
|
Component.Search(),
|
||||||
Component.Darkmode(),
|
Component.Darkmode(),
|
||||||
Component.DesktopOnly(Component.Explorer()),
|
Component.DesktopOnly(Component.Explorer()),
|
||||||
],
|
],
|
||||||
right: [],
|
right: [],
|
||||||
}
|
}
|
||||||
|
@ -4,10 +4,9 @@ tags:
|
|||||||
- type/moc
|
- type/moc
|
||||||
parents:
|
parents:
|
||||||
- "[[00 Разработка]]"
|
- "[[00 Разработка]]"
|
||||||
title: Java разработка
|
aliases:
|
||||||
aliases: []
|
|
||||||
zero-link:
|
zero-link:
|
||||||
- "[[../../../garden/ru/meta/zero/00 Разработка]]"
|
- "[[00 Разработка]]"
|
||||||
---
|
---
|
||||||
- [Устройство Java](Устройство%20Java.md)
|
- [Устройство Java](Устройство%20Java.md)
|
||||||
- [Снипеты для Java](../../../garden/ru/meta/zero/00%20Снипеты%20для%20Java.md)
|
- [Снипеты для Java](../../../garden/ru/meta/zero/00%20Снипеты%20для%20Java.md)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
tags:
|
tags:
|
||||||
- type/zero-link
|
- type/zero-link
|
||||||
title: Разработка
|
|
||||||
---
|
---
|
||||||
- [Java разработка](00%20Java%20разработка.md)
|
- [Java разработка](00%20Java%20разработка.md)
|
Loading…
Reference in New Issue
Block a user