summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_content.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build_content.sh b/scripts/build_content.sh
index e2b3bb3..12de8c8 100755
--- a/scripts/build_content.sh
+++ b/scripts/build_content.sh
@@ -94,12 +94,15 @@ get_subpages_meta() {
94 94
95 pages=$(echo "{}" | jq ". + { \ 95 pages=$(echo "{}" | jq ". + { \
96 all: [], \ 96 all: [], \
97 by_year: {} \ 97 by_year: {}, \
98 not_empty: false \
98 }") 99 }")
99 100
100 if [ ${#child_pages[@]} -ne 0 ]; then 101 if [ ${#child_pages[@]} -ne 0 ]; then
101 #echo -e "\033[0;90m[////////]\033[0m Child pages:" 102 #echo -e "\033[0;90m[////////]\033[0m Child pages:"
102 103
104 pages=$(echo "$pages" | jq ".not_empty = true")
105
103 for file in "${child_pages[@]}"; do 106 for file in "${child_pages[@]}"; do
104 #echo -e "\033[0;90m[////////]\033[0m - $file" 107 #echo -e "\033[0;90m[////////]\033[0m - $file"
105 108