Compare commits
33 Commits
7421a07837
...
1.9.0
| Author | SHA1 | Date | |
|---|---|---|---|
| d171a8916e | |||
|
|
3d63a7d97c | ||
| 827d240c4c | |||
|
|
e75dd65eba | ||
| 7b931d639b | |||
|
|
8fb388b22a | ||
| e33e2c72af | |||
|
|
e6e763e6b7 | ||
| 41d984e603 | |||
|
|
7878893e5b | ||
| 3bb7219589 | |||
| 5c347ab685 | |||
|
|
4dd82b1676 | ||
| 1869be9a19 | |||
|
|
7621ff8fb0 | ||
| 3820922535 | |||
|
|
e37517047f | ||
| ac7e1c6b66 | |||
|
|
f3c8747d30 | ||
| 816708741f | |||
| e3370bded5 | |||
| 18529618ad | |||
| 577fa8b339 | |||
| 35641f8a60 | |||
| 2c1f5c3059 | |||
| a1f88b8bb4 | |||
| 59a23af308 | |||
| fc9d07751f | |||
| 88f3322305 | |||
| 9dcb31ca0b | |||
| 6731b23c2a | |||
| 3f7bfc6a60 | |||
| d347e3d97d |
@@ -3,34 +3,29 @@ name: Deploy Quartz site to Pages
|
||||
env:
|
||||
VERSION_FRAGMENT: minor
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
node-version: 24
|
||||
- uses: actions/checkout@v6
|
||||
id: clone quartz repo
|
||||
with:
|
||||
# Repository name with owner. For example, actions/checkout
|
||||
# Default: ${{ github.repository }}
|
||||
repository: 'https://github.com/jackyzha0/quartz.git'
|
||||
- uses: actions/checkout@v4
|
||||
id: get garden content
|
||||
with:
|
||||
fetch-depth: 0 # Fetch all history for git info
|
||||
path: content
|
||||
- run: git config --global user.name "Build Pipeline"
|
||||
- run: git config --global user.email "noreply@example.com"
|
||||
- name: get current version
|
||||
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
||||
working-directory: content
|
||||
@@ -45,19 +40,43 @@ jobs:
|
||||
- name: Read Current Version
|
||||
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
||||
working-directory: content
|
||||
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }}
|
||||
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]"
|
||||
working-directory: content
|
||||
- uses: actions/checkout@v6
|
||||
id: clone quartz repo
|
||||
with:
|
||||
# Repository name with owner. For example, actions/checkout
|
||||
# Default: ${{ github.repository }}
|
||||
repository: 'jackyzha0/quartz.git'
|
||||
github-server-url: 'https://github.com/'
|
||||
fetch-depth: 1
|
||||
persist-credentials: false
|
||||
token: ${{secrets.GH_PAT}}
|
||||
ref: v4
|
||||
path: quartz
|
||||
- name: Overlay quartz configs
|
||||
run: cp -fR content/.quartz/** .
|
||||
- name: Copy the content
|
||||
run: cp -fR content/** quartz/content
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
working-directory: quartz
|
||||
- name: Cache Modules
|
||||
id: cache-npm
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules_quartz
|
||||
- name: Build Quartz
|
||||
run: npx quartz build
|
||||
working-directory: quartz
|
||||
- run: tar czf www.tar.gz -C quartz public
|
||||
- uses: akkuman/gitea-release-action@v1
|
||||
env:
|
||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||
with:
|
||||
tag_name: ${{env.CURRENT_VERSION}}
|
||||
name: ${{env.CURRENT_VERSION}}
|
||||
files: |-
|
||||
public/**
|
||||
token: ${{secrets.CI_ACCESS}}
|
||||
www.tar.gz
|
||||
token: ${{secrets.CI_ACCESS}}
|
||||
- run: git push
|
||||
working-directory: content
|
||||
20
.obsidian/workspace.json
vendored
20
.obsidian/workspace.json
vendored
@@ -13,12 +13,12 @@
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Welcome.md",
|
||||
"file": "index.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Welcome"
|
||||
"title": "index"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -94,7 +94,7 @@
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Welcome.md",
|
||||
"file": "index.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
@@ -104,7 +104,7 @@
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "Backlinks for Welcome"
|
||||
"title": "Backlinks for index"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -113,12 +113,12 @@
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "Welcome.md",
|
||||
"file": "index.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "Outgoing links from Welcome"
|
||||
"title": "Outgoing links from index"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -156,13 +156,13 @@
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Welcome.md",
|
||||
"file": "index.md",
|
||||
"followCursor": false,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "Outline of Welcome"
|
||||
"title": "Outline of index"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -183,9 +183,9 @@
|
||||
"bases:Create new base": false
|
||||
}
|
||||
},
|
||||
"active": "fb3397b33e4538d8",
|
||||
"active": "ce0058b798b778c7",
|
||||
"lastOpenFiles": [
|
||||
"version.txt",
|
||||
"Welcome.md"
|
||||
"index.md"
|
||||
]
|
||||
}
|
||||
97
.quartz/quartz.config.ts
Normal file
97
.quartz/quartz.config.ts
Normal file
@@ -0,0 +1,97 @@
|
||||
import { QuartzConfig } from "./quartz/cfg"
|
||||
import * as Plugin from "./quartz/plugins"
|
||||
|
||||
/**
|
||||
* Quartz 4 Configuration
|
||||
*
|
||||
* See https://quartz.jzhao.xyz/configuration for more information.
|
||||
*/
|
||||
const config: QuartzConfig = {
|
||||
configuration: {
|
||||
pageTitle: "Garden De'Femme",
|
||||
pageTitleSuffix: "",
|
||||
enableSPA: true,
|
||||
enablePopovers: true,
|
||||
analytics: {
|
||||
provider: "plausible",
|
||||
},
|
||||
locale: "en-US",
|
||||
baseUrl: "garden.werats.gay",
|
||||
ignorePatterns: ["private", "templates", ".obsidian",".quartz",".gitea","version.txt"],
|
||||
defaultDateType: "modified",
|
||||
theme: {
|
||||
fontOrigin: "googleFonts",
|
||||
cdnCaching: true,
|
||||
typography: {
|
||||
header: "Schibsted Grotesk",
|
||||
body: "Source Sans Pro",
|
||||
code: "IBM Plex Mono",
|
||||
},
|
||||
colors: {
|
||||
lightMode: {
|
||||
light: "#faf8f8",
|
||||
lightgray: "#e5e5e5",
|
||||
gray: "#b8b8b8",
|
||||
darkgray: "#4e4e4e",
|
||||
dark: "#2b2b2b",
|
||||
secondary: "#284b63",
|
||||
tertiary: "#84a59d",
|
||||
highlight: "rgba(143, 159, 169, 0.15)",
|
||||
textHighlight: "#fff23688",
|
||||
},
|
||||
darkMode: {
|
||||
light: "#161618",
|
||||
lightgray: "#393639",
|
||||
gray: "#646464",
|
||||
darkgray: "#d4d4d4",
|
||||
dark: "#ebebec",
|
||||
secondary: "#7b97aa",
|
||||
tertiary: "#84a59d",
|
||||
highlight: "rgba(143, 159, 169, 0.15)",
|
||||
textHighlight: "#b3aa0288",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: {
|
||||
transformers: [
|
||||
Plugin.FrontMatter(),
|
||||
Plugin.CreatedModifiedDate({
|
||||
priority: ["frontmatter", "git", "filesystem"],
|
||||
}),
|
||||
Plugin.SyntaxHighlighting({
|
||||
theme: {
|
||||
light: "github-light",
|
||||
dark: "github-dark",
|
||||
},
|
||||
keepBackground: false,
|
||||
}),
|
||||
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
||||
Plugin.GitHubFlavoredMarkdown(),
|
||||
Plugin.TableOfContents(),
|
||||
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
|
||||
Plugin.Description(),
|
||||
Plugin.Latex({ renderEngine: "katex" }),
|
||||
],
|
||||
filters: [Plugin.RemoveDrafts()],
|
||||
emitters: [
|
||||
Plugin.AliasRedirects(),
|
||||
Plugin.ComponentResources(),
|
||||
Plugin.ContentPage(),
|
||||
Plugin.FolderPage(),
|
||||
Plugin.TagPage(),
|
||||
Plugin.ContentIndex({
|
||||
enableSiteMap: true,
|
||||
enableRSS: true,
|
||||
}),
|
||||
Plugin.Assets(),
|
||||
Plugin.Static(),
|
||||
Plugin.Favicon(),
|
||||
Plugin.NotFoundPage(),
|
||||
// Comment out CustomOgImages to speed up build time
|
||||
Plugin.CustomOgImages(),
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
@@ -1,3 +1,8 @@
|
||||
---
|
||||
title: Welcome
|
||||
---
|
||||
|
||||
|
||||
This is your new *vault*.
|
||||
|
||||
Make a note of something, [[create a link]], or try [the Importer](https://help.obsidian.md/Plugins/Importer)!
|
||||
@@ -1 +1 @@
|
||||
0.0.1
|
||||
1.8.0
|
||||
|
||||
Reference in New Issue
Block a user