diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 40b2d4a3a..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: [jackyzha0] diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a56a30e33..dcd7c9293 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -36,4 +36,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public publish_branch: master # deploying branch - cname: quartz.jzhao.xyz + cname: hansel.li diff --git a/.history/.github/workflows/deploy_20221029183408.yaml b/.history/.github/workflows/deploy_20221029183408.yaml new file mode 100644 index 000000000..a56a30e33 --- /dev/null +++ b/.history/.github/workflows/deploy_20221029183408.yaml @@ -0,0 +1,39 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - hugo + +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + - name: Build Link Index + uses: jackyzha0/hugo-obsidian@v2.18 + with: + index: true + input: content + output: assets/indices + root: . + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.96.0' + extended: true + + - name: Build + run: hugo --minify + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public + publish_branch: master # deploying branch + cname: quartz.jzhao.xyz diff --git a/.history/.github/workflows/deploy_20221029192243.yaml b/.history/.github/workflows/deploy_20221029192243.yaml new file mode 100644 index 000000000..dcd7c9293 --- /dev/null +++ b/.history/.github/workflows/deploy_20221029192243.yaml @@ -0,0 +1,39 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - hugo + +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + - name: Build Link Index + uses: jackyzha0/hugo-obsidian@v2.18 + with: + index: true + input: content + output: assets/indices + root: . + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.96.0' + extended: true + + - name: Build + run: hugo --minify + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public + publish_branch: master # deploying branch + cname: hansel.li diff --git a/.history/config_20221029183408.toml b/.history/config_20221029183408.toml new file mode 100644 index 000000000..a545ed815 --- /dev/null +++ b/.history/config_20221029183408.toml @@ -0,0 +1,34 @@ +baseURL = "https://quartz.jzhao.xyz/" +languageCode = "en-us" +googleAnalytics = "G-XYFD95KB4J" +relativeURLs = false +disablePathToLower = true +ignoreFiles = [ + "/content/templates/*", + "/content/private/*", +] +summaryLength = 20 +paginate = 10 +enableGitInfo = true + +[markup] + [markup.tableOfContents] + endLevel = 3 + ordered = true + startLevel = 2 + [markup.highlight] + noClasses = false + anchorLineNos = false + codeFences = true + guessSyntax = true + hl_Lines = "" + lineAnchors = "" + lineNoStart = 1 + lineNos = true + lineNumbersInTable = true + style = "dracula" + [frontmatter] + lastmod = ["lastmod", ":git", "date", "publishDate"] + publishDate = ["publishDate", "date"] + [markup.goldmark.renderer] + unsafe = true diff --git a/.history/config_20221029193356.toml b/.history/config_20221029193356.toml new file mode 100644 index 000000000..d1a7045c0 --- /dev/null +++ b/.history/config_20221029193356.toml @@ -0,0 +1,34 @@ +baseURL = "https://hansel.li" +languageCode = "en-us" +googleAnalytics = "G-XYFD95KB4J" +relativeURLs = false +disablePathToLower = true +ignoreFiles = [ + "/content/templates/*", + "/content/private/*", +] +summaryLength = 20 +paginate = 10 +enableGitInfo = true + +[markup] + [markup.tableOfContents] + endLevel = 3 + ordered = true + startLevel = 2 + [markup.highlight] + noClasses = false + anchorLineNos = false + codeFences = true + guessSyntax = true + hl_Lines = "" + lineAnchors = "" + lineNoStart = 1 + lineNos = true + lineNumbersInTable = true + style = "dracula" + [frontmatter] + lastmod = ["lastmod", ":git", "date", "publishDate"] + publishDate = ["publishDate", "date"] + [markup.goldmark.renderer] + unsafe = true diff --git a/.history/content/_index_20221029183408.md b/.history/content/_index_20221029183408.md new file mode 100644 index 000000000..5c7b838b7 --- /dev/null +++ b/.history/content/_index_20221029183408.md @@ -0,0 +1,27 @@ +--- +title: ðŸŠī Quartz 3. +enableToc: false +--- + +Host your second brain and [digital garden](https://jzhao.xyz/posts/networked-thought) for free. Quartz features + +1. Extremely fast natural-language [[notes/search]] +2. Customizable and hackable design based on [Hugo](https://gohugo.io/) +3. Automatically generated backlinks, link previews, and local graph +4. Built-in [[notes/CJK + Latex Support (æĩ‹čŊ•) | CJK + Latex Support]] and [[notes/callouts | Admonition-style callouts]] +5. Support for both Markdown Links and Wikilinks + +Check out some of the [amazing gardens that community members](notes/showcase.md) have published with Quartz or read about [why I made Quartz](notes/philosophy.md) to begin with. + +## Get Started +> 📚 Step 1: [Setup your own digital garden using Quartz](notes/setup.md) + +Returning user? Figure out how to [[notes/updating|update]] your existing Quartz garden. + +If you prefer browsing the contents of this site through a list instead of a graph, you see a list of all [setup-related notes](/tags/setup). + +### Troubleshooting +- 🚧 [Troubleshooting and FAQ](notes/troubleshooting.md) +- 🐛 [Submit an Issue](https://github.com/jackyzha0/quartz/issues) +- 👀 [Discord Community](https://discord.gg/cRFFHYye7t) + diff --git a/.history/content/_index_20221029193024.md b/.history/content/_index_20221029193024.md new file mode 100644 index 000000000..e69de29bb diff --git a/.history/data/config_20221029183408.yaml b/.history/data/config_20221029183408.yaml new file mode 100644 index 000000000..c1230c0dd --- /dev/null +++ b/.history/data/config_20221029183408.yaml @@ -0,0 +1,26 @@ +name: Jacky Zhao +enableToc: true +openToc: false +enableLinkPreview: true +enableLatex: true +enableCodeBlockTitle: true +enableCodeBlockCopy: true +enableCallouts: true +enableSPA: true +enableFooter: true +enableContextualBacklinks: true +enableRecentNotes: false +enableGitHubEdit: true +GitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content +enableSemanticSearch: false +operandApiKey: "REPLACE-WITH-YOUR-OPERAND-API-KEY" +description: + Host your second brain and digital garden for free. Quartz features extremely fast full-text search, + Wikilink support, backlinks, local graph, tags, and link previews. +page_title: + "ðŸŠī Quartz 3.3" +links: + - link_name: Twitter + link: https://twitter.com/_jzhao + - link_name: Github + link: https://github.com/jackyzha0 diff --git a/.history/data/config_20221029192632.yaml b/.history/data/config_20221029192632.yaml new file mode 100644 index 000000000..a9727e9de --- /dev/null +++ b/.history/data/config_20221029192632.yaml @@ -0,0 +1,25 @@ +name: hansel +enableToc: true +openToc: false +enableLinkPreview: true +enableLatex: true +enableCodeBlockTitle: true +enableCodeBlockCopy: true +enableCallouts: true +enableSPA: true +enableFooter: true +enableContextualBacklinks: true +enableRecentNotes: false +enableGitHubEdit: true +GitHubLink: https://github.com/hansel-li/quartz/tree/hugo/content +enableSemanticSearch: false +operandApiKey: "REPLACE-WITH-YOUR-OPERAND-API-KEY" +description: + tbd +page_title: + "hansel" +links: + - link_name: Twitter + link: https://twitter.com/_jzhao + - link_name: Github + link: https://github.com/jackyzha0 diff --git a/.history/data/config_20221029192729.yaml b/.history/data/config_20221029192729.yaml new file mode 100644 index 000000000..999a2a950 --- /dev/null +++ b/.history/data/config_20221029192729.yaml @@ -0,0 +1,25 @@ +name: hansel +enableToc: true +openToc: false +enableLinkPreview: true +enableLatex: true +enableCodeBlockTitle: true +enableCodeBlockCopy: true +enableCallouts: true +enableSPA: true +enableFooter: true +enableContextualBacklinks: true +enableRecentNotes: false +enableGitHubEdit: true +GitHubLink: https://github.com/hansel-li/quartz/tree/hugo/content +enableSemanticSearch: false +operandApiKey: "REPLACE-WITH-YOUR-OPERAND-API-KEY" +description: + tbd +page_title: + "hansel" +links: + # - link_name: Twitter + # link: https://twitter.com/concupiscere + - link_name: Github + link: https://github.com/hansel-li diff --git a/config.toml b/config.toml index a545ed815..d1a7045c0 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://quartz.jzhao.xyz/" +baseURL = "https://hansel.li" languageCode = "en-us" googleAnalytics = "G-XYFD95KB4J" relativeURLs = false diff --git a/content/_index.md b/content/_index.md index 5c7b838b7..e69de29bb 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,27 +0,0 @@ ---- -title: ðŸŠī Quartz 3. -enableToc: false ---- - -Host your second brain and [digital garden](https://jzhao.xyz/posts/networked-thought) for free. Quartz features - -1. Extremely fast natural-language [[notes/search]] -2. Customizable and hackable design based on [Hugo](https://gohugo.io/) -3. Automatically generated backlinks, link previews, and local graph -4. Built-in [[notes/CJK + Latex Support (æĩ‹čŊ•) | CJK + Latex Support]] and [[notes/callouts | Admonition-style callouts]] -5. Support for both Markdown Links and Wikilinks - -Check out some of the [amazing gardens that community members](notes/showcase.md) have published with Quartz or read about [why I made Quartz](notes/philosophy.md) to begin with. - -## Get Started -> 📚 Step 1: [Setup your own digital garden using Quartz](notes/setup.md) - -Returning user? Figure out how to [[notes/updating|update]] your existing Quartz garden. - -If you prefer browsing the contents of this site through a list instead of a graph, you see a list of all [setup-related notes](/tags/setup). - -### Troubleshooting -- 🚧 [Troubleshooting and FAQ](notes/troubleshooting.md) -- 🐛 [Submit an Issue](https://github.com/jackyzha0/quartz/issues) -- 👀 [Discord Community](https://discord.gg/cRFFHYye7t) - diff --git a/data/config.yaml b/data/config.yaml index c1230c0dd..999a2a950 100644 --- a/data/config.yaml +++ b/data/config.yaml @@ -1,4 +1,4 @@ -name: Jacky Zhao +name: hansel enableToc: true openToc: false enableLinkPreview: true @@ -11,16 +11,15 @@ enableFooter: true enableContextualBacklinks: true enableRecentNotes: false enableGitHubEdit: true -GitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content +GitHubLink: https://github.com/hansel-li/quartz/tree/hugo/content enableSemanticSearch: false operandApiKey: "REPLACE-WITH-YOUR-OPERAND-API-KEY" description: - Host your second brain and digital garden for free. Quartz features extremely fast full-text search, - Wikilink support, backlinks, local graph, tags, and link previews. + tbd page_title: - "ðŸŠī Quartz 3.3" + "hansel" links: - - link_name: Twitter - link: https://twitter.com/_jzhao + # - link_name: Twitter + # link: https://twitter.com/concupiscere - link_name: Github - link: https://github.com/jackyzha0 + link: https://github.com/hansel-li