From 6f9283e95b9f0b85c0d9dc7374ed75eff2a9149d Mon Sep 17 00:00:00 2001 From: Claudio Yanes Date: Fri, 4 Mar 2022 22:27:21 +0000 Subject: [PATCH] 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. --- Makefile | 2 +- content/notes/preview changes.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3c6c0af..038d69e 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,4 @@ help: ## Show all Makefile targets @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 diff --git a/content/notes/preview changes.md b/content/notes/preview changes.md index 8d2a389..7f12f30 100644 --- a/content/notes/preview changes.md +++ b/content/notes/preview changes.md @@ -17,7 +17,7 @@ $ go install github.com/jackyzha0/hugo-obsidian@latest $ cd # 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.