diff options
author | Volpeon <git@volpeon.ink> | 2022-08-04 11:16:31 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-08-04 11:16:31 +0200 |
commit | 0e6d2cf355fc675735e729126efc26b583acdb5f (patch) | |
tree | d566cc3d4196bd377336ab4ab1ae1f33673c58f5 /Makefile | |
parent | Overhauled metadata handling (diff) | |
download | volpeon.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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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] $@) |