Claudio Yanes
2022-03-04 6f9283e95b9f0b85c0d9dc7374ed75eff2a9149d
Update makefile and docs

The artifacts produced by hugo-obsidian are now expected to be placed in
the assets/indices directory. This commit reflects this change in the
Makefile and in the docs.
2 files modified
4 ■■■■ changed files
Makefile 2 ●●● patch | view | raw | blame | history
content/notes/preview changes.md 2 ●●● patch | view | raw | blame | history
Makefile
@@ -4,4 +4,4 @@
    @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
serve: ## serve
    hugo-obsidian -input=content -output=static -index -root=. && hugo server
    hugo-obsidian -input=content -output=assets/indices -index -root=. && hugo server
content/notes/preview changes.md
@@ -17,7 +17,7 @@
$ cd <location-of-your-local-quartz>
# Scrape all links in your Quartz folder and generate info for Quartz
$ hugo-obsidian -input=content -output=static -index -root=.
$ hugo-obsidian -input=content -output=assets/indices -index -root=.
```
If 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.