diff --git a/404.html b/404.html index 48cba97..5446f28 100644 --- a/404.html +++ b/404.html @@ -1,17 +1,17 @@ -404 Page not found - +404 Page not found + - - - - - + + + + +
-

404.

Hey! You look a little lost. This page doesn't exist (or may be private).

↳ Let's get you home.
\ No newline at end of file +

404.

Hey! You look a little lost. This page doesn't exist (or may be private).

↳ Let's get you home.
\ No newline at end of file diff --git a/categories/index.html b/categories/index.html index 110957c..cff4f82 100644 --- a/categories/index.html +++ b/categories/index.html @@ -1,18 +1,18 @@ -Categories - +Categories + - - - - - + + + + +
-

🪴 Quartz 3.3

Search

Search IconIcon to open search
-

All Categories

\ No newline at end of file +

🪴 Quartz 3.3

Search

Search IconIcon to open search
+

All Categories

\ No newline at end of file diff --git a/categories/index.xml b/categories/index.xml index 594bbde..7d596fb 100644 --- a/categories/index.xml +++ b/categories/index.xml @@ -1 +1 @@ -Categories onhttps://falsy.cat/categories/Recent content in Categories onHugo -- gohugo.ioen-us \ No newline at end of file +Categories onhttps://ar.falsy.cat/categories/Recent content in Categories onHugo -- gohugo.ioen-us \ No newline at end of file diff --git a/index.html b/index.html index 4668719..c884c21 100644 --- a/index.html +++ b/index.html @@ -1,18 +1,18 @@ -falsycat archive - +falsycat archive + - - - - - + + + + +
-

🪴 Quartz 3.3

Search

Search IconIcon to open search
-

調べたことをまとめていく


\ No newline at end of file +

🪴 Quartz 3.3

Search

Search IconIcon to open search
+

調べたことをまとめていく


\ No newline at end of file diff --git a/index.xml b/index.xml index 82eadda..b603923 100644 --- a/index.xml +++ b/index.xml @@ -1,11 +1,11 @@ -falsycat archive onhttps://falsy.cat/Recent content in falsycat archive onHugo -- gohugo.ioen-usSetuphttps://falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. -Folder Structure Here’s a rough overview of what’s what.Obsidian Vault Integrationhttps://falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/preview-changes/If you’d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/hosting/Hosting on GitHub Pages Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go!Calloutshttps://falsy.cat/notes/callouts/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/callouts/Callout support Quartz supports the same Admonition-callout syntax as Obsidian. +falsycat archive onhttps://ar.falsy.cat/Recent content in falsycat archive onHugo -- gohugo.ioen-usSetuphttps://ar.falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://ar.falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. +Folder Structure Here’s a rough overview of what’s what.Obsidian Vault Integrationhttps://ar.falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://ar.falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/preview-changes/If you’d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://ar.falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/hosting/Hosting on GitHub Pages Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go!Calloutshttps://ar.falsy.cat/notes/callouts/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/callouts/Callout support Quartz supports the same Admonition-callout syntax as Obsidian. This includes -12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.CJK + Latex Support (测试)https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Chinese, Japanese, Korean Support 几乎在我们意识到之前,我们已经离开了地面。 +12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.CJK + Latex Support (测试)https://ar.falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Chinese, Japanese, Korean Support 几乎在我们意识到之前,我们已经离开了地面。 우리가 그것을 알기도 전에 우리는 땅을 떠났습니다. 私たちがそれを知るほぼ前に、私たちは地面を離れていました。 -Latex Block math works with two dollar signs $$.Configurationhttps://falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you’d like to get.Custom Domainhttps://falsy.cat/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/custom-Domain/Registrar This step is only applicable if you are using a custom domain! If you are using a <YOUR-USERNAME>.github.io domain, you can skip this step.Hosting with Dockerhttps://falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz’s dependencies manually.Ignoring Noteshttps://falsy.cat/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/ignore-notes/Quartz Ignore Edit ignoreFiles in config.toml to include paths you’d like to exclude from being rendered. -1 2 3 4 5 6 .Quartz Philosophyhttps://falsy.cat/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/philosophy/“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Searchhttps://falsy.cat/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/search/Quartz supports two modes of searching through content. -Full-text Full-text search is the default in Quartz. It produces results that exactly match the search query.Showcasehttps://falsy.cat/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) -Quartz Documentation (this site!) Jacky Zhao’s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu’s PKM SlRvb’s Site Course notes for Information Technology Advanced Theory Brandon Boswell’s Garden Siyang’s Courtyard Data Dictionary 🧠 sspaeti.Troubleshooting and FAQhttps://falsy.cat/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/troubleshooting/Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz. -While you’re here, join our Discord :)Updatinghttps://falsy.cat/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/updating/Haven’t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! \ No newline at end of file +Latex Block math works with two dollar signs $$.Configurationhttps://ar.falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you’d like to get.Custom Domainhttps://ar.falsy.cat/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/custom-Domain/Registrar This step is only applicable if you are using a custom domain! If you are using a <YOUR-USERNAME>.github.io domain, you can skip this step.Hosting with Dockerhttps://ar.falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz’s dependencies manually.Ignoring Noteshttps://ar.falsy.cat/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/ignore-notes/Quartz Ignore Edit ignoreFiles in config.toml to include paths you’d like to exclude from being rendered. +1 2 3 4 5 6 .Quartz Philosophyhttps://ar.falsy.cat/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/philosophy/“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Searchhttps://ar.falsy.cat/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/search/Quartz supports two modes of searching through content. +Full-text Full-text search is the default in Quartz. It produces results that exactly match the search query.Showcasehttps://ar.falsy.cat/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) +Quartz Documentation (this site!) Jacky Zhao’s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu’s PKM SlRvb’s Site Course notes for Information Technology Advanced Theory Brandon Boswell’s Garden Siyang’s Courtyard Data Dictionary 🧠 sspaeti.Troubleshooting and FAQhttps://ar.falsy.cat/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/troubleshooting/Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz. +While you’re here, join our Discord :)Updatinghttps://ar.falsy.cat/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/updating/Haven’t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! \ No newline at end of file diff --git a/indices/contentIndex.b513420465655eb42e25a33ac7594ea5.min.json b/indices/contentIndex.8feb5914155c97a9b8a1454caf733b20.min.json similarity index 96% rename from indices/contentIndex.b513420465655eb42e25a33ac7594ea5.min.json rename to indices/contentIndex.8feb5914155c97a9b8a1454caf733b20.min.json index 2302e8f..d6e9596 100644 --- a/indices/contentIndex.b513420465655eb42e25a33ac7594ea5.min.json +++ b/indices/contentIndex.8feb5914155c97a9b8a1454caf733b20.min.json @@ -1 +1 @@ -{"/":{"title":"falsycat archive","content":"\n調べたことをまとめていく","lastmodified":"2023-02-23T09:42:21.461395746Z","tags":null},"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":{"title":"CJK + Latex Support (测试)","content":"\n## Chinese, Japanese, Korean Support\n几乎在我们意识到之前,我们已经离开了地面。\n\n우리가 그것을 알기도 전에 우리는 땅을 떠났습니다.\n\n私たちがそれを知るほぼ前に、私たちは地面を離れていました。\n\n## Latex\n\nBlock math works with two dollar signs `$$...$$`\n\n$$f(x) = \\int_{-\\infty}^\\infty\n f\\hat(\\xi),e^{2 \\pi i \\xi x}\n \\,d\\xi$$\n\t\nInline math also works with single dollar signs `$...$`. For example, Euler's identity but inline: $e^{i\\pi} = -1$\n\nAligned equations work quite well:\n\n$$\n\\begin{aligned}\na \u0026= b + c \\\\ \u0026= e + f \\\\\n\\end{aligned}\n$$\n\nAnd matrices\n\n$$\n\\begin{bmatrix}\n1 \u0026 2 \u0026 3 \\\\\na \u0026 b \u0026 c\n\\end{bmatrix}\n$$\n\n## RTL\nMore information on configuring RTL languages like Arabic in the [config](notes/config.md) page.\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/callouts":{"title":"Callouts","content":"\n## Callout support\n\nQuartz supports the same Admonition-callout syntax as Obsidian.\n\nThis includes\n- 12 Distinct callout types (each with several aliases)\n- Collapsable callouts\n\nSee [documentation on supported types and syntax here](https://help.obsidian.md/How+to/Use+callouts#Types).\n\n## Showcase\n\n\u003e [!EXAMPLE] Examples\n\u003e\n\u003e Aliases: example\n\n\u003e [!note] Notes\n\u003e\n\u003e Aliases: note\n\n\u003e [!abstract] Summaries \n\u003e\n\u003e Aliases: abstract, summary, tldr\n\n\u003e [!info] Info \n\u003e\n\u003e Aliases: info, todo\n\n\u003e [!tip] Hint \n\u003e\n\u003e Aliases: tip, hint, important\n\n\u003e [!success] Success \n\u003e\n\u003e Aliases: success, check, done\n\n\u003e [!question] Question \n\u003e\n\u003e Aliases: question, help, faq\n\n\u003e [!warning] Warning \n\u003e\n\u003e Aliases: warning, caution, attention\n\n\u003e [!failure] Failure \n\u003e\n\u003e Aliases: failure, fail, missing\n\n\u003e [!danger] Error\n\u003e\n\u003e Aliases: danger, error\n\n\u003e [!bug] Bug\n\u003e\n\u003e Aliases: bug\n\n\u003e [!quote] Quote\n\u003e\n\u003e Aliases: quote, cite\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/config":{"title":"Configuration","content":"\n## Configuration\nQuartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you'd like to get.\n\nThe majority of configuration can be found under `data/config.yaml`. An annotated example configuration is shown below.\n\n```yaml {title=\"data/config.yaml\"}\n# The name to display in the footer\nname: Jacky Zhao\n\n# whether to globally show the table of contents on each page\n# this can be turned off on a per-page basis by adding this to the\n# front-matter of that note\nenableToc: true\n\n# whether to by-default open or close the table of contents on each page\nopenToc: false\n\n# whether to display on-hover link preview cards\nenableLinkPreview: true\n\n# whether to render titles for code blocks\nenableCodeBlockTitle: true \n\n# whether to render copy buttons for code blocks\nenableCodeBlockCopy: true \n\n# whether to render callouts\nenableCallouts: true\n\n# whether to try to process Latex\nenableLatex: true\n\n# whether to enable single-page-app style rendering\n# this prevents flashes of unstyled content and improves\n# smoothness of Quartz. More info in issue #109 on GitHub\nenableSPA: true\n\n# whether to render a footer\nenableFooter: true\n\n# whether backlinks of pages should show the context in which\n# they were mentioned\nenableContextualBacklinks: true\n\n# whether to show a section of recent notes on the home page\nenableRecentNotes: false\n\n# whether to display an 'edit' button next to the last edited field\n# that links to github\nenableGitHubEdit: true\nGitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content\n\n# whether to render mermaid diagrams\nenableMermaid: true\n\n# whether to use Operand to power semantic search\n# IMPORTANT: replace this API key with your own if you plan on using\n# Operand search!\nsearch:\n enableSemanticSearch: false\n operandApiKey: \"REPLACE-WITH-YOUR-OPERAND-API-KEY\"\n operandIndexId: \"REPLACE-WITH-YOUR-OPERAND-INDEX-ID\"\n\n# page description used for SEO\ndescription:\n Host your second brain and digital garden for free. Quartz features extremely fast full-text search,\n Wikilink support, backlinks, local graph, tags, and link previews.\n\n# title of the home page (also for SEO)\npage_title:\n \"🪴 Quartz 3.3\"\n\n# links to show in the footer\nlinks:\n - link_name: Twitter\n link: https://twitter.com/_jzhao\n - link_name: Github\n link: https://github.com/jackyzha0\n```\n\n### Code Block Titles\nTo add code block titles with Quartz:\n\n1. Ensure that code block titles are enabled in Quartz's configuration:\n\n ```yaml {title=\"data/config.yaml\", linenos=false}\n enableCodeBlockTitle: true\n ```\n\n2. Add the `title` attribute to the desired [code block\n fence](https://gohugo.io/content-management/syntax-highlighting/#highlighting-in-code-fences):\n\n ```markdown {linenos=false}\n ```yaml {title=\"data/config.yaml\"}\n enableCodeBlockTitle: true # example from step 1\n ```\n ```\n\n**Note** that if `{title=\u003cmy-title\u003e}` is included, and code block titles are not\nenabled, no errors will occur, and the title attribute will be ignored.\n\n### HTML Favicons\nIf you would like to customize the favicons of your Quartz-based website, you \ncan add them to the `data/config.yaml` file. The **default** without any set \n`favicon` key is:\n\n```html {title=\"layouts/partials/head.html\", linenostart=15}\n\u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n```\n\nThe default can be overridden by defining a value to the `favicon` key in your \n`data/config.yaml` file. For example, here is a `List[Dictionary]` example format, which is\nequivalent to the default:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon:\n - { rel: \"shortcut icon\", href: \"icon.png\", type: \"image/png\" }\n# - { ... } # Repeat for each additional favicon you want to add\n```\n\nIn this format, the keys are identical to their HTML representations.\n\nIf you plan to add multiple favicons generated by a website (see list below), it\nmay be easier to define it as HTML. Here is an example which appends the \n**Apple touch icon** to Quartz's default favicon:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon: |\n \u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n \u003clink rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\"\u003e\n```\n\nThis second favicon will now be used as a web page icon when someone adds your \nwebpage to the home screen of their Apple device. If you are interested in more \ninformation about the current and past standards of favicons, you can read \n[this article](https://www.emergeinteractive.com/insights/detail/the-essentials-of-favicons/).\n\n**Note** that all generated favicon paths, defined by the `href` \nattribute, are relative to the `static/` directory.\n\n### Graph View\nTo customize the Interactive Graph view, you can poke around `data/graphConfig.yaml`.\n\n```yaml {title=\"data/graphConfig.yaml\"}\n# if true, a Global Graph will be shown on home page with full width, no backlink.\n# A different set of Local Graphs will be shown on sub pages.\n# if false, Local Graph will be default on every page as usual\nenableGlobalGraph: false\n\n### Local Graph ###\nlocalGraph:\n # whether automatically generate a legend\n enableLegend: false\n \n # whether to allow dragging nodes in the graph\n enableDrag: true\n \n # whether to allow zooming and panning the graph\n enableZoom: true\n \n # how many neighbours of the current node to show (-1 is all nodes)\n depth: 1\n \n # initial zoom factor of the graph\n scale: 1.2\n \n # how strongly nodes should repel each other\n repelForce: 2\n\n # how strongly should nodes be attracted to the center of gravity\n centerForce: 1\n\n # what the default link length should be\n linkDistance: 1\n \n # how big the node labels should be\n fontSize: 0.6\n \n # scale at which to start fading the labes on nodes\n opacityScale: 3\n\n### Global Graph ###\nglobalGraph:\n\t# same settings as above\n\n### For all graphs ###\n# colour specific nodes path off of their path\npaths:\n - /moc: \"#4388cc\"\n```\n\n\n## Styling\nWant to go even more in-depth? You can add custom CSS styling and change existing colours through editing `assets/styles/custom.scss`. If you'd like to target specific parts of the site, you can add ids and classes to the HTML partials in `/layouts/partials`. \n\n### Partials\nPartials are what dictate what gets rendered to the page. Want to change how pages are styled and structured? You can edit the appropriate layout in `/layouts`.\n\nFor example, the structure of the home page can be edited through `/layouts/index.html`. To customize the footer, you can edit `/layouts/partials/footer.html`\n\nMore info about partials on [Hugo's website.](https://gohugo.io/templates/partials/)\n\nStill having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n\n## Language Support\n[CJK + Latex Support (测试)](notes/CJK%20+%20Latex%20Support%20(测试).md) comes out of the box with Quartz.\n\nWant to support languages that read from right-to-left (like Arabic)? Hugo (and by proxy, Quartz) supports this natively.\n\nFollow the steps [Hugo provides here](https://gohugo.io/content-management/multilingual/#configure-languages) and modify your `config.toml`\n\nFor example:\n\n```toml\ndefaultContentLanguage = 'ar'\n[languages]\n [languages.ar]\n languagedirection = 'rtl'\n title = 'مدونتي'\n weight = 1\n```\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/custom-Domain":{"title":"Custom Domain","content":"\n### Registrar\nThis step is only applicable if you are using a **custom domain**! If you are using a `\u003cYOUR-USERNAME\u003e.github.io` domain, you can skip this step.\n\nFor this last bit to take effect, you also need to create a CNAME record with the DNS provider you register your domain with (i.e. NameCheap, Google Domains).\n\nGitHub has some [documentation on this](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site), but the tldr; is to\n\n1. Go to your forked repository (`github.com/\u003cYOUR-GITHUB-USERNAME\u003e/quartz`) settings page and go to the Pages tab. Under \"Custom domain\", type your custom domain, then click **Save**.\n2. Go to your DNS Provider and create a CNAME record that points from your domain to `\u003cYOUR-GITHUB-USERNAME.github.io.` (yes, with the trailing period).\n\n\t![Example Configuration for Quartz](/notes/images/google-domains.png)*Example Configuration for Quartz*\n3. Wait 30 minutes to an hour for the network changes to kick in.\n4. Done!","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/docker":{"title":"Hosting with Docker","content":"\nIf you want to host Quartz on a machine without using a webpage hosting service, it may be easier to [install Docker Compose](https://docs.docker.com/compose/install/) and follow the instructions below than to [install Quartz's dependencies manually](notes/preview%20changes.md).\n## Hosting Quartz Locally\nYou can serve Quartz locally at `http://localhost:1313` with the following script, replacing `/path/to/quartz` with the \nactual path to your Quartz folder.\n\ndocker-compose.yml\n```\nservices:\n quartz-hugo:\n image: ghcr.io/jackyzha0/quartz:hugo\n container_name: quartz-hugo\n volumes:\n - /path/to/quartz:/quartz\n ports:\n - 1313:1313\n\n # optional\n environment:\n - HUGO_BIND=0.0.0.0\n - HUGO_BASEURL=http://localhost\n - HUGO_PORT=1313\n - HUGO_APPENDPORT=true\n - HUGO_LIVERELOADPORT=-1\n```\n\nThen run with: `docker-compose up -d` in the same directory as your `docker-compose.yml` file.\n\nWhile the container is running, you can update the `quartz` fork with: `docker exec -it quartz-hugo make update`.\n\n## Exposing Your Container to the Internet\n\n### To Your Public IP Address with Port Forwarding (insecure)\n\nAssuming you are already familiar with [port forwarding](https://en.wikipedia.org/wiki/Port_forwarding) and [setting it up with your router model](https://portforward.com):\n\n1. You should set the environment variable `HUGO_BASEURL=http://your-public-ip` and then start your container.\n2. Set up port forwarding on your router from port `p` to `your-local-ip:1313`.\n3. You should now be able to access Quartz from outside your local network at `http://your-public-ip:p`.\n\nHowever, your HTTP connection will be unencrypted and **this method is not secure**.\n\n### To a Domain using Cloudflare Proxy\n\n1. Port forward 443 (HTTPS) from your machine.\n2. Buy a custom domain (say, `your-domain.com`) from [Cloudflare](https://www.cloudflare.com/products/registrar/). Point a DNS A record from `your-domain.com` to your public IP address and enable the proxy.\n3. Set the environment variables `HUGO_BASEURL=https://your-domain.com`, `HUGO_PORT=443`, and `HUGO_APPENDPORT=false`. Change `1313:1313` to `443:443` for the `ports` in `docker-compose.yml`.\n4. Spin up your Quartz container and enjoy it at `https://your-domain.com`!\n\n### To a Domain using a Reverse Proxy\n\nIf you want to serve more than just Quartz to the internet on this machine (or don't want to use the Cloudflare registrar and proxy), you should follow the steps in the section above (as appropriate) and also set up a reverse proxy, like [Traefik](https://doc.traefik.io/traefik). Be sure to configure your TLS certificates too!\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/editing":{"title":"Editing Content in Quartz","content":"\n## Editing \nQuartz runs on top of [Hugo](https://gohugo.io/) so all notes are written in [Markdown](https://www.markdownguide.org/getting-started/).\n\n### Folder Structure\nHere's a rough overview of what's what.\n\n**All content in your garden can found in the `/content` folder.** To make edits, you can open any of the files and make changes directly and save it. You can organize content into any folder you'd like.\n\n**To edit the main home page, open `/content/_index.md`.**\n\nTo create a link between notes in your garden, just create a normal link using Markdown pointing to the document in question. Please note that **all links should be relative to the root `/content` path**. \n\n```markdown\nFor example, I want to link this current document to `notes/config.md`.\n[A link to the config page](notes/config.md)\n```\n\nSimilarly, you can put local images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\nYou can also use wikilinks if that is what you are more comfortable with!\n\n### Front Matter\nHugo is picky when it comes to metadata for files. Make sure that your title is double-quoted and that you have a title defined at the top of your file like so. You can also add tags here as well.\n\n```yaml\n---\ntitle: \"Example Title\"\ntags:\n- example-tag\n---\n\nRest of your content here...\n```\n\n### Obsidian\nI recommend using [Obsidian](http://obsidian.md/) as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of your local files.\n\nThis step is **highly recommended**.\n\n\u003e 🔗 Step 3: [How to setup your Obsidian Vault to work with Quartz](notes/obsidian.md)\n\n## Previewing Changes\nThis 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.\n\n\u003e 👀 Step 4: [Preview Quartz Changes](notes/preview%20changes.md)\n\nFor those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing.\n\n## Publishing Changes\nNow that you know the basics of managing your digital garden using Quartz, you can publish it to the internet!\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/hosting":{"title":"Deploying Quartz to the Web","content":"\n## Hosting on GitHub Pages\nQuartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.\n\n### Enable GitHub Actions\nBy 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!\n\n![Enable GitHub Actions](notes/images/github-actions.png)*Enable GitHub Actions*\n\n### Enable GitHub Pages\n\nHead to the 'Settings' tab of your forked repository and go to the 'Pages' tab.\n\n1. (IMPORTANT) Set the source to deploy from `master` (and not `hugo`) using `/ (root)`\n2. Set a custom domain here if you have one!\n\n![Enable GitHub Pages](/notes/images/github-pages.png)*Enable GitHub Pages*\n\n### Pushing Changes\nTo 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.\n\n```shell\n# Navigate to Quartz folder\ncd \u003cpath-to-quartz\u003e\n\n# Commit all changes\ngit add .\ngit commit -m \"message describing changes\"\n\n# Push to GitHub to update site\ngit push origin hugo\n```\n\nNote: we specifically push to the `hugo` branch here. Our GitHub action automatically runs everytime a push to is detected to that branch and then updates the `master` branch for redeployment.\n\n### Setting up the Site\nNow let's get this site up and running. Never hosted a site before? No problem. Have a fancy custom domain you already own or want to subdomain your Quartz? That's easy too.\n\nHere, we take advantage of GitHub's free page hosting to deploy our site. Change `baseURL` in `/config.toml`. \n\nMake sure that your `baseURL` has a trailing `/`!\n\n[Reference `config.toml` here](https://github.com/jackyzha0/quartz/blob/hugo/config.toml)\n\n```toml\nbaseURL = \"https://\u003cYOUR-DOMAIN\u003e/\"\n```\n\nIf you are using this under a subdomain (e.g. `\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz`), include the trailing `/`. **You need to do this especially if you are using GitHub!**\n\n```toml\nbaseURL = \"https://\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz/\"\n```\n\nChange `cname` in `/.github/workflows/deploy.yaml`. Again, if you don't have a custom domain to use, you can use `\u003cYOUR-USERNAME\u003e.github.io`.\n\nPlease note that the `cname` field should *not* have any path `e.g. end with /quartz` or have a trailing `/`.\n\n[Reference `deploy.yaml` here](https://github.com/jackyzha0/quartz/blob/hugo/.github/workflows/deploy.yaml)\n\n```yaml {title=\".github/workflows/deploy.yaml\"}\n- name: Deploy \n uses: peaceiris/actions-gh-pages@v3 \n with: \n\tgithub_token: ${{ secrets.GITHUB_TOKEN }} # this can stay as is, GitHub fills this in for us!\n\tpublish_dir: ./public \n\tpublish_branch: master\n\tcname: \u003cYOUR-DOMAIN\u003e\n```\n\nHave a custom domain? [Learn how to set it up with Quartz ](notes/custom%20Domain.md).\n\n### Ignoring Files\nOnly want to publish a subset of all of your notes? Don't worry, Quartz makes this a simple two-step process.\n\n❌ [Excluding pages from being published](notes/ignore%20notes.md)\n\n## Docker Support\nIf you don't want to use a hosting service, you can host using [Docker](notes/docker.md) instead!\nI would *not use this method* unless you know what you are doing.\n\n---\n\nNow that your Quartz is live, let's figure out how to make Quartz really *yours*!\n\n\u003e Step 6: 🎨 [Customizing Quartz](notes/config.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/ignore-notes":{"title":"Ignoring Notes","content":"\n### Quartz Ignore\nEdit `ignoreFiles` in `config.toml` to include paths you'd like to exclude from being rendered.\n\n```toml\n...\nignoreFiles = [ \n \"/content/templates/*\", \n \"/content/private/*\", \n \"\u003cyour path here\u003e\"\n]\n```\n\n`ignoreFiles` supports the use of Regular Expressions (RegEx) so you can ignore patterns as well (e.g. ignoring all `.png`s by doing `\\\\.png$`).\nTo ignore a specific file, you can also add the tag `draft: true` to the frontmatter of a note.\n\n```markdown\n---\ntitle: Some Private Note\ndraft: true\n---\n...\n```\n\nMore details in [Hugo's documentation](https://gohugo.io/getting-started/configuration/#ignore-content-and-data-files-when-rendering).\n\n### Global Ignore\nHowever, just adding to the `ignoreFiles` will only prevent the page from being access through Quartz. If you want to prevent the file from being pushed to GitHub (for example if you have a public repository), you need to also add the path to the `.gitignore` file at the root of the repository.","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/obsidian":{"title":"Obsidian Vault Integration","content":"\n## Setup\nObsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.\n\n### New Vault\nIf 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.\n\n### Linking an existing Vault\nThe easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the `/content` folder.\n\n## Settings\nGreat, now that you have your Obsidian linked to your Quartz, let's fix some settings so that they play well.\n\nOpen Settings \u003e Files \u0026 Links and look for these two items:\n\n1. Set the **New link format** to **Absolute Path in vault**.\n2. Turn **on** the **Automatically update internal links** setting.\n\n![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*\n\n## Templates\nInserting 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.\n\n**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**\n\nHead over to Options \u003e Core Plugins and enable the Templates plugin. Then go to Options \u003e 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!\n\n\u003e 👀 Step 4: [Preview Quartz Changes](notes/preview%20changes.md)\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/philosophy":{"title":"Quartz Philosophy","content":"\n\u003e “[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming\n\n## Why Quartz?\nHosting a public digital garden isn't easy. There are an overwhelming number of tutorials, resources, and guides for tools like [Notion](https://www.notion.so/), [Roam](https://roamresearch.com/), and [Obsidian](https://obsidian.md/), yet none of them have super easy to use *free* tools to publish that garden to the world.\n\nI've personally found that\n1. It's nice to access notes from anywhere\n2. Having a public digital garden invites open conversations\n3. It makes keeping personal notes and knowledge *playful and fun*\n\nI was really inspired by [Bianca](https://garden.bianca.digital/) and [Joel](https://joelhooks.com/digital-garden)'s digital gardens and wanted to try making my own.\n\n**The goal of Quartz is to make hosting your own public digital garden free and simple.** You don't even need your own website. Quartz does all of that for you and gives your own little corner of the internet.\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/preview-changes":{"title":"Preview Changes","content":"\nIf you'd like to preview what your Quartz site looks like before deploying it to the internet, the following\ninstructions guide you through installing the proper dependencies to run it locally.\n\n\n## Install `hugo-obsidian`\nThis step will generate the list of backlinks for Hugo to parse. Ensure you have [Go](https://golang.org/doc/install) (\u003e= 1.16) installed.\n\n```bash\n# Install and link `hugo-obsidian` locally\ngo install github.com/jackyzha0/hugo-obsidian@latest\n```\n\nIf you are running into an error saying that `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.\n\nAfterwards, start the Hugo server as shown above and your local backlinks and interactive graph should be populated!\n\n## Installing Hugo\nHugo is the static site generator that powers Quartz. [Install Hugo with \"extended\" Sass/SCSS version](https://gohugo.io/getting-started/installing/) first. Then,\n\n```bash\n# Navigate to your local Quartz folder\ncd \u003clocation-of-your-local-quartz\u003e\n\n# Start local server\nmake serve\n\n# View your site in a browser at http://localhost:1313/\n```\n\n\u003e [!INFO] Docker Support\n\u003e\n\u003e If you have Docker installed already, open your terminal, navigate to your folder with Quartz and run `make docker`\n\nNow that you are happy with how your Quartz instance looks, let's get it hosted!\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/search":{"title":"Search","content":"\nQuartz supports two modes of searching through content.\n\n## Full-text\nFull-text search is the default in Quartz. It produces results that *exactly* match the search query. This is easier to setup but usually produces lower quality matches.\n\n```yaml {title=\"data/config.yaml\"}\n# the default option\nenableSemanticSearch: false\n```\n\n## Natural Language\nNatural language search is powered by [Operand](https://beta.operand.ai/). It understands language like a person does and finds results that best match user intent. In this sense, it is closer to how Google Search works.\n\nNatural language search tends to produce higher quality results than full-text search.\n\nHere's how to set it up.\n\n1. Login or Register for a new Operand account. Click the verification link sent to your email, and you'll be redirected to the dashboard. (Note) You do not need to enter a credit card to create an account, or get started with the Operand API. The first $10 of usage each month is free. To learn more, see pricing. If you go over your free quota, we'll (politely) reach out and ask you to configure billing.\n2. Create your first index. On the dashboard, under \"Indexes\", enter the name and description of your index, and click \"Create Index\". Note down the ID of the index (obtained by clicking on the index name in the list of indexes), as you'll need it in the next step. IDs are unique to each index, and look something like `uqv1duxxbdxu`.\n3. Click into the index you've created. Under \"Index Something\", select \"SITEMAP\" from the dropdown and click \"Add Source\".\n4. For the \"Sitemap.xml URL\", put your deployed site's base URL followed by `sitemap.xml`. For example, for `quartz.jzhao.xyz`, put `https://quartz.jzhao.xyz/sitemap.xml`. Leave the URL Regex empty. \n5. Get your API key. On the dashboard, under \"API Keys\", you can manage your API keys. If you don't already have an API key, click \"Create API Key\". You'll need this for the next step.\n6. Open `data/config.yaml`. Set `enableSemanticSearch` to `true`, `operandApiKey` to your copied key, and `operandIndexId` to the ID of the index we created from earlier..\n\n```yaml {title=\"data/config.yaml\"}\n# the default option\nsearch:\n enableSemanticSearch: true\n operandApiKey: \"jp9k5hudse2a828z98kxd6z3payi8u90rnjf\"\n operandIndexId: \"s0kf3bd6tldw\"\n```\n7. Push your changes to the site and wait for it to deploy.\n8. Check the Operand dashboard and wait for your site to index. Enjoy natural language search powered by Operand!\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/setup":{"title":"Setup","content":"\n## Making your own Quartz\nSetting up Quartz requires a basic understanding of `git`. If you are unfamiliar, [this resource](https://resources.nwplus.io/2-beginner/how-to-git-github.html) is a great place to start!\n\n### Forking\n\u003e A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.\n\nNavigate to the GitHub repository for the Quartz project:\n\n📁 [Quartz Repository](https://github.com/jackyzha0/quartz)\n\nThen, Fork the repository into your own GitHub account. If you don't have an account, you can make on for free [here](https://github.com/join). More details about forking a repo can be found on [GitHub's documentation](https://docs.github.com/en/get-started/quickstart/fork-a-repo).\n\n### Cloning\nAfter you've made a fork of the repository, you need to download the files locally onto your machine. Ensure you have `git`, then type the following command replacing `YOUR-USERNAME` with your GitHub username.\n\n```shell\ngit clone https://github.com/YOUR-USERNAME/quartz\n```\n\n## Editing\nGreat! 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.\n\n\u003e ✏️ Step 2: [Editing Notes in Quartz](notes/editing.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/showcase":{"title":"Showcase","content":"\nWant to see what Quartz can do? Here are some cool community gardens :)\n\n- [Quartz Documentation (this site!)](https://quartz.jzhao.xyz/)\n- [Jacky Zhao's Garden](https://jzhao.xyz/)\n- [Scaling Synthesis - A hypertext research notebook](https://scalingsynthesis.com/)\n- [AWAGMI Intern Notes](https://notes.awagmi.xyz/)\n- [Shihyu's PKM](https://shihyuho.github.io/pkm/)\n- [SlRvb's Site](https://slrvb.github.io/Site/)\n- [Course notes for Information Technology Advanced Theory](https://a2itnotes.github.io/quartz/)\n- [Brandon Boswell's Garden](https://brandonkboswell.com)\n- [Siyang's Courtyard](https://siyangsun.github.io/courtyard/)\n- [Data Dictionary 🧠](https://glossary.airbyte.com/)\n- [sspaeti.com's Second Brain](https://brain.sspaeti.com/)\n- [oldwinterの数字花园](https://garden.oldwinter.top/)\n- [SethMB Work](https://sethmb.xyz/)\n- [Abhijeet's Math Wiki](https://abhmul.github.io/quartz/Math-Wiki/)\n\nIf you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/hugo/content/notes/showcase.md)!\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/troubleshooting":{"title":"Troubleshooting and FAQ","content":"\nStill having trouble? Here are a list of common questions and problems people encounter when installing Quartz.\n\nWhile you're here, join our [Discord](https://discord.gg/cRFFHYye7t) :)\n\n### Does Quartz have Latex support?\nYes! See [CJK + Latex Support (测试)](notes/CJK%20+%20Latex%20Support%20(测试).md) for a brief demo.\n\n### Can I use \\\u003cObsidian Plugin\\\u003e in Quartz?\nUnless it produces direct Markdown output in the file, no. There currently is no way to bundle plugin code with Quartz.\n\nThe easiest way would be to add your own HTML partial that supports the functionality you are looking for.\n\n### My GitHub pages is just showing the README and not Quartz\nMake sure you set the source to deploy from `master` (and not `hugo`) using `/ (root)`! See more in the [hosting](/notes/hosting) guide\n\n### Some of my pages have 'January 1, 0001' as the last modified date\nThis 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.\n\n```shell\n# in the root of your Quartz (same folder as config.toml)\ngit config core.ignorecase true\n\n# or globally (not recommended)\ngit config --global core.ignorecase true\n```\n\n### Can I publish only a subset of my pages?\nYes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](notes/ignore%20notes.md).\n\n### Can I host this myself and not on GitHub Pages?\nYes! All built files can be found under `/public` in the `master` branch. More details under [hosting](notes/hosting.md).\n\n### `command not found: hugo-obsidian`\nMake sure you set your `GOPATH` correctly! This will allow your terminal to correctly recognize `hugo-obsidian` as an executable.\n\n```shell\n# Add the following 2 lines to your ~/.bash_profile\nexport GOPATH=/Users/$USER/go\nexport PATH=$GOPATH/bin:$PATH\n\n# In your current terminal, to reload the session\nsource ~/.bash_profile\n```\n\n### How come my notes aren't being rendered?\nYou 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).\n\n### My custom domain isn't working!\nWalk 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.\n\n### How do I setup analytics?\nQuartz by default uses [Plausible](https://plausible.io/) for analytics. \n\nIf you would prefer to use Google Analytics, you can follow this [guide in the Hugo documentation](https://gohugo.io/templates/internal/#google-analytics). \n\nAlternatively, you can also import your Google Analytics data into Plausible by [following this guide](https://plausible.io/docs/google-analytics-import).\n\n\n### How do I change the content on the home page?\nTo edit the main home page, open `/content/_index.md`.\n\n### How do I change the colours?\nYou 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).\n\n### How do I add images?\nYou can put images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\n### My Interactive Graph and Backlinks aren't up to date\nBy 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)\n\n### Can I use React/Vue/some other framework?\nNot 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.\n\n## Still Stuck?\nQuartz isn't perfect! If you're still having troubles, file an issue in the GitHub repo with as much information as you can reasonably provide. Alternatively, you can message me on [Twitter](https://twitter.com/_jzhao) and I'll try to get back to you as soon as I can.\n\n🐛 [Submit an Issue](https://github.com/jackyzha0/quartz/issues)\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null},"/notes/updating":{"title":"Updating","content":"\nHaven't updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! This command will show you a log summary of all commits since you last updated, press `q` to acknowledge this. Then, it will show you each change in turn and press `y` to accept the patch or `n` to reject it. Usually you should press `y` for most of these unless it conflicts with existing changes you've made! \n\n```shell\nmake update\n```\n\nOr, if you don't want the interactive parts and just want to force update your local garden (this assumed that you are okay with some of your personalizations been overriden!)\n\n```shell\nmake update-force\n```\n\nOr, manually checkout the changes yourself.\n\n\u003e [!warning] Warning!\n\u003e\n\u003e If you customized the files in `data/`, or anything inside `layouts/`, your customization may be overwritten!\n\u003e Make sure you have a copy of these changes if you don't want to lose them.\n\n\n```shell\n# add Quartz as a remote host\ngit remote add upstream git@github.com:jackyzha0/quartz.git\n\n# index and fetch changes\ngit fetch upstream\ngit checkout -p upstream/hugo -- layouts .github Makefile assets/js assets/styles/base.scss assets/styles/darkmode.scss config.toml data \n```\n","lastmodified":"2023-02-23T09:42:21.465395826Z","tags":null}} \ No newline at end of file +{"/":{"title":"falsycat archive","content":"\n調べたことをまとめていく","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95":{"title":"CJK + Latex Support (测试)","content":"\n## Chinese, Japanese, Korean Support\n几乎在我们意识到之前,我们已经离开了地面。\n\n우리가 그것을 알기도 전에 우리는 땅을 떠났습니다.\n\n私たちがそれを知るほぼ前に、私たちは地面を離れていました。\n\n## Latex\n\nBlock math works with two dollar signs `$$...$$`\n\n$$f(x) = \\int_{-\\infty}^\\infty\n f\\hat(\\xi),e^{2 \\pi i \\xi x}\n \\,d\\xi$$\n\t\nInline math also works with single dollar signs `$...$`. For example, Euler's identity but inline: $e^{i\\pi} = -1$\n\nAligned equations work quite well:\n\n$$\n\\begin{aligned}\na \u0026= b + c \\\\ \u0026= e + f \\\\\n\\end{aligned}\n$$\n\nAnd matrices\n\n$$\n\\begin{bmatrix}\n1 \u0026 2 \u0026 3 \\\\\na \u0026 b \u0026 c\n\\end{bmatrix}\n$$\n\n## RTL\nMore information on configuring RTL languages like Arabic in the [config](notes/config.md) page.\n","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/callouts":{"title":"Callouts","content":"\n## Callout support\n\nQuartz supports the same Admonition-callout syntax as Obsidian.\n\nThis includes\n- 12 Distinct callout types (each with several aliases)\n- Collapsable callouts\n\nSee [documentation on supported types and syntax here](https://help.obsidian.md/How+to/Use+callouts#Types).\n\n## Showcase\n\n\u003e [!EXAMPLE] Examples\n\u003e\n\u003e Aliases: example\n\n\u003e [!note] Notes\n\u003e\n\u003e Aliases: note\n\n\u003e [!abstract] Summaries \n\u003e\n\u003e Aliases: abstract, summary, tldr\n\n\u003e [!info] Info \n\u003e\n\u003e Aliases: info, todo\n\n\u003e [!tip] Hint \n\u003e\n\u003e Aliases: tip, hint, important\n\n\u003e [!success] Success \n\u003e\n\u003e Aliases: success, check, done\n\n\u003e [!question] Question \n\u003e\n\u003e Aliases: question, help, faq\n\n\u003e [!warning] Warning \n\u003e\n\u003e Aliases: warning, caution, attention\n\n\u003e [!failure] Failure \n\u003e\n\u003e Aliases: failure, fail, missing\n\n\u003e [!danger] Error\n\u003e\n\u003e Aliases: danger, error\n\n\u003e [!bug] Bug\n\u003e\n\u003e Aliases: bug\n\n\u003e [!quote] Quote\n\u003e\n\u003e Aliases: quote, cite\n","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/config":{"title":"Configuration","content":"\n## Configuration\nQuartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you'd like to get.\n\nThe majority of configuration can be found under `data/config.yaml`. An annotated example configuration is shown below.\n\n```yaml {title=\"data/config.yaml\"}\n# The name to display in the footer\nname: Jacky Zhao\n\n# whether to globally show the table of contents on each page\n# this can be turned off on a per-page basis by adding this to the\n# front-matter of that note\nenableToc: true\n\n# whether to by-default open or close the table of contents on each page\nopenToc: false\n\n# whether to display on-hover link preview cards\nenableLinkPreview: true\n\n# whether to render titles for code blocks\nenableCodeBlockTitle: true \n\n# whether to render copy buttons for code blocks\nenableCodeBlockCopy: true \n\n# whether to render callouts\nenableCallouts: true\n\n# whether to try to process Latex\nenableLatex: true\n\n# whether to enable single-page-app style rendering\n# this prevents flashes of unstyled content and improves\n# smoothness of Quartz. More info in issue #109 on GitHub\nenableSPA: true\n\n# whether to render a footer\nenableFooter: true\n\n# whether backlinks of pages should show the context in which\n# they were mentioned\nenableContextualBacklinks: true\n\n# whether to show a section of recent notes on the home page\nenableRecentNotes: false\n\n# whether to display an 'edit' button next to the last edited field\n# that links to github\nenableGitHubEdit: true\nGitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content\n\n# whether to render mermaid diagrams\nenableMermaid: true\n\n# whether to use Operand to power semantic search\n# IMPORTANT: replace this API key with your own if you plan on using\n# Operand search!\nsearch:\n enableSemanticSearch: false\n operandApiKey: \"REPLACE-WITH-YOUR-OPERAND-API-KEY\"\n operandIndexId: \"REPLACE-WITH-YOUR-OPERAND-INDEX-ID\"\n\n# page description used for SEO\ndescription:\n Host your second brain and digital garden for free. Quartz features extremely fast full-text search,\n Wikilink support, backlinks, local graph, tags, and link previews.\n\n# title of the home page (also for SEO)\npage_title:\n \"🪴 Quartz 3.3\"\n\n# links to show in the footer\nlinks:\n - link_name: Twitter\n link: https://twitter.com/_jzhao\n - link_name: Github\n link: https://github.com/jackyzha0\n```\n\n### Code Block Titles\nTo add code block titles with Quartz:\n\n1. Ensure that code block titles are enabled in Quartz's configuration:\n\n ```yaml {title=\"data/config.yaml\", linenos=false}\n enableCodeBlockTitle: true\n ```\n\n2. Add the `title` attribute to the desired [code block\n fence](https://gohugo.io/content-management/syntax-highlighting/#highlighting-in-code-fences):\n\n ```markdown {linenos=false}\n ```yaml {title=\"data/config.yaml\"}\n enableCodeBlockTitle: true # example from step 1\n ```\n ```\n\n**Note** that if `{title=\u003cmy-title\u003e}` is included, and code block titles are not\nenabled, no errors will occur, and the title attribute will be ignored.\n\n### HTML Favicons\nIf you would like to customize the favicons of your Quartz-based website, you \ncan add them to the `data/config.yaml` file. The **default** without any set \n`favicon` key is:\n\n```html {title=\"layouts/partials/head.html\", linenostart=15}\n\u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n```\n\nThe default can be overridden by defining a value to the `favicon` key in your \n`data/config.yaml` file. For example, here is a `List[Dictionary]` example format, which is\nequivalent to the default:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon:\n - { rel: \"shortcut icon\", href: \"icon.png\", type: \"image/png\" }\n# - { ... } # Repeat for each additional favicon you want to add\n```\n\nIn this format, the keys are identical to their HTML representations.\n\nIf you plan to add multiple favicons generated by a website (see list below), it\nmay be easier to define it as HTML. Here is an example which appends the \n**Apple touch icon** to Quartz's default favicon:\n\n```yaml {title=\"data/config.yaml\", linenos=false}\nfavicon: |\n \u003clink rel=\"shortcut icon\" href=\"icon.png\" type=\"image/png\"\u003e\n \u003clink rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\"\u003e\n```\n\nThis second favicon will now be used as a web page icon when someone adds your \nwebpage to the home screen of their Apple device. If you are interested in more \ninformation about the current and past standards of favicons, you can read \n[this article](https://www.emergeinteractive.com/insights/detail/the-essentials-of-favicons/).\n\n**Note** that all generated favicon paths, defined by the `href` \nattribute, are relative to the `static/` directory.\n\n### Graph View\nTo customize the Interactive Graph view, you can poke around `data/graphConfig.yaml`.\n\n```yaml {title=\"data/graphConfig.yaml\"}\n# if true, a Global Graph will be shown on home page with full width, no backlink.\n# A different set of Local Graphs will be shown on sub pages.\n# if false, Local Graph will be default on every page as usual\nenableGlobalGraph: false\n\n### Local Graph ###\nlocalGraph:\n # whether automatically generate a legend\n enableLegend: false\n \n # whether to allow dragging nodes in the graph\n enableDrag: true\n \n # whether to allow zooming and panning the graph\n enableZoom: true\n \n # how many neighbours of the current node to show (-1 is all nodes)\n depth: 1\n \n # initial zoom factor of the graph\n scale: 1.2\n \n # how strongly nodes should repel each other\n repelForce: 2\n\n # how strongly should nodes be attracted to the center of gravity\n centerForce: 1\n\n # what the default link length should be\n linkDistance: 1\n \n # how big the node labels should be\n fontSize: 0.6\n \n # scale at which to start fading the labes on nodes\n opacityScale: 3\n\n### Global Graph ###\nglobalGraph:\n\t# same settings as above\n\n### For all graphs ###\n# colour specific nodes path off of their path\npaths:\n - /moc: \"#4388cc\"\n```\n\n\n## Styling\nWant to go even more in-depth? You can add custom CSS styling and change existing colours through editing `assets/styles/custom.scss`. If you'd like to target specific parts of the site, you can add ids and classes to the HTML partials in `/layouts/partials`. \n\n### Partials\nPartials are what dictate what gets rendered to the page. Want to change how pages are styled and structured? You can edit the appropriate layout in `/layouts`.\n\nFor example, the structure of the home page can be edited through `/layouts/index.html`. To customize the footer, you can edit `/layouts/partials/footer.html`\n\nMore info about partials on [Hugo's website.](https://gohugo.io/templates/partials/)\n\nStill having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n\n## Language Support\n[CJK + Latex Support (测试)](notes/CJK%20+%20Latex%20Support%20(测试).md) comes out of the box with Quartz.\n\nWant to support languages that read from right-to-left (like Arabic)? Hugo (and by proxy, Quartz) supports this natively.\n\nFollow the steps [Hugo provides here](https://gohugo.io/content-management/multilingual/#configure-languages) and modify your `config.toml`\n\nFor example:\n\n```toml\ndefaultContentLanguage = 'ar'\n[languages]\n [languages.ar]\n languagedirection = 'rtl'\n title = 'مدونتي'\n weight = 1\n```\n","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/custom-Domain":{"title":"Custom Domain","content":"\n### Registrar\nThis step is only applicable if you are using a **custom domain**! If you are using a `\u003cYOUR-USERNAME\u003e.github.io` domain, you can skip this step.\n\nFor this last bit to take effect, you also need to create a CNAME record with the DNS provider you register your domain with (i.e. NameCheap, Google Domains).\n\nGitHub has some [documentation on this](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site), but the tldr; is to\n\n1. Go to your forked repository (`github.com/\u003cYOUR-GITHUB-USERNAME\u003e/quartz`) settings page and go to the Pages tab. Under \"Custom domain\", type your custom domain, then click **Save**.\n2. Go to your DNS Provider and create a CNAME record that points from your domain to `\u003cYOUR-GITHUB-USERNAME.github.io.` (yes, with the trailing period).\n\n\t![Example Configuration for Quartz](/notes/images/google-domains.png)*Example Configuration for Quartz*\n3. Wait 30 minutes to an hour for the network changes to kick in.\n4. Done!","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/docker":{"title":"Hosting with Docker","content":"\nIf you want to host Quartz on a machine without using a webpage hosting service, it may be easier to [install Docker Compose](https://docs.docker.com/compose/install/) and follow the instructions below than to [install Quartz's dependencies manually](notes/preview%20changes.md).\n## Hosting Quartz Locally\nYou can serve Quartz locally at `http://localhost:1313` with the following script, replacing `/path/to/quartz` with the \nactual path to your Quartz folder.\n\ndocker-compose.yml\n```\nservices:\n quartz-hugo:\n image: ghcr.io/jackyzha0/quartz:hugo\n container_name: quartz-hugo\n volumes:\n - /path/to/quartz:/quartz\n ports:\n - 1313:1313\n\n # optional\n environment:\n - HUGO_BIND=0.0.0.0\n - HUGO_BASEURL=http://localhost\n - HUGO_PORT=1313\n - HUGO_APPENDPORT=true\n - HUGO_LIVERELOADPORT=-1\n```\n\nThen run with: `docker-compose up -d` in the same directory as your `docker-compose.yml` file.\n\nWhile the container is running, you can update the `quartz` fork with: `docker exec -it quartz-hugo make update`.\n\n## Exposing Your Container to the Internet\n\n### To Your Public IP Address with Port Forwarding (insecure)\n\nAssuming you are already familiar with [port forwarding](https://en.wikipedia.org/wiki/Port_forwarding) and [setting it up with your router model](https://portforward.com):\n\n1. You should set the environment variable `HUGO_BASEURL=http://your-public-ip` and then start your container.\n2. Set up port forwarding on your router from port `p` to `your-local-ip:1313`.\n3. You should now be able to access Quartz from outside your local network at `http://your-public-ip:p`.\n\nHowever, your HTTP connection will be unencrypted and **this method is not secure**.\n\n### To a Domain using Cloudflare Proxy\n\n1. Port forward 443 (HTTPS) from your machine.\n2. Buy a custom domain (say, `your-domain.com`) from [Cloudflare](https://www.cloudflare.com/products/registrar/). Point a DNS A record from `your-domain.com` to your public IP address and enable the proxy.\n3. Set the environment variables `HUGO_BASEURL=https://your-domain.com`, `HUGO_PORT=443`, and `HUGO_APPENDPORT=false`. Change `1313:1313` to `443:443` for the `ports` in `docker-compose.yml`.\n4. Spin up your Quartz container and enjoy it at `https://your-domain.com`!\n\n### To a Domain using a Reverse Proxy\n\nIf you want to serve more than just Quartz to the internet on this machine (or don't want to use the Cloudflare registrar and proxy), you should follow the steps in the section above (as appropriate) and also set up a reverse proxy, like [Traefik](https://doc.traefik.io/traefik). Be sure to configure your TLS certificates too!\n","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/editing":{"title":"Editing Content in Quartz","content":"\n## Editing \nQuartz runs on top of [Hugo](https://gohugo.io/) so all notes are written in [Markdown](https://www.markdownguide.org/getting-started/).\n\n### Folder Structure\nHere's a rough overview of what's what.\n\n**All content in your garden can found in the `/content` folder.** To make edits, you can open any of the files and make changes directly and save it. You can organize content into any folder you'd like.\n\n**To edit the main home page, open `/content/_index.md`.**\n\nTo create a link between notes in your garden, just create a normal link using Markdown pointing to the document in question. Please note that **all links should be relative to the root `/content` path**. \n\n```markdown\nFor example, I want to link this current document to `notes/config.md`.\n[A link to the config page](notes/config.md)\n```\n\nSimilarly, you can put local images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\nYou can also use wikilinks if that is what you are more comfortable with!\n\n### Front Matter\nHugo is picky when it comes to metadata for files. Make sure that your title is double-quoted and that you have a title defined at the top of your file like so. You can also add tags here as well.\n\n```yaml\n---\ntitle: \"Example Title\"\ntags:\n- example-tag\n---\n\nRest of your content here...\n```\n\n### Obsidian\nI recommend using [Obsidian](http://obsidian.md/) as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of your local files.\n\nThis step is **highly recommended**.\n\n\u003e 🔗 Step 3: [How to setup your Obsidian Vault to work with Quartz](notes/obsidian.md)\n\n## Previewing Changes\nThis 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.\n\n\u003e 👀 Step 4: [Preview Quartz Changes](notes/preview%20changes.md)\n\nFor those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing.\n\n## Publishing Changes\nNow that you know the basics of managing your digital garden using Quartz, you can publish it to the internet!\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/hosting":{"title":"Deploying Quartz to the Web","content":"\n## Hosting on GitHub Pages\nQuartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.\n\n### Enable GitHub Actions\nBy 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!\n\n![Enable GitHub Actions](notes/images/github-actions.png)*Enable GitHub Actions*\n\n### Enable GitHub Pages\n\nHead to the 'Settings' tab of your forked repository and go to the 'Pages' tab.\n\n1. (IMPORTANT) Set the source to deploy from `master` (and not `hugo`) using `/ (root)`\n2. Set a custom domain here if you have one!\n\n![Enable GitHub Pages](/notes/images/github-pages.png)*Enable GitHub Pages*\n\n### Pushing Changes\nTo 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.\n\n```shell\n# Navigate to Quartz folder\ncd \u003cpath-to-quartz\u003e\n\n# Commit all changes\ngit add .\ngit commit -m \"message describing changes\"\n\n# Push to GitHub to update site\ngit push origin hugo\n```\n\nNote: we specifically push to the `hugo` branch here. Our GitHub action automatically runs everytime a push to is detected to that branch and then updates the `master` branch for redeployment.\n\n### Setting up the Site\nNow let's get this site up and running. Never hosted a site before? No problem. Have a fancy custom domain you already own or want to subdomain your Quartz? That's easy too.\n\nHere, we take advantage of GitHub's free page hosting to deploy our site. Change `baseURL` in `/config.toml`. \n\nMake sure that your `baseURL` has a trailing `/`!\n\n[Reference `config.toml` here](https://github.com/jackyzha0/quartz/blob/hugo/config.toml)\n\n```toml\nbaseURL = \"https://\u003cYOUR-DOMAIN\u003e/\"\n```\n\nIf you are using this under a subdomain (e.g. `\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz`), include the trailing `/`. **You need to do this especially if you are using GitHub!**\n\n```toml\nbaseURL = \"https://\u003cYOUR-GITHUB-USERNAME\u003e.github.io/quartz/\"\n```\n\nChange `cname` in `/.github/workflows/deploy.yaml`. Again, if you don't have a custom domain to use, you can use `\u003cYOUR-USERNAME\u003e.github.io`.\n\nPlease note that the `cname` field should *not* have any path `e.g. end with /quartz` or have a trailing `/`.\n\n[Reference `deploy.yaml` here](https://github.com/jackyzha0/quartz/blob/hugo/.github/workflows/deploy.yaml)\n\n```yaml {title=\".github/workflows/deploy.yaml\"}\n- name: Deploy \n uses: peaceiris/actions-gh-pages@v3 \n with: \n\tgithub_token: ${{ secrets.GITHUB_TOKEN }} # this can stay as is, GitHub fills this in for us!\n\tpublish_dir: ./public \n\tpublish_branch: master\n\tcname: \u003cYOUR-DOMAIN\u003e\n```\n\nHave a custom domain? [Learn how to set it up with Quartz ](notes/custom%20Domain.md).\n\n### Ignoring Files\nOnly want to publish a subset of all of your notes? Don't worry, Quartz makes this a simple two-step process.\n\n❌ [Excluding pages from being published](notes/ignore%20notes.md)\n\n## Docker Support\nIf you don't want to use a hosting service, you can host using [Docker](notes/docker.md) instead!\nI would *not use this method* unless you know what you are doing.\n\n---\n\nNow that your Quartz is live, let's figure out how to make Quartz really *yours*!\n\n\u003e Step 6: 🎨 [Customizing Quartz](notes/config.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/ignore-notes":{"title":"Ignoring Notes","content":"\n### Quartz Ignore\nEdit `ignoreFiles` in `config.toml` to include paths you'd like to exclude from being rendered.\n\n```toml\n...\nignoreFiles = [ \n \"/content/templates/*\", \n \"/content/private/*\", \n \"\u003cyour path here\u003e\"\n]\n```\n\n`ignoreFiles` supports the use of Regular Expressions (RegEx) so you can ignore patterns as well (e.g. ignoring all `.png`s by doing `\\\\.png$`).\nTo ignore a specific file, you can also add the tag `draft: true` to the frontmatter of a note.\n\n```markdown\n---\ntitle: Some Private Note\ndraft: true\n---\n...\n```\n\nMore details in [Hugo's documentation](https://gohugo.io/getting-started/configuration/#ignore-content-and-data-files-when-rendering).\n\n### Global Ignore\nHowever, just adding to the `ignoreFiles` will only prevent the page from being access through Quartz. If you want to prevent the file from being pushed to GitHub (for example if you have a public repository), you need to also add the path to the `.gitignore` file at the root of the repository.","lastmodified":"2023-02-23T09:46:31.421422322Z","tags":null},"/notes/obsidian":{"title":"Obsidian Vault Integration","content":"\n## Setup\nObsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.\n\n### New Vault\nIf 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.\n\n### Linking an existing Vault\nThe easiest way to use an existing Vault is to copy all of your files (directory and hierarchies intact) into the `/content` folder.\n\n## Settings\nGreat, now that you have your Obsidian linked to your Quartz, let's fix some settings so that they play well.\n\nOpen Settings \u003e Files \u0026 Links and look for these two items:\n\n1. Set the **New link format** to **Absolute Path in vault**.\n2. Turn **on** the **Automatically update internal links** setting.\n\n![Obsidian Settings](/notes/images/obsidian-settings.png)*Obsidian Settings*\n\n## Templates\nInserting 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.\n\n**If you decide to overwrite the `/content` folder completely, don't remove the `/content/templates` folder!**\n\nHead over to Options \u003e Core Plugins and enable the Templates plugin. Then go to Options \u003e 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!\n\n\u003e 👀 Step 4: [Preview Quartz Changes](notes/preview%20changes.md)\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null},"/notes/philosophy":{"title":"Quartz Philosophy","content":"\n\u003e “[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming\n\n## Why Quartz?\nHosting a public digital garden isn't easy. There are an overwhelming number of tutorials, resources, and guides for tools like [Notion](https://www.notion.so/), [Roam](https://roamresearch.com/), and [Obsidian](https://obsidian.md/), yet none of them have super easy to use *free* tools to publish that garden to the world.\n\nI've personally found that\n1. It's nice to access notes from anywhere\n2. Having a public digital garden invites open conversations\n3. It makes keeping personal notes and knowledge *playful and fun*\n\nI was really inspired by [Bianca](https://garden.bianca.digital/) and [Joel](https://joelhooks.com/digital-garden)'s digital gardens and wanted to try making my own.\n\n**The goal of Quartz is to make hosting your own public digital garden free and simple.** You don't even need your own website. Quartz does all of that for you and gives your own little corner of the internet.\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null},"/notes/preview-changes":{"title":"Preview Changes","content":"\nIf you'd like to preview what your Quartz site looks like before deploying it to the internet, the following\ninstructions guide you through installing the proper dependencies to run it locally.\n\n\n## Install `hugo-obsidian`\nThis step will generate the list of backlinks for Hugo to parse. Ensure you have [Go](https://golang.org/doc/install) (\u003e= 1.16) installed.\n\n```bash\n# Install and link `hugo-obsidian` locally\ngo install github.com/jackyzha0/hugo-obsidian@latest\n```\n\nIf you are running into an error saying that `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.\n\nAfterwards, start the Hugo server as shown above and your local backlinks and interactive graph should be populated!\n\n## Installing Hugo\nHugo is the static site generator that powers Quartz. [Install Hugo with \"extended\" Sass/SCSS version](https://gohugo.io/getting-started/installing/) first. Then,\n\n```bash\n# Navigate to your local Quartz folder\ncd \u003clocation-of-your-local-quartz\u003e\n\n# Start local server\nmake serve\n\n# View your site in a browser at http://localhost:1313/\n```\n\n\u003e [!INFO] Docker Support\n\u003e\n\u003e If you have Docker installed already, open your terminal, navigate to your folder with Quartz and run `make docker`\n\nNow that you are happy with how your Quartz instance looks, let's get it hosted!\n\n\u003e 🌍 Step 5: [Hosting Quartz online!](notes/hosting.md)\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null},"/notes/search":{"title":"Search","content":"\nQuartz supports two modes of searching through content.\n\n## Full-text\nFull-text search is the default in Quartz. It produces results that *exactly* match the search query. This is easier to setup but usually produces lower quality matches.\n\n```yaml {title=\"data/config.yaml\"}\n# the default option\nenableSemanticSearch: false\n```\n\n## Natural Language\nNatural language search is powered by [Operand](https://beta.operand.ai/). It understands language like a person does and finds results that best match user intent. In this sense, it is closer to how Google Search works.\n\nNatural language search tends to produce higher quality results than full-text search.\n\nHere's how to set it up.\n\n1. Login or Register for a new Operand account. Click the verification link sent to your email, and you'll be redirected to the dashboard. (Note) You do not need to enter a credit card to create an account, or get started with the Operand API. The first $10 of usage each month is free. To learn more, see pricing. If you go over your free quota, we'll (politely) reach out and ask you to configure billing.\n2. Create your first index. On the dashboard, under \"Indexes\", enter the name and description of your index, and click \"Create Index\". Note down the ID of the index (obtained by clicking on the index name in the list of indexes), as you'll need it in the next step. IDs are unique to each index, and look something like `uqv1duxxbdxu`.\n3. Click into the index you've created. Under \"Index Something\", select \"SITEMAP\" from the dropdown and click \"Add Source\".\n4. For the \"Sitemap.xml URL\", put your deployed site's base URL followed by `sitemap.xml`. For example, for `quartz.jzhao.xyz`, put `https://quartz.jzhao.xyz/sitemap.xml`. Leave the URL Regex empty. \n5. Get your API key. On the dashboard, under \"API Keys\", you can manage your API keys. If you don't already have an API key, click \"Create API Key\". You'll need this for the next step.\n6. Open `data/config.yaml`. Set `enableSemanticSearch` to `true`, `operandApiKey` to your copied key, and `operandIndexId` to the ID of the index we created from earlier..\n\n```yaml {title=\"data/config.yaml\"}\n# the default option\nsearch:\n enableSemanticSearch: true\n operandApiKey: \"jp9k5hudse2a828z98kxd6z3payi8u90rnjf\"\n operandIndexId: \"s0kf3bd6tldw\"\n```\n7. Push your changes to the site and wait for it to deploy.\n8. Check the Operand dashboard and wait for your site to index. Enjoy natural language search powered by Operand!\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null},"/notes/setup":{"title":"Setup","content":"\n## Making your own Quartz\nSetting up Quartz requires a basic understanding of `git`. If you are unfamiliar, [this resource](https://resources.nwplus.io/2-beginner/how-to-git-github.html) is a great place to start!\n\n### Forking\n\u003e A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.\n\nNavigate to the GitHub repository for the Quartz project:\n\n📁 [Quartz Repository](https://github.com/jackyzha0/quartz)\n\nThen, Fork the repository into your own GitHub account. If you don't have an account, you can make on for free [here](https://github.com/join). More details about forking a repo can be found on [GitHub's documentation](https://docs.github.com/en/get-started/quickstart/fork-a-repo).\n\n### Cloning\nAfter you've made a fork of the repository, you need to download the files locally onto your machine. Ensure you have `git`, then type the following command replacing `YOUR-USERNAME` with your GitHub username.\n\n```shell\ngit clone https://github.com/YOUR-USERNAME/quartz\n```\n\n## Editing\nGreat! 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.\n\n\u003e ✏️ Step 2: [Editing Notes in Quartz](notes/editing.md)\n\nHaving problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null},"/notes/showcase":{"title":"Showcase","content":"\nWant to see what Quartz can do? Here are some cool community gardens :)\n\n- [Quartz Documentation (this site!)](https://quartz.jzhao.xyz/)\n- [Jacky Zhao's Garden](https://jzhao.xyz/)\n- [Scaling Synthesis - A hypertext research notebook](https://scalingsynthesis.com/)\n- [AWAGMI Intern Notes](https://notes.awagmi.xyz/)\n- [Shihyu's PKM](https://shihyuho.github.io/pkm/)\n- [SlRvb's Site](https://slrvb.github.io/Site/)\n- [Course notes for Information Technology Advanced Theory](https://a2itnotes.github.io/quartz/)\n- [Brandon Boswell's Garden](https://brandonkboswell.com)\n- [Siyang's Courtyard](https://siyangsun.github.io/courtyard/)\n- [Data Dictionary 🧠](https://glossary.airbyte.com/)\n- [sspaeti.com's Second Brain](https://brain.sspaeti.com/)\n- [oldwinterの数字花园](https://garden.oldwinter.top/)\n- [SethMB Work](https://sethmb.xyz/)\n- [Abhijeet's Math Wiki](https://abhmul.github.io/quartz/Math-Wiki/)\n\nIf you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/hugo/content/notes/showcase.md)!\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null},"/notes/troubleshooting":{"title":"Troubleshooting and FAQ","content":"\nStill having trouble? Here are a list of common questions and problems people encounter when installing Quartz.\n\nWhile you're here, join our [Discord](https://discord.gg/cRFFHYye7t) :)\n\n### Does Quartz have Latex support?\nYes! See [CJK + Latex Support (测试)](notes/CJK%20+%20Latex%20Support%20(测试).md) for a brief demo.\n\n### Can I use \\\u003cObsidian Plugin\\\u003e in Quartz?\nUnless it produces direct Markdown output in the file, no. There currently is no way to bundle plugin code with Quartz.\n\nThe easiest way would be to add your own HTML partial that supports the functionality you are looking for.\n\n### My GitHub pages is just showing the README and not Quartz\nMake sure you set the source to deploy from `master` (and not `hugo`) using `/ (root)`! See more in the [hosting](/notes/hosting) guide\n\n### Some of my pages have 'January 1, 0001' as the last modified date\nThis 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.\n\n```shell\n# in the root of your Quartz (same folder as config.toml)\ngit config core.ignorecase true\n\n# or globally (not recommended)\ngit config --global core.ignorecase true\n```\n\n### Can I publish only a subset of my pages?\nYes! Quartz makes selective publishing really easy. Heres a guide on [excluding pages from being published](notes/ignore%20notes.md).\n\n### Can I host this myself and not on GitHub Pages?\nYes! All built files can be found under `/public` in the `master` branch. More details under [hosting](notes/hosting.md).\n\n### `command not found: hugo-obsidian`\nMake sure you set your `GOPATH` correctly! This will allow your terminal to correctly recognize `hugo-obsidian` as an executable.\n\n```shell\n# Add the following 2 lines to your ~/.bash_profile\nexport GOPATH=/Users/$USER/go\nexport PATH=$GOPATH/bin:$PATH\n\n# In your current terminal, to reload the session\nsource ~/.bash_profile\n```\n\n### How come my notes aren't being rendered?\nYou 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).\n\n### My custom domain isn't working!\nWalk 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.\n\n### How do I setup analytics?\nQuartz by default uses [Plausible](https://plausible.io/) for analytics. \n\nIf you would prefer to use Google Analytics, you can follow this [guide in the Hugo documentation](https://gohugo.io/templates/internal/#google-analytics). \n\nAlternatively, you can also import your Google Analytics data into Plausible by [following this guide](https://plausible.io/docs/google-analytics-import).\n\n\n### How do I change the content on the home page?\nTo edit the main home page, open `/content/_index.md`.\n\n### How do I change the colours?\nYou 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).\n\n### How do I add images?\nYou can put images anywhere in the `/content` folder.\n\n```markdown\nExample image (source is in content/notes/images/example.png)\n![Example Image](/content/notes/images/example.png)\n```\n\n### My Interactive Graph and Backlinks aren't up to date\nBy 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)\n\n### Can I use React/Vue/some other framework?\nNot 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.\n\n## Still Stuck?\nQuartz isn't perfect! If you're still having troubles, file an issue in the GitHub repo with as much information as you can reasonably provide. Alternatively, you can message me on [Twitter](https://twitter.com/_jzhao) and I'll try to get back to you as soon as I can.\n\n🐛 [Submit an Issue](https://github.com/jackyzha0/quartz/issues)\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null},"/notes/updating":{"title":"Updating","content":"\nHaven't updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! This command will show you a log summary of all commits since you last updated, press `q` to acknowledge this. Then, it will show you each change in turn and press `y` to accept the patch or `n` to reject it. Usually you should press `y` for most of these unless it conflicts with existing changes you've made! \n\n```shell\nmake update\n```\n\nOr, if you don't want the interactive parts and just want to force update your local garden (this assumed that you are okay with some of your personalizations been overriden!)\n\n```shell\nmake update-force\n```\n\nOr, manually checkout the changes yourself.\n\n\u003e [!warning] Warning!\n\u003e\n\u003e If you customized the files in `data/`, or anything inside `layouts/`, your customization may be overwritten!\n\u003e Make sure you have a copy of these changes if you don't want to lose them.\n\n\n```shell\n# add Quartz as a remote host\ngit remote add upstream git@github.com:jackyzha0/quartz.git\n\n# index and fetch changes\ngit fetch upstream\ngit checkout -p upstream/hugo -- layouts .github Makefile assets/js assets/styles/base.scss assets/styles/darkmode.scss config.toml data \n```\n","lastmodified":"2023-02-23T09:46:31.425422222Z","tags":null}} \ No newline at end of file diff --git a/js/darkmode.557cde7fcc3511a3d7ca8545ecd46d77.min.js b/js/darkmode.557cde7fcc3511a3d7ca8545ecd46d77.min.js new file mode 100644 index 0000000..a2fc2af --- /dev/null +++ b/js/darkmode.557cde7fcc3511a3d7ca8545ecd46d77.min.js @@ -0,0 +1 @@ +const userPref=window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark",currentTheme=localStorage.getItem("theme")??userPref,syntaxTheme=document.querySelector("#theme-link");currentTheme&&(document.documentElement.setAttribute("saved-theme",currentTheme),syntaxTheme.href=currentTheme==="dark"?"https://ar.falsy.cat/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css":"https://ar.falsy.cat/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css");const switchTheme=e=>{e.target.checked?(document.documentElement.setAttribute("saved-theme","dark"),localStorage.setItem("theme","dark"),syntaxTheme.href="https://ar.falsy.cat/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css"):(document.documentElement.setAttribute("saved-theme","light"),localStorage.setItem("theme","light"),syntaxTheme.href="https://ar.falsy.cat/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css")};window.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector("#darkmode-toggle");e.addEventListener("change",switchTheme,!1),currentTheme==="dark"&&(e.checked=!0)}) \ No newline at end of file diff --git a/js/darkmode.99648ef714ed1ed9c3633d3858f3741d.min.js b/js/darkmode.99648ef714ed1ed9c3633d3858f3741d.min.js deleted file mode 100644 index efea879..0000000 --- a/js/darkmode.99648ef714ed1ed9c3633d3858f3741d.min.js +++ /dev/null @@ -1 +0,0 @@ -const userPref=window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark",currentTheme=localStorage.getItem("theme")??userPref,syntaxTheme=document.querySelector("#theme-link");currentTheme&&(document.documentElement.setAttribute("saved-theme",currentTheme),syntaxTheme.href=currentTheme==="dark"?"https://falsy.cat/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css":"https://falsy.cat/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css");const switchTheme=e=>{e.target.checked?(document.documentElement.setAttribute("saved-theme","dark"),localStorage.setItem("theme","dark"),syntaxTheme.href="https://falsy.cat/styles/_dark_syntax.bec558461529f0dd343a0b008c343934.min.css"):(document.documentElement.setAttribute("saved-theme","light"),localStorage.setItem("theme","light"),syntaxTheme.href="https://falsy.cat/styles/_light_syntax.86a48a52faebeaaf42158b72922b1c90.min.css")};window.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector("#darkmode-toggle");e.addEventListener("change",switchTheme,!1),currentTheme==="dark"&&(e.checked=!0)}) \ No newline at end of file diff --git a/linkmap b/linkmap index c987149..02323a6 100644 --- a/linkmap +++ b/linkmap @@ -1,17 +1,17 @@ -/notes/troubleshooting/index.{html} /notes/troubleshooting/ -/index.html / -/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/index.{html} /notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/ -/notes/custom-Domain/index.{html} /notes/custom-Domain/ -/notes/ignore-notes/index.{html} /notes/ignore-notes/ /notes/search/index.{html} /notes/search/ -/notes/setup/index.{html} /notes/setup/ -/notes/callouts/index.{html} /notes/callouts/ -/notes/config/index.{html} /notes/config/ -/notes/editing/index.{html} /notes/editing/ -/notes/hosting/index.{html} /notes/hosting/ -/notes/obsidian/index.{html} /notes/obsidian/ -/notes/docker/index.{html} /notes/docker/ -/notes/philosophy/index.{html} /notes/philosophy/ -/notes/preview-changes/index.{html} /notes/preview-changes/ -/notes/showcase/index.{html} /notes/showcase/ /notes/updating/index.{html} /notes/updating/ +/index.html / +/notes/config/index.{html} /notes/config/ +/notes/custom-Domain/index.{html} /notes/custom-Domain/ +/notes/docker/index.{html} /notes/docker/ +/notes/hosting/index.{html} /notes/hosting/ +/notes/ignore-notes/index.{html} /notes/ignore-notes/ +/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/index.{html} /notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/ +/notes/callouts/index.{html} /notes/callouts/ +/notes/obsidian/index.{html} /notes/obsidian/ +/notes/preview-changes/index.{html} /notes/preview-changes/ +/notes/setup/index.{html} /notes/setup/ +/notes/editing/index.{html} /notes/editing/ +/notes/philosophy/index.{html} /notes/philosophy/ +/notes/showcase/index.{html} /notes/showcase/ +/notes/troubleshooting/index.{html} /notes/troubleshooting/ diff --git a/notes/CJK-+-Latex-Support-测试/index.html b/notes/CJK-+-Latex-Support-测试/index.html index 0aaf408..40f84e8 100644 --- a/notes/CJK-+-Latex-Support-测试/index.html +++ b/notes/CJK-+-Latex-Support-测试/index.html @@ -4,26 +4,26 @@ Latex Block math works with two dollar signs $$.">CJK + Latex Support (测试) - +Latex Block math works with two dollar signs $$.">CJK + Latex Support (测试) + - - - - - + + + + +
-

🪴 Quartz 3.3

Search

Search IconIcon to open search
+

🪴 Quartz 3.3

Search

Search IconIcon to open search

CJK + Latex Support (测试)

Last updated Unknown Edit Source

    # Chinese, Japanese, Korean Support

    几乎在我们意识到之前,我们已经离开了地面。

    우리가 그것을 알기도 전에 우리는 땅을 떠났습니다.

    私たちがそれを知るほぼ前に、私たちは地面を離れていました。

    # Latex

    Block math works with two dollar signs $$...$$

    $$f(x) = \int_{-\infty}^\infty @@ -36,4 +36,4 @@ $$

    And matrices

    $$ 1 & 2 & 3 \\ a & b & c \end{bmatrix} $$

    # RTL

    More information on configuring RTL languages like Arabic in the -config page.


    \ No newline at end of file +config page.


    \ No newline at end of file diff --git a/notes/callouts/index.html b/notes/callouts/index.html index d5514fe..6ef97c0 100644 --- a/notes/callouts/index.html +++ b/notes/callouts/index.html @@ -2,26 +2,26 @@ This includes 12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.">Callouts - + 12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.">Callouts + - - - - - + + + + +
    -

    🪴 Quartz 3.3

    Search

    Search IconIcon to open search
    +

    🪴 Quartz 3.3

    Search

    Search IconIcon to open search

    Callouts

    Last updated Aug 5, 2022 Edit Source

      # Callout support

      Quartz supports the same Admonition-callout syntax as Obsidian.

      This includes

      • 12 Distinct callout types (each with several aliases)
      • Collapsable callouts

      See -documentation on supported types and syntax here.

      # Showcase

      Examples

      Aliases: example

      Notes

      Aliases: note

      Summaries

      Aliases: abstract, summary, tldr

      Info

      Aliases: info, todo

      Hint

      Aliases: tip, hint, important

      Success

      Aliases: success, check, done

      Question

      Aliases: question, help, faq

      Warning

      Aliases: warning, caution, attention

      Failure

      Aliases: failure, fail, missing

      Error

      Aliases: danger, error

      Bug

      Aliases: bug

      Quote

      Aliases: quote, cite


      \ No newline at end of file +documentation on supported types and syntax here.

      # Showcase

      Examples

      Aliases: example

      Notes

      Aliases: note

      Summaries

      Aliases: abstract, summary, tldr

      Info

      Aliases: info, todo

      Hint

      Aliases: tip, hint, important

      Success

      Aliases: success, check, done

      Question

      Aliases: question, help, faq

      Warning

      Aliases: warning, caution, attention

      Failure

      Aliases: failure, fail, missing

      Error

      Aliases: danger, error

      Bug

      Aliases: bug

      Quote

      Aliases: quote, cite


      \ No newline at end of file diff --git a/notes/config/index.html b/notes/config/index.html index fc87267..5f1de86 100644 --- a/notes/config/index.html +++ b/notes/config/index.html @@ -1,23 +1,23 @@ -Configuration - +Configuration + - - - - - + + + + +
      -

      🪴 Quartz 3.3

      Search

      Search IconIcon to open search
      +

      🪴 Quartz 3.3

      Search

      Search IconIcon to open search

      Configuration

      Last updated Nov 28, 2022 -Edit Source

      # Configuration

      Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you’d like to get.

      The majority of configuration can be found under data/config.yaml. An annotated example configuration is shown below.

       1
      +Edit Source

      # Configuration

      Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you’d like to get.

      The majority of configuration can be found under data/config.yaml. An annotated example configuration is shown below.

       1
        2
        3
        4
      @@ -291,4 +291,4 @@ attribute, are relative to the static/ directory.

      languagedirection = 'rtl' title = 'مدونتي' weight = 1 -

      \ No newline at end of file +

      \ No newline at end of file diff --git a/notes/custom-Domain/index.html b/notes/custom-Domain/index.html index fe017c6..dff05eb 100644 --- a/notes/custom-Domain/index.html +++ b/notes/custom-Domain/index.html @@ -1,21 +1,21 @@ -Custom Domain - +Custom Domain + - - - - - + + + + +
      -

      🪴 Quartz 3.3

      Search

      Search IconIcon to open search
      +

      🪴 Quartz 3.3

      Search

      Search IconIcon to open search

      Custom Domain

      Last updated Jan 27, 2022 Edit Source

        # Registrar

        This step is only applicable if you are using a custom domain! If you are using a <YOUR-USERNAME>.github.io domain, you can skip this step.

        For this last bit to take effect, you also need to create a CNAME record with the DNS provider you register your domain with (i.e. NameCheap, Google Domains).

        GitHub has some -documentation on this, but the tldr; is to

        1. Go to your forked repository (github.com/<YOUR-GITHUB-USERNAME>/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 <YOUR-GITHUB-USERNAME.github.io. (yes, with the trailing period).

          Example Configuration for QuartzExample Configuration for Quartz

        3. Wait 30 minutes to an hour for the network changes to kick in.

        4. Done!


        \ No newline at end of file +documentation on this, but the tldr; is to

        1. Go to your forked repository (github.com/<YOUR-GITHUB-USERNAME>/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 <YOUR-GITHUB-USERNAME.github.io. (yes, with the trailing period).

          Example Configuration for QuartzExample Configuration for Quartz

        3. Wait 30 minutes to an hour for the network changes to kick in.

        4. Done!


        \ No newline at end of file diff --git a/notes/docker/index.html b/notes/docker/index.html index e8cb67f..a740584 100644 --- a/notes/docker/index.html +++ b/notes/docker/index.html @@ -1,23 +1,23 @@ -Hosting with Docker - +Hosting with Docker + - - - - - + + + + +
        -

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search
        +

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search

        Hosting with Docker

        Last updated Jan 18, 2023 -Edit Source

        If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to +Edit Source

        If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz’s dependencies manually.

        # Hosting Quartz Locally

        You can serve Quartz locally at http://localhost:1313 with the following script, replacing /path/to/quartz with the actual path to your Quartz folder.

        docker-compose.yml

         1
        @@ -56,4 +56,4 @@ actual path to your Quartz folder.

        docker-compose.yml

        port forwarding and setting it up with your router model:

        1. You should set the environment variable HUGO_BASEURL=http://your-public-ip and then start your container.
        2. Set up port forwarding on your router from port p to your-local-ip:1313.
        3. You should now be able to access Quartz from outside your local network at http://your-public-ip:p.

        However, your HTTP connection will be unencrypted and this method is not secure.

        # To a Domain using Cloudflare Proxy

        1. Port forward 443 (HTTPS) from your machine.
        2. Buy a custom domain (say, your-domain.com) from Cloudflare. Point a DNS A record from your-domain.com to your public IP address and enable the proxy.
        3. Set the environment variables HUGO_BASEURL=https://your-domain.com, HUGO_PORT=443, and HUGO_APPENDPORT=false. Change 1313:1313 to 443:443 for the ports in docker-compose.yml.
        4. Spin up your Quartz container and enjoy it at https://your-domain.com!

        # To a Domain using a Reverse Proxy

        If you want to serve more than just Quartz to the internet on this machine (or don’t want to use the Cloudflare registrar and proxy), you should follow the steps in the section above (as appropriate) and also set up a reverse proxy, like -Traefik. Be sure to configure your TLS certificates too!


        \ No newline at end of file +Traefik. Be sure to configure your TLS certificates too!


        \ No newline at end of file diff --git a/notes/editing/index.html b/notes/editing/index.html index 798508b..4eaa96d 100644 --- a/notes/editing/index.html +++ b/notes/editing/index.html @@ -1,26 +1,26 @@ Editing Content in Quartz - +Folder Structure Here’s a rough overview of what’s what.">Editing Content in Quartz + - - - - - + + + + +
        -

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search
        +

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search

        Editing Content in Quartz

        Last updated Nov 20, 2022 -Edit Source

        # Editing

        Quartz runs on top of +Edit Source

        # Editing

        Quartz runs on top of Hugo so all notes are written in Markdown.

        # Folder Structure

        Here’s a rough overview of what’s what.

        All content in your garden can found in the /content folder. To make edits, you can open any of the files and make changes directly and save it. You can organize content into any folder you’d like.

        To edit the main home page, open /content/_index.md.

        To create a link between notes in your garden, just create a normal link using Markdown pointing to the document in question. Please note that all links should be relative to the root /content path.

        1
         2
        @@ -49,4 +49,4 @@ Nov 20, 2022
         How to setup your Obsidian Vault to work with Quartz

        # 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

        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!

        Having problems? Checkout our -FAQ and Troubleshooting guide.


        \ No newline at end of file +FAQ and Troubleshooting guide.


        \ No newline at end of file diff --git a/notes/hosting/index.html b/notes/hosting/index.html index f282c96..05a7e83 100644 --- a/notes/hosting/index.html +++ b/notes/hosting/index.html @@ -1,23 +1,23 @@ -Deploying Quartz to the Web - +Deploying Quartz to the Web + - - - - - + + + + +
        -

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search
        +

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search

        Deploying Quartz to the Web

        Last updated Nov 20, 2022 -Edit Source

        # Hosting on GitHub Pages

        Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.

        # 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 ActionsEnable GitHub Actions

        # Enable GitHub Pages

        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 PagesEnable 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.

        1
        +Edit Source

        # Hosting on GitHub Pages

        Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go! Follow the steps below.

        # 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 ActionsEnable GitHub Actions

        # Enable GitHub Pages

        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 PagesEnable 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.

        1
         2
         3
         4
        @@ -59,4 +59,4 @@ Nov 20, 2022
         Docker instead!
         I would not use this method unless you know what you are doing.


        Now that your Quartz is live, let’s figure out how to make Quartz really yours!

        Step 6: 🎨 Customizing Quartz

        Having problems? Checkout our -FAQ and Troubleshooting guide.


        \ No newline at end of file +FAQ and Troubleshooting guide.


        \ No newline at end of file diff --git a/notes/ignore-notes/index.html b/notes/ignore-notes/index.html index da17c5a..053e171 100644 --- a/notes/ignore-notes/index.html +++ b/notes/ignore-notes/index.html @@ -1,23 +1,23 @@ Ignoring Notes - +1 2 3 4 5 6 .">Ignoring Notes + - - - - - + + + + +
        -

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search
        +

        🪴 Quartz 3.3

        Search

        Search IconIcon to open search

        Ignoring Notes

        Last updated Nov 20, 2021 Edit Source

          # Quartz Ignore

          Edit ignoreFiles in config.toml to include paths you’d like to exclude from being rendered.

          1
          @@ -44,4 +44,4 @@ To ignore a specific file, you can also add the tag draft: true to
           ---
           ...
           

          More details in -Hugo’s documentation.

          # Global Ignore

          However, just adding to the ignoreFiles will only prevent the page from being access through Quartz. If you want to prevent the file from being pushed to GitHub (for example if you have a public repository), you need to also add the path to the .gitignore file at the root of the repository.


          \ No newline at end of file +Hugo’s documentation.

          # Global Ignore

          However, just adding to the ignoreFiles will only prevent the page from being access through Quartz. If you want to prevent the file from being pushed to GitHub (for example if you have a public repository), you need to also add the path to the .gitignore file at the root of the repository.


          \ No newline at end of file diff --git a/notes/index.html b/notes/index.html index eb49588..3e9927c 100644 --- a/notes/index.html +++ b/notes/index.html @@ -1,18 +1,18 @@ -Notes - +Notes + - - - - - + + + + +
          -

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          -
          \ No newline at end of file +

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          +
          \ No newline at end of file diff --git a/notes/index.xml b/notes/index.xml index f6813a3..b1e7603 100644 --- a/notes/index.xml +++ b/notes/index.xml @@ -1,11 +1,11 @@ -Notes onhttps://falsy.cat/notes/Recent content in Notes onHugo -- gohugo.ioen-usSetuphttps://falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. -Folder Structure Here&rsquo;s a rough overview of what&rsquo;s what.Obsidian Vault Integrationhttps://falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/preview-changes/If you&rsquo;d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/hosting/Hosting on GitHub Pages Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go!Calloutshttps://falsy.cat/notes/callouts/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/callouts/Callout support Quartz supports the same Admonition-callout syntax as Obsidian. +Notes onhttps://ar.falsy.cat/notes/Recent content in Notes onHugo -- gohugo.ioen-usSetuphttps://ar.falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://ar.falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. +Folder Structure Here&rsquo;s a rough overview of what&rsquo;s what.Obsidian Vault Integrationhttps://ar.falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://ar.falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/preview-changes/If you&rsquo;d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://ar.falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/hosting/Hosting on GitHub Pages Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go!Calloutshttps://ar.falsy.cat/notes/callouts/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/callouts/Callout support Quartz supports the same Admonition-callout syntax as Obsidian. This includes -12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.CJK + Latex Support (测试)https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Chinese, Japanese, Korean Support 几乎在我们意识到之前,我们已经离开了地面。 +12 Distinct callout types (each with several aliases) Collapsable callouts See documentation on supported types and syntax here.CJK + Latex Support (测试)https://ar.falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/Chinese, Japanese, Korean Support 几乎在我们意识到之前,我们已经离开了地面。 우리가 그것을 알기도 전에 우리는 땅을 떠났습니다. 私たちがそれを知るほぼ前に、私たちは地面を離れていました。 -Latex Block math works with two dollar signs $$.Configurationhttps://falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you&rsquo;d like to get.Custom Domainhttps://falsy.cat/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/custom-Domain/Registrar This step is only applicable if you are using a custom domain! If you are using a &lt;YOUR-USERNAME&gt;.github.io domain, you can skip this step.Hosting with Dockerhttps://falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz&rsquo;s dependencies manually.Ignoring Noteshttps://falsy.cat/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/ignore-notes/Quartz Ignore Edit ignoreFiles in config.toml to include paths you&rsquo;d like to exclude from being rendered. -1 2 3 4 5 6 .Quartz Philosophyhttps://falsy.cat/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/philosophy/“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Searchhttps://falsy.cat/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/search/Quartz supports two modes of searching through content. -Full-text Full-text search is the default in Quartz. It produces results that exactly match the search query.Showcasehttps://falsy.cat/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) -Quartz Documentation (this site!) Jacky Zhao&rsquo;s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu&rsquo;s PKM SlRvb&rsquo;s Site Course notes for Information Technology Advanced Theory Brandon Boswell&rsquo;s Garden Siyang&rsquo;s Courtyard Data Dictionary 🧠 sspaeti.Troubleshooting and FAQhttps://falsy.cat/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/troubleshooting/Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz. -While you&rsquo;re here, join our Discord :)Updatinghttps://falsy.cat/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/updating/Haven&rsquo;t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! \ No newline at end of file +Latex Block math works with two dollar signs $$.Configurationhttps://ar.falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you&rsquo;d like to get.Custom Domainhttps://ar.falsy.cat/notes/custom-Domain/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/custom-Domain/Registrar This step is only applicable if you are using a custom domain! If you are using a &lt;YOUR-USERNAME&gt;.github.io domain, you can skip this step.Hosting with Dockerhttps://ar.falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz&rsquo;s dependencies manually.Ignoring Noteshttps://ar.falsy.cat/notes/ignore-notes/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/ignore-notes/Quartz Ignore Edit ignoreFiles in config.toml to include paths you&rsquo;d like to exclude from being rendered. +1 2 3 4 5 6 .Quartz Philosophyhttps://ar.falsy.cat/notes/philosophy/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/philosophy/“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.Searchhttps://ar.falsy.cat/notes/search/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/search/Quartz supports two modes of searching through content. +Full-text Full-text search is the default in Quartz. It produces results that exactly match the search query.Showcasehttps://ar.falsy.cat/notes/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/showcase/Want to see what Quartz can do? Here are some cool community gardens :) +Quartz Documentation (this site!) Jacky Zhao&rsquo;s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu&rsquo;s PKM SlRvb&rsquo;s Site Course notes for Information Technology Advanced Theory Brandon Boswell&rsquo;s Garden Siyang&rsquo;s Courtyard Data Dictionary 🧠 sspaeti.Troubleshooting and FAQhttps://ar.falsy.cat/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/troubleshooting/Still having trouble? Here are a list of common questions and problems people encounter when installing Quartz. +While you&rsquo;re here, join our Discord :)Updatinghttps://ar.falsy.cat/notes/updating/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/updating/Haven&rsquo;t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! \ No newline at end of file diff --git a/notes/obsidian/index.html b/notes/obsidian/index.html index d958bc6..76f4354 100644 --- a/notes/obsidian/index.html +++ b/notes/obsidian/index.html @@ -1,23 +1,23 @@ -Obsidian Vault Integration - +Obsidian Vault Integration + - - - - - + + + + +
          -

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          +

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search

          Obsidian Vault Integration

          Last updated Jan 31, 2023 -Edit Source

          # Setup

          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, +Edit Source

          # Setup

          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 and create a new Vault in the /content folder that you created and cloned during the -setup 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.

          # Settings

          Great, now that you have your Obsidian linked to your Quartz, let’s fix some settings so that they play well.

          Open Settings > Files & Links and look for these two items:

          1. Set the New link format to Absolute Path in vault.
          2. Turn on the Automatically update internal links setting.

          Obsidian SettingsObsidian 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.

          If you decide to overwrite the /content folder completely, don’t remove the /content/templates folder!

          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


          \ No newline at end of file +setup 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.

          # Settings

          Great, now that you have your Obsidian linked to your Quartz, let’s fix some settings so that they play well.

          Open Settings > Files & Links and look for these two items:

          1. Set the New link format to Absolute Path in vault.
          2. Turn on the Automatically update internal links setting.

          Obsidian SettingsObsidian 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.

          If you decide to overwrite the /content folder completely, don’t remove the /content/templates folder!

          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


          \ No newline at end of file diff --git a/notes/page/1/index.html b/notes/page/1/index.html index ddb7f15..68a8b9c 100644 --- a/notes/page/1/index.html +++ b/notes/page/1/index.html @@ -1 +1 @@ -https://falsy.cat/notes/ \ No newline at end of file +https://ar.falsy.cat/notes/ \ No newline at end of file diff --git a/notes/page/2/index.html b/notes/page/2/index.html index 98c2cdd..11efe0c 100644 --- a/notes/page/2/index.html +++ b/notes/page/2/index.html @@ -1,18 +1,18 @@ -Notes - +Notes + - - - - - + + + + +
          -

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          -
          \ No newline at end of file +

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          +
          \ No newline at end of file diff --git a/notes/philosophy/index.html b/notes/philosophy/index.html index 75199af..70759fa 100644 --- a/notes/philosophy/index.html +++ b/notes/philosophy/index.html @@ -1,20 +1,20 @@ -Quartz Philosophy - +Quartz Philosophy + - - - - - + + + + +
          -

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search
          +

          🪴 Quartz 3.3

          Search

          Search IconIcon to open search

          Quartz Philosophy

          Last updated Nov 20, 2021 Edit Source

            “[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming

            # Why Quartz?

            Hosting a public digital garden isn’t easy. There are an overwhelming number of tutorials, resources, and guides for tools like @@ -22,4 +22,4 @@ Nov 20, 2021 Roam, and Obsidian, yet none of them have super easy to use free tools to publish that garden to the world.

            I’ve personally found that

            1. It’s nice to access notes from anywhere
            2. Having a public digital garden invites open conversations
            3. It makes keeping personal notes and knowledge playful and fun

            I was really inspired by Bianca and -Joel’s digital gardens and wanted to try making my own.

            The goal of Quartz is to make hosting your own public digital garden free and simple. You don’t even need your own website. Quartz does all of that for you and gives your own little corner of the internet.


            \ No newline at end of file +Joel’s digital gardens and wanted to try making my own.

            The goal of Quartz is to make hosting your own public digital garden free and simple. You don’t even need your own website. Quartz does all of that for you and gives your own little corner of the internet.


            \ No newline at end of file diff --git a/notes/preview-changes/index.html b/notes/preview-changes/index.html index 1b8dae9..0d9eb0b 100644 --- a/notes/preview-changes/index.html +++ b/notes/preview-changes/index.html @@ -1,23 +1,23 @@ -Preview Changes - +Preview Changes + - - - - - + + + + +
            -

            🪴 Quartz 3.3

            Search

            Search IconIcon to open search
            +

            🪴 Quartz 3.3

            Search

            Search IconIcon to open search

            Preview Changes

            Last updated Nov 20, 2022 -Edit Source

            If you’d like to preview what your Quartz site looks like before deploying it to the internet, the following +Edit Source

            If you’d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.

            # Install hugo-obsidian

            This step will generate the list of backlinks for Hugo to parse. Ensure you have Go (>= 1.16) installed.

            1
             2
            @@ -39,4 +39,4 @@ instructions guide you through installing the proper dependencies to run it loca
             
             # View your site in a browser at http://localhost:1313/
             

            Docker Support

            If you have Docker installed already, open your terminal, navigate to your folder with Quartz and run make docker

            Now that you are happy with how your Quartz instance looks, let’s get it hosted!

            🌍 Step 5: -Hosting Quartz online!


            \ No newline at end of file +Hosting Quartz online!


            \ No newline at end of file diff --git a/notes/search/index.html b/notes/search/index.html index 9e655ae..2a13f06 100644 --- a/notes/search/index.html +++ b/notes/search/index.html @@ -1,23 +1,23 @@ Search - +Full-text Full-text search is the default in Quartz. It produces results that exactly match the search query.">Search + - - - - - + + + + +
            -

            🪴 Quartz 3.3

            Search

            Search IconIcon to open search
            +

            🪴 Quartz 3.3

            Search

            Search IconIcon to open search

            Search

            Last updated Nov 20, 2022 Edit Source

              Quartz supports two modes of searching through content.

              # Full-text

              Full-text search is the default in Quartz. It produces results that exactly match the search query. This is easier to setup but usually produces lower quality matches.

              1
              @@ -35,4 +35,4 @@ Nov 20, 2022
                 enableSemanticSearch: true
                 operandApiKey: "jp9k5hudse2a828z98kxd6z3payi8u90rnjf"
                 operandIndexId: "s0kf3bd6tldw"
              -
              1. Push your changes to the site and wait for it to deploy.
              2. Check the Operand dashboard and wait for your site to index. Enjoy natural language search powered by Operand!

              \ No newline at end of file +
              1. Push your changes to the site and wait for it to deploy.
              2. Check the Operand dashboard and wait for your site to index. Enjoy natural language search powered by Operand!

              \ No newline at end of file diff --git a/notes/setup/index.html b/notes/setup/index.html index 1d347da..6a1fe36 100644 --- a/notes/setup/index.html +++ b/notes/setup/index.html @@ -1,23 +1,23 @@ -Setup - +Setup + - - - - - + + + + +
              -

              🪴 Quartz 3.3

              Search

              Search IconIcon to open search
              +

              🪴 Quartz 3.3

              Search

              Search IconIcon to open search

              Setup

              Last updated Jul 13, 2022 -Edit Source

              # Making your own Quartz

              Setting up Quartz requires a basic understanding of git. If you are unfamiliar, +Edit Source

              # Making your own Quartz

              Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!

              # Forking

              A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.

              Navigate to the GitHub repository for the Quartz project:

              📁 Quartz Repository

              Then, Fork the repository into your own GitHub account. If you don’t have an account, you can make on for free here. More details about forking a repo can be found on @@ -25,4 +25,4 @@ Jul 13, 2022

              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

              Having problems? Checkout our -FAQ and Troubleshooting guide.


              \ No newline at end of file +FAQ and Troubleshooting guide.


              \ No newline at end of file diff --git a/notes/showcase/index.html b/notes/showcase/index.html index 2923e6a..fee600d 100644 --- a/notes/showcase/index.html +++ b/notes/showcase/index.html @@ -1,24 +1,24 @@ Showcase - + Quartz Documentation (this site!) Jacky Zhao’s Garden Scaling Synthesis - A hypertext research notebook AWAGMI Intern Notes Shihyu’s PKM SlRvb’s Site Course notes for Information Technology Advanced Theory Brandon Boswell’s Garden Siyang’s Courtyard Data Dictionary 🧠 sspaeti.">Showcase + - - - - - + + + + +
              -

              🪴 Quartz 3.3

              Search

              Search IconIcon to open search
              +

              🪴 Quartz 3.3

              Search

              Search IconIcon to open search

              Showcase

              Last updated Jan 31, 2023 Edit Source

                Want to see what Quartz can do? Here are some cool community gardens :)

                If you want to see your own on here, submit a -Pull Request adding yourself to this file!


                \ No newline at end of file +Pull Request adding yourself to this file!


                \ No newline at end of file diff --git a/notes/troubleshooting/index.html b/notes/troubleshooting/index.html index 4097c0b..6261339 100644 --- a/notes/troubleshooting/index.html +++ b/notes/troubleshooting/index.html @@ -1,23 +1,23 @@ Troubleshooting and FAQ - +While you’re here, join our Discord :)">Troubleshooting and FAQ + - - - - - + + + + +
                -

                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

                # 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.

                # Still Stuck?

                Quartz isn’t perfect! If you’re still having troubles, file an issue in the GitHub repo with as much information as you can reasonably provide. Alternatively, you can message me on Twitter and I’ll try to get back to you as soon as I can.

                🐛 -Submit an Issue


                \ No newline at end of file +Submit an Issue


                \ No newline at end of file diff --git a/notes/update/index.html b/notes/update/index.html index 5daafb1..0a4b04d 100644 --- a/notes/update/index.html +++ b/notes/update/index.html @@ -1 +1 @@ -https://falsy.cat/notes/updating/ \ No newline at end of file +https://ar.falsy.cat/notes/updating/ \ No newline at end of file diff --git a/notes/updating/index.html b/notes/updating/index.html index 3b0970e..ddfe2da 100644 --- a/notes/updating/index.html +++ b/notes/updating/index.html @@ -1,20 +1,20 @@ -Updating - +Updating + - - - - - + + + + +
                -

                🪴 Quartz 3.3

                Search

                Search IconIcon to open search
                +

                🪴 Quartz 3.3

                Search

                Search IconIcon to open search

                Updating

                Last updated Jul 30, 2022 Edit Source

                  Haven’t updated Quartz in a while and want all the cool new optimizations? On Unix/Mac systems you can run the following command for a one-line update! This command will show you a log summary of all commits since you last updated, press q to acknowledge this. Then, it will show you each change in turn and press y to accept the patch or n to reject it. Usually you should press y for most of these unless it conflicts with existing changes you’ve made!

                  1
                  @@ -34,4 +34,4 @@ Make sure you have a copy of these changes if you don’t want to lose them.
                   # index and fetch changes
                   git fetch upstream
                   git checkout -p upstream/hugo -- layouts .github Makefile assets/js assets/styles/base.scss assets/styles/darkmode.scss config.toml data 
                  -

                  \ No newline at end of file +

                  \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index b92c7cb..b026b05 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://falsy.cat/notes/setup/2022-07-13T23:37:54-07:00https://falsy.cat/notes/editing/2022-11-20T15:09:58-08:00https://falsy.cat/notes/obsidian/2023-01-31T19:48:20+01:00https://falsy.cat/notes/preview-changes/2022-11-20T15:09:58-08:00https://falsy.cat/notes/hosting/2022-11-20T15:09:58-08:00https://falsy.cat/notes/callouts/2022-08-05T11:08:52-07:00https://falsy.cat/categories/https://falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/https://falsy.cat/notes/config/2022-11-28T02:53:52+08:00https://falsy.cat/notes/custom-Domain/2022-01-27T09:38:28-08:00https://falsy.cat/2023-02-23T18:29:46+09:00https://falsy.cat/notes/docker/2023-01-18T17:25:01+01:00https://falsy.cat/notes/ignore-notes/2021-11-20T22:53:26-08:00https://falsy.cat/notes/2023-02-05T10:39:58-08:00https://falsy.cat/notes/philosophy/2021-11-20T22:53:26-08:00https://falsy.cat/notes/search/2022-11-20T15:09:58-08:00https://falsy.cat/tags/setup/2023-01-31T19:48:20+01:00https://falsy.cat/notes/showcase/2023-01-31T11:00:28-08:00https://falsy.cat/tags/2023-01-31T19:48:20+01:00https://falsy.cat/notes/troubleshooting/2023-02-05T10:39:58-08:00https://falsy.cat/notes/updating/2022-07-30T18:46:19-07:00 \ No newline at end of file +https://ar.falsy.cat/notes/setup/2022-07-13T23:37:54-07:00https://ar.falsy.cat/notes/editing/2022-11-20T15:09:58-08:00https://ar.falsy.cat/notes/obsidian/2023-01-31T19:48:20+01:00https://ar.falsy.cat/notes/preview-changes/2022-11-20T15:09:58-08:00https://ar.falsy.cat/notes/hosting/2022-11-20T15:09:58-08:00https://ar.falsy.cat/notes/callouts/2022-08-05T11:08:52-07:00https://ar.falsy.cat/categories/https://ar.falsy.cat/notes/CJK-+-Latex-Support-%E6%B5%8B%E8%AF%95/https://ar.falsy.cat/notes/config/2022-11-28T02:53:52+08:00https://ar.falsy.cat/notes/custom-Domain/2022-01-27T09:38:28-08:00https://ar.falsy.cat/2023-02-23T18:29:46+09:00https://ar.falsy.cat/notes/docker/2023-01-18T17:25:01+01:00https://ar.falsy.cat/notes/ignore-notes/2021-11-20T22:53:26-08:00https://ar.falsy.cat/notes/2023-02-05T10:39:58-08:00https://ar.falsy.cat/notes/philosophy/2021-11-20T22:53:26-08:00https://ar.falsy.cat/notes/search/2022-11-20T15:09:58-08:00https://ar.falsy.cat/tags/setup/2023-01-31T19:48:20+01:00https://ar.falsy.cat/notes/showcase/2023-01-31T11:00:28-08:00https://ar.falsy.cat/tags/2023-01-31T19:48:20+01:00https://ar.falsy.cat/notes/troubleshooting/2023-02-05T10:39:58-08:00https://ar.falsy.cat/notes/updating/2022-07-30T18:46:19-07:00 \ No newline at end of file diff --git a/tags/index.html b/tags/index.html index a2c013d..11b39fd 100644 --- a/tags/index.html +++ b/tags/index.html @@ -1,18 +1,18 @@ -Tags - +Tags + - - - - - + + + + +
                  -

                  🪴 Quartz 3.3

                  Search

                  Search IconIcon to open search
                  -
                  \ No newline at end of file +

                  🪴 Quartz 3.3

                  Search

                  Search IconIcon to open search
                  +
                  \ No newline at end of file diff --git a/tags/index.xml b/tags/index.xml index d53f7ab..8110c5b 100644 --- a/tags/index.xml +++ b/tags/index.xml @@ -1 +1 @@ -Tags onhttps://falsy.cat/tags/Recent content in Tags onHugo -- gohugo.ioen-ussetuphttps://falsy.cat/tags/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/tags/setup/ \ No newline at end of file +Tags onhttps://ar.falsy.cat/tags/Recent content in Tags onHugo -- gohugo.ioen-ussetuphttps://ar.falsy.cat/tags/setup/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/tags/setup/ \ No newline at end of file diff --git a/tags/setup/index.html b/tags/setup/index.html index 69bfb86..17b5003 100644 --- a/tags/setup/index.html +++ b/tags/setup/index.html @@ -1,18 +1,18 @@ -setup - +setup + - - - - - + + + + +
                  -

                  🪴 Quartz 3.3

                  Search

                  Search IconIcon to open search
                  -
                  \ No newline at end of file +

                  🪴 Quartz 3.3

                  Search

                  Search IconIcon to open search
                  +
                  \ No newline at end of file diff --git a/tags/setup/index.xml b/tags/setup/index.xml index a8f06bf..35afdfe 100644 --- a/tags/setup/index.xml +++ b/tags/setup/index.xml @@ -1,2 +1,2 @@ -setup onhttps://falsy.cat/tags/setup/Recent content in setup onHugo -- gohugo.ioen-usSetuphttps://falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. -Folder Structure Here&rsquo;s a rough overview of what&rsquo;s what.Obsidian Vault Integrationhttps://falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/preview-changes/If you&rsquo;d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/hosting/Hosting on GitHub Pages Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go!Configurationhttps://falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you&rsquo;d like to get.Hosting with Dockerhttps://falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz&rsquo;s dependencies manually. \ No newline at end of file +setup onhttps://ar.falsy.cat/tags/setup/Recent content in setup onHugo -- gohugo.ioen-usSetuphttps://ar.falsy.cat/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/setup/Making your own Quartz Setting up Quartz requires a basic understanding of git. If you are unfamiliar, this resource is a great place to start!Editing Content in Quartzhttps://ar.falsy.cat/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown. +Folder Structure Here&rsquo;s a rough overview of what&rsquo;s what.Obsidian Vault Integrationhttps://ar.falsy.cat/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/obsidian/Setup Obsidian is the preferred way to use Quartz. You can either create a new Obsidian Vault or link one that your already have.Preview Changeshttps://ar.falsy.cat/notes/preview-changes/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/preview-changes/If you&rsquo;d like to preview what your Quartz site looks like before deploying it to the internet, the following instructions guide you through installing the proper dependencies to run it locally.Deploying Quartz to the Webhttps://ar.falsy.cat/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/hosting/Hosting on GitHub Pages Quartz is designed to be effortless to deploy. If you forked and cloned Quartz directly from the repository, everything should already be good to go!Configurationhttps://ar.falsy.cat/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/config/Configuration Quartz is designed to be extremely configurable. You can find the bulk of the configuration scattered throughout the repository depending on how in-depth you&rsquo;d like to get.Hosting with Dockerhttps://ar.falsy.cat/notes/docker/Mon, 01 Jan 0001 00:00:00 +0000https://ar.falsy.cat/notes/docker/If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to install Docker Compose and follow the instructions below than to install Quartz&rsquo;s dependencies manually. \ No newline at end of file diff --git a/tags/setup/page/1/index.html b/tags/setup/page/1/index.html index b83b624..a964795 100644 --- a/tags/setup/page/1/index.html +++ b/tags/setup/page/1/index.html @@ -1 +1 @@ -https://falsy.cat/tags/setup/ \ No newline at end of file +https://ar.falsy.cat/tags/setup/ \ No newline at end of file