Added sitemap gen to render.sh

This commit is contained in:
Atlas Cove 2023-02-19 01:18:26 +00:00
parent 486af48ae8
commit 27ee806f3a

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# render.sh: part of the tape-and-string framework. # render.sh: part of the tape-and-string framework.
# v3.4-p5 # v3.4-p6
#B: Load #B: Load
enable -f /usr/lib/bash/csv csv enable -f /usr/lib/bash/csv csv
declare -A title declare -A title
@ -71,12 +71,17 @@ function other {
inf "Copying other files..." inf "Copying other files..."
cp -rv 'in'/* out/ cp -rv 'in'/* out/
} }
function sitemap {
inf "Generating Sitemap..."
./gensimap.sh
}
function all { function all {
load_title load_title
dirs dirs
docs docs
sass sass
other other
sitemap
} }
function info { function info {
load_title load_title
@ -124,6 +129,7 @@ case $1 in
other) other;; other) other;;
rest) other;; rest) other;;
info) info;; info) info;;
sitemap) sitemap;;
vall) info; all;; vall) info; all;;
all) all;; all) all;;
*) all;; *) all;;