From 0e6d2cf355fc675735e729126efc26b583acdb5f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 4 Aug 2022 11:16:31 +0200 Subject: Made parent page accessible; more flexible main menu by using patterns insteda of IDs --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index aaf589d..9e389b3 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,9 @@ subpages = $(patsubst content/%.md,.cache/meta/%.json, \ --metadata-file "$<" \ --metadata build.mode="$(MODE)" \ --template scripts/metadata.json \ - -o "$@" "$<" + -o "$@.meta" "$<" + jq '{ tree: . }' "$@.meta" > "$@" + rm "$@.meta" .cache/assets.json: $(ASSET_FILES) | .cache $(info [ASET] $@) -- cgit v1.2.3-70-g09d2