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/content/_index_20221029200102.md b/.history/content/_index_20221029200102.md new file mode 100644 index 000000000..5c7b838b7 --- /dev/null +++ b/.history/content/_index_20221029200102.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_20221029200200.md b/.history/content/_index_20221029200200.md new file mode 100644 index 000000000..c9b58efaa --- /dev/null +++ b/.history/content/_index_20221029200200.md @@ -0,0 +1,27 @@ +--- +title: ðŸŠī Quartz 3. +enableToc: true +--- + +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_20221029200609.md b/.history/content/_index_20221029200609.md new file mode 100644 index 000000000..23a791196 --- /dev/null +++ b/.history/content/_index_20221029200609.md @@ -0,0 +1,31 @@ +--- +title: hansel +enableToc: true +--- + + +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. + +## Notes +well, I guess we're starting this website. Let's start with... a todo list? + +## 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_20221029201600.md b/.history/content/_index_20221029201600.md new file mode 100644 index 000000000..e99eea93a --- /dev/null +++ b/.history/content/_index_20221029201600.md @@ -0,0 +1,33 @@ +--- +title: hansel +enableToc: true +--- + +## Notes +well, I guess we're starting this website. Let's start with... a todo list? This place can be my todo list. +- make it look pretty +- + + + + 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/.history/layouts/_default/term_20221029183408.html b/.history/layouts/_default/term_20221029183408.html new file mode 100644 index 000000000..6bda201bc --- /dev/null +++ b/.history/layouts/_default/term_20221029183408.html @@ -0,0 +1,21 @@ + + +{{ partial "head.html" . }} + + +{{partial "search.html" .}} +
+ + {{partial "header.html" .}} +
+

{{ i18n "tag" }}: {{ .Title }}

+ {{with .Params.description}} +

{{.}}

+ {{end}} + {{partial "page-list.html" .Paginator.Pages}} + {{ template "_internal/pagination.html" . }} +
+ {{partial "contact.html" .}} +
+ + diff --git a/.history/layouts/_default/term_20221029205643.html b/.history/layouts/_default/term_20221029205643.html new file mode 100644 index 000000000..0bb23d131 --- /dev/null +++ b/.history/layouts/_default/term_20221029205643.html @@ -0,0 +1,22 @@ + + +{{ partial "head.html" . }} + + +{{partial "search.html" .}} +
+ + {{partial "header.html" .}} +
+

{{ i18n "tag" }}: {{ .Title }}

+ {{with .Params.description}} +

{{.}}

+ See all tags → + {{end}} + {{partial "page-list.html" .Paginator.Pages}} + {{ template "_internal/pagination.html" . }} +
+ {{partial "contact.html" .}} +
+ + 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..330790b1e 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,9 +1,28 @@ --- -title: ðŸŠī Quartz 3. -enableToc: false +title: hansel +enableToc: true --- -Host your second brain and [digital garden](https://jzhao.xyz/posts/networked-thought) for free. Quartz features +## Notes +well, I guess we're starting this website. Let's start with... a todo list? This place can be my todo list. + +### todo: +- make it look pretty +- is it possible to have a description below the tag? would be helpful for future tags +- sections + - [[daily/daily | daily log]] + - i would like a page that lists all my daily logs + - [[tags/daily]] currently does that + + - [[personal thoughts/personal thoughts]]personal thoughts + - [[media/media]]media list (books, shows, art) + - [[personal favourites]] + - [[hi/stories | my stories]] + - [[school notes]] +- visualization of whatever i want + + + diff --git a/content/daily/2022-10-28.md b/content/daily/2022-10-28.md new file mode 100644 index 000000000..677ef3556 --- /dev/null +++ b/content/daily/2022-10-28.md @@ -0,0 +1,7 @@ +--- +title: "2022-10-28" +date: "2022-10-28" +tags: +- daily +--- +this was yesterday diff --git a/content/daily/2022-10-29.md b/content/daily/2022-10-29.md new file mode 100644 index 000000000..c2c858b9c --- /dev/null +++ b/content/daily/2022-10-29.md @@ -0,0 +1,7 @@ +--- +title: "2022-10-29" +date: "2022-10-29" +tags: +- daily +--- +today i made a website diff --git a/content/daily/daily.md b/content/daily/daily.md new file mode 100644 index 000000000..9fa05ab24 --- /dev/null +++ b/content/daily/daily.md @@ -0,0 +1,5 @@ +--- +title: "daily" +--- +this is my daily journal +[[daily/2022-10-29]] \ No newline at end of file diff --git a/content/notes/CJK + Latex Support (æĩ‹čŊ•).md b/content/default stuff/CJK + Latex Support (æĩ‹čŊ•).md similarity index 96% rename from content/notes/CJK + Latex Support (æĩ‹čŊ•).md rename to content/default stuff/CJK + Latex Support (æĩ‹čŊ•).md index 0f9afc273..aff1fdf80 100644 --- a/content/notes/CJK + Latex Support (æĩ‹čŊ•).md +++ b/content/default stuff/CJK + Latex Support (æĩ‹čŊ•).md @@ -37,4 +37,4 @@ a & b & c $$ ## RTL -More information on configuring RTL languages like Arabic in the [config](notes/config.md) page. +More information on configuring RTL languages like Arabic in the [config](config.md) page. diff --git a/content/notes/callouts.md b/content/default stuff/callouts.md similarity index 100% rename from content/notes/callouts.md rename to content/default stuff/callouts.md diff --git a/content/notes/config.md b/content/default stuff/config.md similarity index 98% rename from content/notes/config.md rename to content/default stuff/config.md index e9e769176..1bd2d435d 100644 --- a/content/notes/config.md +++ b/content/default stuff/config.md @@ -202,10 +202,10 @@ For example, the structure of the home page can be edited through `/layouts/inde More info about partials on [Hugo's website.](https://gohugo.io/templates/partials/) -Still having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md). +Still having problems? Checkout our [FAQ and Troubleshooting guide](troubleshooting.md). ## Language Support -[CJK + Latex Support (æĩ‹čŊ•)](notes/CJK%20+%20Latex%20Support%20(æĩ‹čŊ•).md) comes out of the box with Quartz. +[CJK + Latex Support (æĩ‹čŊ•)](CJK%20+%20Latex%20Support%20(æĩ‹čŊ•).md) comes out of the box with Quartz. Want to support languages that read from right-to-left (like Arabic)? Hugo (and by proxy, Quartz) supports this natively. diff --git a/content/notes/custom Domain.md b/content/default stuff/custom Domain.md similarity index 90% rename from content/notes/custom Domain.md rename to content/default stuff/custom Domain.md index 72cb466eb..6bef9e62f 100644 --- a/content/notes/custom Domain.md +++ b/content/default stuff/custom Domain.md @@ -12,6 +12,6 @@ GitHub has some [documentation on this](https://docs.github.com/en/pages/configu 1. Go to your forked repository (`github.com//quartz`) settings page and go to the Pages tab. Under "Custom domain", type your custom domain, then click **Save**. 2. Go to your DNS Provider and create a CNAME record that points from your domain to ` 🔗 Step 3: [How to setup your Obsidian Vault to work with Quartz](notes/obsidian.md) +> 🔗 Step 3: [How to setup your Obsidian Vault to work with Quartz](obsidian.md) ## Previewing Changes This step is purely optional and mostly for those who want to see the published version of their digital garden locally before opening it up to the internet. This is *highly recommended* but not required. -> 👀 Step 4: [Preview Quartz Changes](notes/preview%20changes.md) +> 👀 Step 4: [Preview Quartz Changes](preview%20changes.md) For those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing. ## Publishing Changes Now that you know the basics of managing your digital garden using Quartz, you can publish it to the internet! -> 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md) +> 🌍 Step 5: [Hosting Quartz online!](hosting.md) -Having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md). +Having problems? Checkout our [FAQ and Troubleshooting guide](troubleshooting.md). diff --git a/content/notes/hosting.md b/content/default stuff/hosting.md similarity index 86% rename from content/notes/hosting.md rename to content/default stuff/hosting.md index fffcd653a..a7017036f 100644 --- a/content/notes/hosting.md +++ b/content/default stuff/hosting.md @@ -13,7 +13,7 @@ Quartz is designed to be effortless to deploy. If you forked and cloned Quartz d ### Enable GitHub Actions By default, GitHub disables workflows from running automatically on Forked Repostories. Head to the 'Actions' tab of your forked repository and Enable Workflows to setup deploying your Quartz site! -![Enable GitHub Actions](notes/images/github-actions.png)*Enable GitHub Actions* +![Enable GitHub Actions](github-actions.png)*Enable GitHub Actions* ### Enable GitHub Pages @@ -22,7 +22,7 @@ Head to the 'Settings' tab of your forked repository and go to the 'Pages' tab. 1. (IMPORTANT) Set the source to deploy from `master` (and not `hugo`) using `/ (root)` 2. Set a custom domain here if you have one! -![Enable GitHub Pages](/notes/images/github-pages.png)*Enable GitHub Pages* +![Enable GitHub Pages](github-pages.png)*Enable GitHub Pages* ### Pushing Changes To see your changes on the internet, we need to push it them to GitHub. Quartz is a `git` repository so updating it is the same workflow as you would follow as if it were just a regular software project. @@ -76,17 +76,17 @@ Please note that the `cname` field should *not* have any path `e.g. end with /qu cname: ``` -Have a custom domain? [Learn how to set it up with Quartz ](notes/custom%20Domain.md). +Have a custom domain? [Learn how to set it up with Quartz ](custom%20Domain.md). ### Ignoring Files Only want to publish a subset of all of your notes? Don't worry, Quartz makes this a simple two-step process. -❌ [Excluding pages from being published](notes/ignore%20notes.md) +❌ [Excluding pages from being published](ignore%20notes.md) --- Now that your Quartz is live, let's figure out how to make Quartz really *yours*! -> Step 6: ðŸŽĻ [Customizing Quartz](notes/config.md) +> Step 6: ðŸŽĻ [Customizing Quartz](config.md) -Having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md). +Having problems? Checkout our [FAQ and Troubleshooting guide](troubleshooting.md). diff --git a/content/notes/ignore notes.md b/content/default stuff/ignore notes.md similarity index 100% rename from content/notes/ignore notes.md rename to content/default stuff/ignore notes.md diff --git a/content/notes/images/github-actions.png b/content/default stuff/images/github-actions.png similarity index 100% rename from content/notes/images/github-actions.png rename to content/default stuff/images/github-actions.png diff --git a/content/notes/images/github-pages.png b/content/default stuff/images/github-pages.png similarity index 100% rename from content/notes/images/github-pages.png rename to content/default stuff/images/github-pages.png diff --git a/content/notes/images/google-domains.png b/content/default stuff/images/google-domains.png similarity index 100% rename from content/notes/images/google-domains.png rename to content/default stuff/images/google-domains.png diff --git a/content/notes/images/obsidian-settings.png b/content/default stuff/images/obsidian-settings.png similarity index 100% rename from content/notes/images/obsidian-settings.png rename to content/default stuff/images/obsidian-settings.png diff --git a/content/notes/obsidian.md b/content/default stuff/obsidian.md similarity index 86% rename from content/notes/obsidian.md rename to content/default stuff/obsidian.md index c709a70d7..693e506db 100644 --- a/content/notes/obsidian.md +++ b/content/default stuff/obsidian.md @@ -9,7 +9,7 @@ weight: -3 Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have. ### New Vault -If you don't have an existing Vault, [download Obsidian](https://obsidian.md/) and create a new Vault in the `/content` folder that you created and cloned during the [setup](notes/setup.md) step. +If you don't have an existing Vault, [download Obsidian](https://obsidian.md/) and create a new Vault in the `/content` folder that you created and cloned during the [setup](setup.md) step. ### Linking an existing Vault The easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the `/content` folder. @@ -20,7 +20,7 @@ Great, now that you have your Obsidian linked to your Quartz, let's fix some set 1. Under Options > Files and Links, set the New link format to always use Absolute Path in Vault. 2. Go to Settings > Files & Links > Turn "on" automatically update internal links. -![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings* +![Obsidian Settings](obsidian-settings.png)*Obsidian Settings* ## Templates Inserting front matter everytime you want to create a new Note gets annoying really quickly. Luckily, Obsidian supports templates which makes inserting new content really easily. @@ -29,4 +29,4 @@ Inserting front matter everytime you want to create a new Note gets annoying rea Head over to Options > Core Plugins and enable the Templates plugin. Then go to Options > Hotkeys and set a hotkey for 'Insert Template' (I recommend `[cmd]+T`). That way, when you create a new note, you can just press the hotkey for a new template and be ready to go! -> 👀 Step 4: [Preview Quartz Changes](notes/preview%20changes.md) \ No newline at end of file +> 👀 Step 4: [Preview Quartz Changes](preview%20changes.md) \ No newline at end of file diff --git a/content/notes/philosophy.md b/content/default stuff/philosophy.md similarity index 100% rename from content/notes/philosophy.md rename to content/default stuff/philosophy.md diff --git a/content/notes/preview changes.md b/content/default stuff/preview changes.md similarity index 95% rename from content/notes/preview changes.md rename to content/default stuff/preview changes.md index 937b99bab..b4abe0762 100644 --- a/content/notes/preview changes.md +++ b/content/default stuff/preview changes.md @@ -34,4 +34,4 @@ make serve # View your site in a browser at http://localhost:1313/ ``` -> 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md) \ No newline at end of file +> 🌍 Step 5: [Hosting Quartz online!](hosting.md) \ No newline at end of file diff --git a/content/notes/search.md b/content/default stuff/search.md similarity index 95% rename from content/notes/search.md rename to content/default stuff/search.md index ed170f64d..b5246e4ca 100644 --- a/content/notes/search.md +++ b/content/default stuff/search.md @@ -38,7 +38,7 @@ Here's how to set it up. enableSemanticSearch: true operandApiKey: "0e733a7f-9b9c-48c6-9691-b54fa1c8b910" ``` -7. Make a commit and push your changes to GitHub. See the [[notes/hosting|hosting]] page if you haven't done this already. +7. Make a commit and push your changes to GitHub. See the [[hosting|hosting]] page if you haven't done this already. 1. This step is *required* for Operand to be able to properly index your content. 2. Head over to Dashboard > Objects and select the collection that you made earlier 8. Press `(Cmd + K)` to open the omnibar again and select 'Create GitHub Repo' diff --git a/content/notes/setup.md b/content/default stuff/setup.md similarity index 89% rename from content/notes/setup.md rename to content/default stuff/setup.md index 00254159c..d72e84bf5 100644 --- a/content/notes/setup.md +++ b/content/default stuff/setup.md @@ -27,6 +27,6 @@ git clone https://github.com/YOUR-USERNAME/quartz ## Editing Great! Now you have everything you need to start editing and growing your digital garden. If you're ready to start writing content already, check out the recommended flow for editing notes in Quartz. -> ✏ïļ Step 2: [Editing Notes in Quartz](notes/editing.md) +> ✏ïļ Step 2: [Editing Notes in Quartz](editing.md) -Having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md). +Having problems? Checkout our [FAQ and Troubleshooting guide](troubleshooting.md). diff --git a/content/notes/showcase.md b/content/default stuff/showcase.md similarity index 100% rename from content/notes/showcase.md rename to content/default stuff/showcase.md diff --git a/content/notes/troubleshooting.md b/content/default stuff/troubleshooting.md similarity index 82% rename from content/notes/troubleshooting.md rename to content/default stuff/troubleshooting.md index 66eb87929..361f1f38d 100644 --- a/content/notes/troubleshooting.md +++ b/content/default stuff/troubleshooting.md @@ -7,7 +7,7 @@ Still having trouble? Here are a list of common questions and problems people en While you're here, join our [Discord](https://discord.gg/cRFFHYye7t) :) ### Does Quartz have Latex support? -Yes! See [CJK + Latex Support (æĩ‹čŊ•)](notes/CJK%20+%20Latex%20Support%20(æĩ‹čŊ•).md) for a brief demo. +Yes! See [CJK + Latex Support (æĩ‹čŊ•)](CJK%20+%20Latex%20Support%20(æĩ‹čŊ•).md) for a brief demo. ### Can I use \ in Quartz? Unless it produces direct Markdown output in the file, no. There currently is no way to bundle plugin code with Quartz. @@ -15,7 +15,7 @@ Unless it produces direct Markdown output in the file, no. There currently is no The easiest way would be to add your own HTML partial that supports the functionality you are looking for. ### My GitHub pages is just showing the README and not Quartz -Make sure you set the source to deploy from `master` (and not `hugo`) using `/ (root)`! See more in the [hosting](/notes/hosting) guide +Make sure you set the source to deploy from `master` (and not `hugo`) using `/ (root)`! See more in the [hosting](hosting.md) guide ### Some of my pages have 'January 1, 0001' as the last modified date This is a problem caused by `git` treating files as case-insensitive by default and some of your posts probably have capitalized file names. You can turn this off in your Quartz by running this command. @@ -29,10 +29,10 @@ git config --global core.ignorecase true ``` ### Can I publish only a subset of my pages? -Yes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](notes/ignore%20notes.md). +Yes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](ignore%20notes.md). ### Can I host this myself and not on GitHub Pages? -Yes! All built files can be found under `/public` in the `master` branch. More details under [hosting](notes/hosting.md). +Yes! All built files can be found under `/public` in the `master` branch. More details under [hosting](hosting.md). ### `command not found: hugo-obsidian` Make sure you set your `GOPATH` correctly! This will allow your terminal to correctly recognize `hugo-obsidian` as an executable. @@ -47,10 +47,10 @@ source ~/.bash_profile ``` ### How come my notes aren't being rendered? -You probably forgot to include front matter in your Markdown files. You can either setup [Obsidian](notes/obsidian.md) to do this for you or you need to manually define it. More details in [the 'how to edit' guide](notes/editing.md). +You probably forgot to include front matter in your Markdown files. You can either setup [Obsidian](obsidian.md) to do this for you or you need to manually define it. More details in [the 'how to edit' guide](editing.md). ### My custom domain isn't working! -Walk through the steps in [the hosting guide](notes/hosting.md) again. Make sure you wait 30 min to 1 hour for changes to take effect. +Walk through the steps in [the hosting guide](hosting.md) again. Make sure you wait 30 min to 1 hour for changes to take effect. ### How do I setup Google Analytics? You can edit it in `config.toml` and either use a V3 (UA-) or V4 (G-) tag. @@ -59,7 +59,7 @@ You can edit it in `config.toml` and either use a V3 (UA-) or V4 (G-) tag. To edit the main home page, open `/content/_index.md`. ### How do I change the colours? -You can change the theme by editing `assets/custom.scss`. More details on customization and themeing can be found in the [customization guide](notes/config.md). +You can change the theme by editing `assets/custom.scss`. More details on customization and themeing can be found in the [customization guide](config.md). ### How do I add images? You can put images anywhere in the `/content` folder. @@ -70,7 +70,7 @@ Example image (source is in content/notes/images/example.png) ``` ### My Interactive Graph and Backlinks aren't up to date -By default, the `linkIndex.json` (which Quartz needs to generate the Interactive Graph and Backlinks) are not regenerated locally. To set that up, see the guide on [local editing](notes/editing.md) +By default, the `linkIndex.json` (which Quartz needs to generate the Interactive Graph and Backlinks) are not regenerated locally. To set that up, see the guide on [local editing](editing.md) ### Can I use React/Vue/some other framework? Not out of the box. You could probably make it work by editing `/layouts/_default/single.html` but that's not what Quartz is designed to work with. 99% of things you are trying to do with those frameworks you can accomplish perfectly fine using just vanilla HTML/CSS/JS. diff --git a/content/notes/updating.md b/content/default stuff/updating.md similarity index 100% rename from content/notes/updating.md rename to content/default stuff/updating.md diff --git a/content/hi/hike.md b/content/hi/hike.md new file mode 100644 index 000000000..eb56a1293 --- /dev/null +++ b/content/hi/hike.md @@ -0,0 +1,5 @@ +--- +title: "hike" +date: "2019" +--- +went to china \ No newline at end of file diff --git a/content/hi/stories.md b/content/hi/stories.md new file mode 100644 index 000000000..a34da2f87 --- /dev/null +++ b/content/hi/stories.md @@ -0,0 +1,6 @@ +--- +title: "stories" +--- +a collection of interesting things that i've observed +- [[hike]] +- [[this is a story]] \ No newline at end of file diff --git a/content/hi/this is a story.md b/content/hi/this is a story.md new file mode 100644 index 000000000..4e0e0acdb --- /dev/null +++ b/content/hi/this is a story.md @@ -0,0 +1,3 @@ +--- +title: "this is a story" +--- diff --git a/content/media/media.md b/content/media/media.md new file mode 100644 index 000000000..c768a99ee --- /dev/null +++ b/content/media/media.md @@ -0,0 +1,3 @@ +this is a list of media i have consumed, am consuming, and will consume +# Consuming +- Chainsaw man \ No newline at end of file diff --git a/content/personal favourites.md b/content/personal favourites.md new file mode 100644 index 000000000..7b60f8fa4 --- /dev/null +++ b/content/personal favourites.md @@ -0,0 +1,3 @@ +this is a list of my personal favourite things + +my favourite colour is dark red, dark green, or deep blue depending on my mood (as everything in my life depends on) \ No newline at end of file diff --git a/content/personal thoughts/love.md b/content/personal thoughts/love.md new file mode 100644 index 000000000..33aced60a --- /dev/null +++ b/content/personal thoughts/love.md @@ -0,0 +1,4 @@ +--- +title: "love" +--- +i love my cats \ No newline at end of file diff --git a/content/personal thoughts/personal thoughts.md b/content/personal thoughts/personal thoughts.md new file mode 100644 index 000000000..505079385 --- /dev/null +++ b/content/personal thoughts/personal thoughts.md @@ -0,0 +1,7 @@ +--- +title: "personal thoughts" +tags: +- thoughts +--- +this is the landing page for personal thoughts +[[personal thoughts/love]] \ No newline at end of file diff --git a/content/tags1/daily/daily.md b/content/tags1/daily/daily.md new file mode 100644 index 000000000..254467119 --- /dev/null +++ b/content/tags1/daily/daily.md @@ -0,0 +1,4 @@ +--- +title: "daily" +description: "this is a daily log" +--- diff --git a/content/templates/daily.md b/content/templates/daily.md new file mode 100644 index 000000000..14c1f1ce2 --- /dev/null +++ b/content/templates/daily.md @@ -0,0 +1,6 @@ +--- +title: "{{title}}" +date: "{{date}}" +tags: +- daily +--- 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 diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 6bda201bc..0bb23d131 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -11,6 +11,7 @@

{{ i18n "tag" }}: {{ .Title }}

{{with .Params.description}}

{{.}}

+ See all tags → {{end}} {{partial "page-list.html" .Paginator.Pages}} {{ template "_internal/pagination.html" . }}