Jacky Zhao
2022-02-15 fb9ea8dcb85e6d2ac6c2a8cf5057f2fb00871b26
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 with "extended" Sass/SCSS version](https://gohugo.io/getting-started/installing/) first. Then,
```
# Navigate to your local Quartz folder
@@ -31,4 +31,4 @@
$ hugo server
# View your site in a browser at http://localhost:1313/
```
```