This commit is contained in:
parent
943e711540
commit
902c62d678
@ -14,16 +14,13 @@ image_pull_secrets:
|
||||
- DOCKER_AUTH
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone https://git.struchkov.dev/upagge/digital-garden.git .
|
||||
- git checkout $DRONE_COMMIT
|
||||
- name: build site
|
||||
# https://hub.docker.com/r/library/docker
|
||||
pull: always
|
||||
image: docker.struchkov.dev/quartz:develop
|
||||
commands:
|
||||
- git clone https://git.struchkov.dev/upagge/digital-garden.git .
|
||||
- git checkout $DRONE_COMMIT
|
||||
- cp -r ./* /usr/src/app/content
|
||||
- cp ./.quartz/quartz.config.ts /usr/src/app/
|
||||
- cp ./.quartz/quartz.layout.ts /usr/src/app/
|
||||
@ -58,6 +55,6 @@ steps:
|
||||
# drone sign --save upagge/digital-garden
|
||||
---
|
||||
kind: signature
|
||||
hmac: b25014857bd72eadbc70b8675405d942d7785453c12e73264b2e6df2c1b23e15
|
||||
hmac: 90605476d9b2ed341b303e776d398892f0f9dbb7d9d96c864735d635ec27486f
|
||||
|
||||
...
|
||||
|
@ -19,7 +19,7 @@ const config: QuartzConfig = {
|
||||
fontOrigin: "googleFonts",
|
||||
cdnCaching: true,
|
||||
typography: {
|
||||
header: "Schibsted Grotesk",
|
||||
header: "Open Sans Condensed",
|
||||
body: "Inter",
|
||||
code: "IBM Plex Mono",
|
||||
},
|
||||
@ -57,7 +57,7 @@ const config: QuartzConfig = {
|
||||
}),
|
||||
Plugin.SyntaxHighlighting({
|
||||
theme: {
|
||||
light: "ayu-dark",
|
||||
light: "github-light",
|
||||
dark: "vitesse-dark",
|
||||
},
|
||||
keepBackground: false,
|
||||
@ -85,5 +85,4 @@ const config: QuartzConfig = {
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
|
@ -6,6 +6,7 @@ export const sharedPageComponents: SharedLayout = {
|
||||
head: Component.Head(),
|
||||
header: [],
|
||||
afterBody: [
|
||||
Component.Backlinks(),
|
||||
Component.Remark({
|
||||
options: {
|
||||
host: 'https://comments.struchkov.dev',
|
||||
@ -22,7 +23,10 @@ export const sharedPageComponents: SharedLayout = {
|
||||
},
|
||||
}),
|
||||
}
|
||||
|
||||
const githubSourceConfig = {
|
||||
repoLink: "https://github.com/upagge/digital-garden",
|
||||
branch: "master"
|
||||
}
|
||||
// components for pages that display a single page (e.g. a single note)
|
||||
export const defaultContentPageLayout: PageLayout = {
|
||||
beforeBody: [
|
||||
@ -67,7 +71,7 @@ export const defaultContentPageLayout: PageLayout = {
|
||||
},
|
||||
}),
|
||||
Component.DesktopOnly(Component.TableOfContents()),
|
||||
Component.Backlinks(),
|
||||
Component.GithubSource(githubSourceConfig),
|
||||
],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user