summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-08-04 11:16:31 +0200
committerVolpeon <git@volpeon.ink>2022-08-04 11:16:31 +0200
commit0e6d2cf355fc675735e729126efc26b583acdb5f (patch)
treed566cc3d4196bd377336ab4ab1ae1f33673c58f5 /Makefile
parentOverhauled metadata handling (diff)
downloadvolpeon.ink-0e6d2cf355fc675735e729126efc26b583acdb5f.tar.gz
volpeon.ink-0e6d2cf355fc675735e729126efc26b583acdb5f.tar.bz2
volpeon.ink-0e6d2cf355fc675735e729126efc26b583acdb5f.zip
Made parent page accessible; more flexible main menu by using patterns insteda of IDs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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, \
96 --metadata-file "$<" \ 96 --metadata-file "$<" \
97 --metadata build.mode="$(MODE)" \ 97 --metadata build.mode="$(MODE)" \
98 --template scripts/metadata.json \ 98 --template scripts/metadata.json \
99 -o "$@" "$<" 99 -o "$@.meta" "$<"
100 jq '{ tree: . }' "$@.meta" > "$@"
101 rm "$@.meta"
100 102
101.cache/assets.json: $(ASSET_FILES) | .cache 103.cache/assets.json: $(ASSET_FILES) | .cache
102 $(info [ASET] $@) 104 $(info [ASET] $@)