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

This commit is contained in:
bfahrenfort 2023-08-23 20:00:55 -05:00
parent ce8f150883
commit 6da483c43e
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 = {
configuration: {
pageTitle: "🪴 Quartz 4.0",
pageTitle: "🪴 be-far",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "plausible",
},
baseUrl: "quartz.jzhao.xyz",
analytics: null,
baseUrl: "be-far.com",
ignorePatterns: ["private", "templates"],
theme: {
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
code: "IBM Plex Mono",
header: "Overpass Mono",
body: "Inter",
code: "Fira Code",
},
colors: {
lightMode: {