Quartz sync: Aug 23, 2023, 8:00 PM

This commit is contained in:
bfahrenfort 2023-08-23 20:00:55 -05:00
parent 2e0e518f5d
commit d19d913889
6 changed files with 63 additions and 8 deletions

45
.github/workflows/deploy.yaml vendored Normal file
View File

@ -0,0 +1,45 @@
name: Deploy Quartz site to GitHub Pages
on:
push:
branches:
- v4
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for git info
- uses: actions/setup-node@v3
with:
node-version: 18.14
- name: Install Dependencies
run: npm ci
- name: Build Quartz
run: npx quartz build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: public
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

View File

5
content/index.md Normal file
View File

@ -0,0 +1,5 @@
---
title: be-far's Digital Garden
---
# Welcome!
You're on a site called a [[what-is-a-garden|Digital Garden]]. Here's some info on [[why-i-garden|Why I Garden]].

View File

@ -0,0 +1,4 @@
---
title: What is a Garden?
---
A Digital Garden is

3
content/why-i-garden.md Normal file
View File

@ -0,0 +1,3 @@
---
title: Why I Garden
---

View File

@ -3,19 +3,17 @@ import * as Plugin from "./quartz/plugins"
const config: QuartzConfig = { const config: QuartzConfig = {
configuration: { configuration: {
pageTitle: "🪴 Quartz 4.0", pageTitle: "🪴 be-far",
enableSPA: true, enableSPA: true,
enablePopovers: true, enablePopovers: true,
analytics: { analytics: null,
provider: "plausible", baseUrl: "be-far.com",
},
baseUrl: "quartz.jzhao.xyz",
ignorePatterns: ["private", "templates"], ignorePatterns: ["private", "templates"],
theme: { theme: {
typography: { typography: {
header: "Schibsted Grotesk", header: "Overpass Mono",
body: "Source Sans Pro", body: "Inter",
code: "IBM Plex Mono", code: "Fira Code",
}, },
colors: { colors: {
lightMode: { lightMode: {