From: Kai Moritz Date: Mon, 6 Apr 2026 08:37:28 +0000 (+0200) Subject: `import-in-hugo.sh` prints out the found pages X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=2803e1bb67a626ccf3933835a0b6c178a6f9b5d1;p=maven-thymeleaf-skin `import-in-hugo.sh` prints out the found pages --- diff --git a/src/main/resources/import-in-hugo.sh b/src/main/resources/import-in-hugo.sh index 6ca6a2a..397e4cd 100755 --- a/src/main/resources/import-in-hugo.sh +++ b/src/main/resources/import-in-hugo.sh @@ -27,6 +27,7 @@ do SOURCE="$i" FILE=$(basename $SOURCE $SCRIPT_DIR) PAGE_ENTRY=$(echo "$JSON" | jq '.pages|to_entries[]|select(.value.href == "'"$FILE"'")') + echo -n "Found $FILE: " echo "$PAGE_ENTRY" | jq -C . PAGE=$(echo "$PAGE_ENTRY" | jq .value) PATH_IN_PROJECT=$(echo "$PAGE" | jq -r .path)