diff --git a/404.html b/404.html index 14d3b28d9..839fcdc6e 100644 --- a/404.html +++ b/404.html @@ -1,2 +1,2 @@ -404 Page not found
+404 Page not found

404.

Hey! You look a little lost.

\ No newline at end of file diff --git a/index.html b/index.html index ad6618067..d3b5ef395 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,15 @@ -Quartz Example Page
-

🌱 Quartz

Simple second brain and digital garden.

Why Quartz?

Hosting a public digital garden isn’t easy. There are an overwhelming number of tutorials, resources, and guides for tools like +Quartz Example Page

+

🌱 Quartz

Simple second brain and +digital garden +.

Why Quartz?

Hosting a public digital garden isn’t easy. There are an overwhelming number of tutorials, resources, and guides for tools like Notion , 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

β€œHe who works with the door open gets all kinds of interruptions, but he also occasionally gets clues as to what the world is and what might be important.” β€” Richard Hamming

The goal of Quartz is to make hosting your own public digital garden free and simple.

Get Started

The entire Quartz documentation is fully hosted using Quartz! You can navigate it using the interactive Graph view below.

If you’d prefer more traditional navigation, you can also find all relevant pages through the main directory.

πŸ‘‰ -Directory


Interactive Graph

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

β€œHe who works with the door open gets all kinds of interruptions, but he also occasionally gets clues as to what the world is and what might be important.” β€” Richard Hamming

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.

Get Started

The entire Quartz documentation is fully hosted using Quartz! To get started, let’s visit the main directory.

πŸ‘‰ +Directory


Interactive Graph

\ No newline at end of file diff --git a/index.xml b/index.xml index 75ef7f81b..922a88d2e 100644 --- a/index.xml +++ b/index.xml @@ -1,11 +1,11 @@ <link>https://quartz.jzhao.xyz/</link><description>Recent content on</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://quartz.jzhao.xyz/index.xml" rel="self" type="application/rss+xml"/><item><title>Configurationhttps://quartz.jzhao.xyz/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/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. The majority of configuration can be be found under data/config.yaml. An annotated example configuration is shown below. 1 2 3 4 5 6 7 8 9 10 name:Your name here!# Shows in the footerenableToc:true# Whether to show a Table of Contentsdescription:Page description to show to search enginespage_title:Quartz Example Page# Default Page Titlelinks:# Links to show in footer- link_name:Twitterlink:https://twitter.Deploying to GitHub Pageshttps://quartz.jzhao.xyz/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/hosting/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! You can head to &lt;YOUR-GITHUB-USERNAME.github.io/quartz to see it live. -By default, Github Actions will run on forks of repos. You should not need to do any more config to see it up to date. -Custom subdomain Have a fancy custom domain or want to subdomain your Quartz?Editing Content in Quartzhttps://quartz.jzhao.xyz/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown . -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&rsquo;d like. -To edit the main home page, open /content/_index.md. -To create a link, just create a normal link using Markdown pointing to the document in question.Obsidian Vault Integrationhttps://quartz.jzhao.xyz/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/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. +Enable GitHub Actions By default, GitHub disables workflows from running automatically on Forked Repostories. Head to the &lsquo;Actions&rsquo; tab of your forked repository and Enable Workflows to setup deploying your Quartz site! +Enable GitHub ActionsEditing Content in Quartzhttps://quartz.jzhao.xyz/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown . +Obsidian I strongly recommend using Obsidian as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of my local files. +πŸ”— How to link your Obsidian Vault +Of course, all the files are in Markdown so you could just use your favourite text editor of choice, I&rsquo;m not going to stop you!Obsidian Vault Integrationhttps://quartz.jzhao.xyz/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/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. New Vault If you don&rsquo;t have an existing Vault, download Obsidian and create a new Vault in the /content folder that you created and cloned during the setup . Linking an existing Vault The easiest way to use an existing Vault is to copy all of our files (directory and hierarchies intact) into the /content folder.Quartz Documentationhttps://quartz.jzhao.xyz/moc/directory/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/moc/directory/Setup Welcome to Quartz! Whether you&rsquo;re setting up a website and project for the first time or a seasoned digital gardener, I hope that you&rsquo;ll find something useful about this project. Let&rsquo;s get to business and get you started! @@ -13,5 +13,6 @@ Let&rsquo;s get to business and get you started! 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.Showcasehttps://quartz.jzhao.xyz/moc/showcase/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/moc/showcase/Want to see what Quartz can do? Here are some cool community gardens :) -Quartz Documentation (this site!) Jacky Zhao&rsquo;s Garden If you want to see your own on here, submit a Pull Request adding yourself to this file !Troubleshooting and FAQhttps://quartz.jzhao.xyz/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/troubleshooting/Common Pitfalls How come my notes aren&rsquo;t being rendered? You probably forgot to include front matter in your Markdown files. You can either setup Obsidian to do this for you or you need to manually define it. More details in the &lsquo;how to edit&rsquo; guide . -My custom domain isn&rsquo;t working! Walk through the steps in the hosting guide again. Make sure you wait 30 min to 1 hour for changes to take effect. \ No newline at end of file +Quartz Documentation (this site!) Jacky Zhao&rsquo;s Garden If you want to see your own on here, submit a Pull Request adding yourself to this file !Troubleshooting and FAQhttps://quartz.jzhao.xyz/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/troubleshooting/Common Pitfalls Do I need a website already? No! Setting up Quartz means you set up a site too :) +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. +1 2 3 4 5 6 # Add the following 2 lines to your ~/.bash_profile export GOPATH=/Users/$USER/go export PATH=$GOPATH/bin:$PATH # In your current terminal, to reload the session source ~/. \ No newline at end of file diff --git a/moc/directory/index.html b/moc/directory/index.html index 1e439682f..5ec3b35ad 100644 --- a/moc/directory/index.html +++ b/moc/directory/index.html @@ -1,4 +1,4 @@ -Quartz Documentation
+Quartz Documentation

Quartz Documentation

Setup

Welcome to Quartz! Whether you’re setting up a website and project for the first time or a seasoned digital gardener, I hope that you’ll find something useful about this project.

Let’s get to business and get you started!


Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +Submit an Issue

Interactive Graph

\ No newline at end of file diff --git a/moc/showcase/index.html b/moc/showcase/index.html index d6c728aaa..af8c94d58 100644 --- a/moc/showcase/index.html +++ b/moc/showcase/index.html @@ -1,5 +1,5 @@ -Showcase
+Showcase

Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +!


Interactive Graph

\ No newline at end of file diff --git a/notes/config/index.html b/notes/config/index.html index 238413cb0..d04fa7e8a 100644 --- a/notes/config/index.html +++ b/notes/config/index.html @@ -1,4 +1,4 @@ -Configuration
+Configuration

Configuration

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 be found under data/config.yaml. An annotated example configuration is shown below.

 1
  2
  3
@@ -32,5 +32,5 @@
 

Styling

Want to go even more in-depth? You can add custom CSS styling and change existing colours through editing assets/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.

Partials

Partials are what dictate what actually gets rendered to the page. Want to change how pages are styled and structured? You can edit the appropriate layout in /layouts.

For 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

More info about partials on Hugo’s website.

Still having problems? Checkout our FAQ and Troubleshooting guide -.


Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +.


Interactive Graph

\ No newline at end of file diff --git a/notes/editing/index.html b/notes/editing/index.html index f78860c85..cb1794f80 100644 --- a/notes/editing/index.html +++ b/notes/editing/index.html @@ -1,28 +1,44 @@ -Editing Content in Quartz
-

Editing Content in Quartz

Editing

Quartz runs on top of +Editing Content in Quartz

+

Editing Content in Quartz

Editing

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

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, 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
+.

Obsidian

I strongly recommend using +Obsidian +as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of my local files.

πŸ”— +How to link your Obsidian Vault

Of course, all the files are in Markdown so you could just use your favourite text editor of choice, I’m not going to stop you!

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. This is the home page which is slightly special. You don’t need front matter here!

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
-
For example, I want to link this current document to `config.md`.
-[A link to the config page](config.md)
+
For example, I want to link this current document to `notes/config.md`.
+[A link to the config page](notes/config.md)
 

Front Matter

Hugo is picky when it comes to metadata for files. Ensure that you have a title defined at the top of your file like so:

1
 2
 3
 4
 5
-6
 
---
 title: "Example Title"
 ---
 
-## Headers should start at H2
-Rest of your content here...
-

Obsidian

I strongly recommend using -Obsidian -as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of my local files.

πŸ”— -How to link your Obsidian Vault

Of course, all the files are in Markdown so you could just use your favourite text editor of choice, I’m not going to stop you!

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. For those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing.

Installing Hugo

Hugo is the static site generator that powers Quartz. If you’d like to preview your site locally, +Rest of your content here... +

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. For those who like to live life more on the edge, viewing the garden through Obsidian gets you pretty close to the real thing.

Install hugo-obsidian

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

1
+2
+3
+4
+5
+6
+7
+8
+
# Install and link `hugo-obsidian` locally
+$ go install github.com/jackyzha0/hugo-obsidian
+
+# Navigate to your local Quartz folder
+$ cd <location-of-your-local-quartz>
+
+# Scrape all links in your Quartz folder and generate info for Quartz
+$ hugo-obsidian -input=content -output=data
+

Afterwards, start the Hugo server as shown above and your local backlinks and interactive graph should be populated!

Installing Hugo

Hugo is the static site generator that powers Quartz. If you’d like to preview your site locally, install Hugo .

1
 2
@@ -38,30 +54,8 @@ $ cd <location-of-your-local-quartz>
 $ hugo server
 
 # View your site in a browser at http://localhost:1313/
-

Install hugo-obsidian

This step is doubly optional and only applies to those who want to see their Interactive Graph and backlinks locally while previewing changes on the site.

Ensure you have Go (>= 1.16) installed.

 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-10
-11
-
# Clone the Repository
-$ git clone https://github.com/jackyzha0/hugo-obsidian.git
-
-# Install and link `hugo-obsidian` locally
-$ go install .
-
-# Navigate to your local Quartz folder
-$ cd <location-of-your-local-quartz>
-
-# Scrape all links in your Quartz folder and generate info for Quartz
-$ hugo-obsidian -input=content -output=data
-

Afterwards, start the Hugo server as shown above and your local backlinks and interactive graph should be populated!

Publishing Changes

Now that you know the basics of managing your digital garden using Quartz, you can publish it to the internet!

🌍 +

Publishing Changes

Now that you know the basics of managing your digital garden using Quartz, you can publish it to the internet!

🌍 Hosting Quartz online!

Having problems? Checkout our FAQ and Troubleshooting guide -.


Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +.


Interactive Graph

\ No newline at end of file diff --git a/notes/hosting/index.html b/notes/hosting/index.html index 0c3027759..3bbe325ff 100644 --- a/notes/hosting/index.html +++ b/notes/hosting/index.html @@ -1,9 +1,25 @@ -Deploying to GitHub Pages
-

Deploying to GitHub Pages

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! You can head to <YOUR-GITHUB-USERNAME.github.io/quartz to see it live.

By default, Github Actions will run on forks of repos. You should not need to do any more config to see it up to date.

Custom subdomain

Have a fancy custom domain or want to subdomain your Quartz? That’s easy too.

Change baseURL in /config.toml. -Reference.

1
+Deploying to GitHub Pages
+

Deploying to GitHub Pages

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! You can head to <YOUR-GITHUB-USERNAME.github.io/quartz to see it live.

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. Set the source to deploy from master 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 essentially a git repository so updating it is the same workflow as you would follow as normal.

1
+2
+3
+4
+5
+6
+7
+8
+9
+
# Navigate to Quartz folder
+cd <path-to-quartz>
+
+# Commit all changes
+git add .
+git commit -m "message describing changes"
+
+# Push to GitHub to update site
+git push origin hugo
+

Setting up the Site

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

Here, we take advantage of GitHub’s free page hosting to deploy our site. Change baseURL in /config.toml. If you don’t have a custom domain to use, you can use <YOUR-USERNAME>.github.io (which GitHub gives to you for free!) as your domain.

Reference.

1
 
baseURL = "https://<YOUR-DOMAIN>/"
-

Change cname in /.github/workflows/deploy.yaml. -Reference.

1
+

Change cname in /.github/workflows/deploy.yaml. Again, if you don’t have a custom domain to use, you can use <YOUR-USERNAME>.github.io.

Reference.

1
 2
 3
 4
@@ -13,14 +29,14 @@
 
- name: Deploy  
   uses: peaceiris/actions-gh-pages@v3  
   with:  
-	github_token: ${{ secrets.GITHUB_TOKEN }}  
+	github_token: ${{ secrets.GITHUB_TOKEN }} # this can stay as is, GitHub fills this in for us!
 	publish_dir: ./public  
 	publish_branch: master
 	cname: <YOUR-DOMAIN>
-

Registrar

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 +

Registrar

This step is only applicable if you are using a custom domain! If you are using <YOUR-USERNAME>.github.io, 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!

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

🎨 Customizing Quarts

Having problems? Checkout our FAQ and Troubleshooting guide -.


Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +.


Interactive Graph

\ No newline at end of file diff --git a/notes/images/github-actions.png b/notes/images/github-actions.png new file mode 100644 index 000000000..8e977cb17 Binary files /dev/null and b/notes/images/github-actions.png differ diff --git a/notes/images/github-pages.png b/notes/images/github-pages.png new file mode 100644 index 000000000..2c606f588 Binary files /dev/null and b/notes/images/github-pages.png differ diff --git a/notes/index.xml b/notes/index.xml index 17dbad923..f9557e0e7 100644 --- a/notes/index.xml +++ b/notes/index.xml @@ -1,14 +1,15 @@ Notes onhttps://quartz.jzhao.xyz/notes/Recent content in Notes onHugo -- gohugo.ioen-usConfigurationhttps://quartz.jzhao.xyz/notes/config/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/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. The majority of configuration can be be found under data/config.yaml. An annotated example configuration is shown below. 1 2 3 4 5 6 7 8 9 10 name:Your name here!# Shows in the footerenableToc:true# Whether to show a Table of Contentsdescription:Page description to show to search enginespage_title:Quartz Example Page# Default Page Titlelinks:# Links to show in footer- link_name:Twitterlink:https://twitter.Deploying to GitHub Pageshttps://quartz.jzhao.xyz/notes/hosting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/hosting/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! You can head to &lt;YOUR-GITHUB-USERNAME.github.io/quartz to see it live. -By default, Github Actions will run on forks of repos. You should not need to do any more config to see it up to date. -Custom subdomain Have a fancy custom domain or want to subdomain your Quartz?Editing Content in Quartzhttps://quartz.jzhao.xyz/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown . -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&rsquo;d like. -To edit the main home page, open /content/_index.md. -To create a link, just create a normal link using Markdown pointing to the document in question.Obsidian Vault Integrationhttps://quartz.jzhao.xyz/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/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. +Enable GitHub Actions By default, GitHub disables workflows from running automatically on Forked Repostories. Head to the &lsquo;Actions&rsquo; tab of your forked repository and Enable Workflows to setup deploying your Quartz site! +Enable GitHub ActionsEditing Content in Quartzhttps://quartz.jzhao.xyz/notes/editing/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/editing/Editing Quartz runs on top of Hugo so all notes are written in Markdown . +Obsidian I strongly recommend using Obsidian as a way to edit and grow your digital garden. It comes with a really nice editor and graphical interface to preview all of my local files. +πŸ”— How to link your Obsidian Vault +Of course, all the files are in Markdown so you could just use your favourite text editor of choice, I&rsquo;m not going to stop you!Obsidian Vault Integrationhttps://quartz.jzhao.xyz/notes/obsidian/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/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. New Vault If you don&rsquo;t have an existing Vault, download Obsidian and create a new Vault in the /content folder that you created and cloned during the setup . Linking an existing Vault The easiest way to use an existing Vault is to copy all of our files (directory and hierarchies intact) into the /content folder.Setuphttps://quartz.jzhao.xyz/notes/setup/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/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! 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.Troubleshooting and FAQhttps://quartz.jzhao.xyz/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/troubleshooting/Common Pitfalls How come my notes aren&rsquo;t being rendered? You probably forgot to include front matter in your Markdown files. You can either setup Obsidian to do this for you or you need to manually define it. More details in the &lsquo;how to edit&rsquo; guide . -My custom domain isn&rsquo;t working! Walk through the steps in the hosting guide again. Make sure you wait 30 min to 1 hour for changes to take effect. \ No newline at end of file +πŸ“ Quartz Repository Then, Fork the repository into your own GitHub account.Troubleshooting and FAQhttps://quartz.jzhao.xyz/notes/troubleshooting/Mon, 01 Jan 0001 00:00:00 +0000https://quartz.jzhao.xyz/notes/troubleshooting/Common Pitfalls Do I need a website already? No! Setting up Quartz means you set up a site too :) +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. +1 2 3 4 5 6 # Add the following 2 lines to your ~/.bash_profile export GOPATH=/Users/$USER/go export PATH=$GOPATH/bin:$PATH # In your current terminal, to reload the session source ~/. \ No newline at end of file diff --git a/notes/obsidian/index.html b/notes/obsidian/index.html index e159d6f62..18e847fbf 100644 --- a/notes/obsidian/index.html +++ b/notes/obsidian/index.html @@ -1,7 +1,7 @@ -Obsidian Vault Integration
+Obsidian Vault Integration

Obsidian Vault Integration

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

Linking an existing Vault

The easiest way to use an existing Vault is to copy all of our 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.

Under Options > Files and Links, set the New link format to always be Absolute Path in Vault and disabled WikiLinks so Obsidian generates regular Markdown links.

Obsidian SettingsObsidian Settings

Templates

Inserting front matter everytime you want to create a new Note gets really 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’. That way, when you create a new note, you can just press the hotkey for a new template and be ready to go!


Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +.

Linking an existing Vault

The easiest way to use an existing Vault is to copy all of our 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.

Under Options > Files and Links, set the New link format to always be Absolute Path in Vault and disabled WikiLinks so Obsidian generates regular Markdown links.

Obsidian SettingsObsidian Settings

Templates

Inserting front matter everytime you want to create a new Note gets really 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’. That way, when you create a new note, you can just press the hotkey for a new template and be ready to go!


Interactive Graph

\ No newline at end of file diff --git a/notes/setup/index.html b/notes/setup/index.html index 469d48d24..6207349dd 100644 --- a/notes/setup/index.html +++ b/notes/setup/index.html @@ -1,4 +1,4 @@ -Setup
+Setup

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!

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:

πŸ“ @@ -11,5 +11,5 @@ is a great place to start!

Forking

A fork i

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.

✏️ Editing Notes in Quartz

Having problems? Checkout our FAQ and Troubleshooting guide -.


Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +.


Interactive Graph

\ No newline at end of file diff --git a/notes/troubleshooting/index.html b/notes/troubleshooting/index.html index d5e2ae24d..99ef3b45c 100644 --- a/notes/troubleshooting/index.html +++ b/notes/troubleshooting/index.html @@ -1,5 +1,17 @@ -Troubleshooting and FAQ
-

Troubleshooting and FAQ

Common Pitfalls

How come my notes aren’t being rendered?

You probably forgot to include front matter in your Markdown files. You can either setup +Troubleshooting and FAQ

+

Troubleshooting and FAQ

Common Pitfalls

Do I need a website already?

No! Setting up Quartz means you set up a site too :)

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.

1
+2
+3
+4
+5
+6
+
# Add the following 2 lines to your ~/.bash_profile
+export GOPATH=/Users/$USER/go
+export PATH=$GOPATH/bin:$PATH
+
+# In your current terminal, to reload the session
+source ~/.bash_profile
+

How come my notes aren’t being rendered?

You probably forgot to include front matter in your Markdown files. You can either setup Obsidian to do this for you or you need to manually define it. More details in the ‘how to edit’ guide @@ -12,6 +24,8 @@ again. Make sure you wait 30 min to 1 hour for changes to take effect.

Example image (source is in content/notes/images/example.png)
 ![Example Image](/content/notes/images/example.png)
 

By default, the linkIndex.yaml (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.

πŸ› -Submit an Issue


Interactive Graph

Made by Jacky Zhao using Quartz, Β© 2021

Home +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


Interactive Graph

\ No newline at end of file