Jacky Zhao
2022-02-15 c35086c5104aedcaae1aba00892b0b4359a8e3cf
content/notes/preview changes.md
@@ -9,19 +9,19 @@
```shell
# Install and link `hugo-obsidian` locally
$ go install github.com/jackyzha0/hugo-obsidian
$ go install github.com/jackyzha0/hugo-obsidian@latest
# 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 -index=true
$ hugo-obsidian -input=content -output=data -index -root=.
```
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](https://gohugo.io/getting-started/installing/).
Hugo is the static site generator that powers Quartz. [Install Hugo](https://gohugo.io/getting-started/installing/) first. Then,
```
# Navigate to your local Quartz folder