Jacky Zhao
2022-01-04 99aea4826068564f81e7f1b402e00e3e101a1476
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