Phase 7 (part 1): assemble the archived site and apply the seed layer
prepare_site.py rebuilds web/site/ from site-src/: rebuilt home page, repaired images, Wayback links resolved to local files or neutralised, hit counter removed, crawler metadata dropped, home page breadcrumb. Link check fails the build on dangling references. Seed layer adds public/IT-inventaire.txt and robots.txt.
This commit is contained in:
@@ -12,6 +12,8 @@ source "$LAB_DIR/lib/common.sh"
|
||||
source "$LAB_DIR/lib/check.sh"
|
||||
# shellcheck source=lib/cmd_init.sh
|
||||
source "$LAB_DIR/lib/cmd_init.sh"
|
||||
# shellcheck source=lib/cmd_web.sh
|
||||
source "$LAB_DIR/lib/cmd_web.sh"
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
@@ -125,7 +127,7 @@ case $cmd in
|
||||
up|down) planned "$cmd" "phase 3" ;;
|
||||
reset) planned reset "phase 8" ;;
|
||||
status) planned status "phase 8" ;;
|
||||
web) planned web "phase 7" ;;
|
||||
web) cmd_web ;;
|
||||
doctor) planned doctor "phase 8" ;;
|
||||
peers) planned peers "phase 11" ;;
|
||||
export-kali) planned export-kali "phase 9" ;;
|
||||
|
||||
Reference in New Issue
Block a user