From 1b2a0d7c547ae17756a472fe5b0ea9a74744af4b Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Mon, 12 Jan 2026 04:00:12 +0100 Subject: [PATCH] layout: add next/previous buttons to chapters, update copyright notice for 2026 --- .gitignore | 1 + 01-Wake_Up-Jack_intro.html | 4 +- 02-Unlikely_Encounter-Annie-intro.html | 4 +- 03-A_Simple_Errand-Annie_library.html | 4 +- 04-Return_Null.html | 4 +- 05-Internet_Saboteur.html | 4 +- 06-Eventful_Evening-secret_organization.html | 4 +- 07-Library_At_Night.html | 4 +- deployment-script.sh | 13 ++++++ ea-RTFM.html | 4 +- fa-open_up.html | 4 +- ga-Who_Died_Today-Emily_intro.html | 4 +- html_resources/chapters.json | 1 + html_resources/index_template.html | 2 +- html_resources/layout.html | 35 +++++++++++++++- html_resources/style.css | 43 +++++++++++++++++--- html_resources/template.html | 4 +- ja-erosion-michelle_wakeup.html | 4 +- jc-night_watch.html | 4 +- ka-I_Like_Trains-finding_the_train.html | 4 +- km-ran_when_parked.html | 4 +- ma-Escape-from_dome_city.html | 4 +- mb-First_Steps_Outside.html | 4 +- mc-welcome_home.html | 4 +- na-Telescope.html | 4 +- oa-Lab_Rat-Emily_lab_incident.html | 4 +- pa-Bare_Necessities.html | 4 +- pb-Fine_Print.html | 4 +- ph-diesel_creek.html | 4 +- pk--lena_first_contact.html | 4 +- pm--emily_wake_up_again.html | 4 +- qa-Overdue_Maintenence-power_station.html | 4 +- qb-Banished.html | 4 +- qc-the_floor_is_water.html | 4 +- ra--Emily_first_contact.html | 4 +- ta-consulting-no_u_dont_have_train.html | 4 +- va-Alone-Lena_death.html | 4 +- vb--Emily_incoming_call.html | 4 +- za--story-end-outline.html | 4 +- zb-Pancakes-reaching_nova_metropolis.html | 4 +- zd-Nova_Metropolis.html | 4 +- zy-Landing_Troubles.html | 4 +- zz--end.html | 4 +- 43 files changed, 160 insertions(+), 83 deletions(-) create mode 100644 html_resources/chapters.json diff --git a/.gitignore b/.gitignore index f47ff2a..8addb9e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /index.html *.swp +/chapters.json diff --git a/01-Wake_Up-Jack_intro.html b/01-Wake_Up-Jack_intro.html index a1ef278..c90919c 100644 --- a/01-Wake_Up-Jack_intro.html +++ b/01-Wake_Up-Jack_intro.html @@ -1,4 +1,4 @@ -
Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/02-Unlikely_Encounter-Annie-intro.html b/02-Unlikely_Encounter-Annie-intro.html index c2838ce..e3edd39 100644 --- a/02-Unlikely_Encounter-Annie-intro.html +++ b/02-Unlikely_Encounter-Annie-intro.html @@ -1,4 +1,4 @@ -Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/03-A_Simple_Errand-Annie_library.html b/03-A_Simple_Errand-Annie_library.html index ab6d47f..7bdde1c 100644 --- a/03-A_Simple_Errand-Annie_library.html +++ b/03-A_Simple_Errand-Annie_library.html @@ -1,4 +1,4 @@ -Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/04-Return_Null.html b/04-Return_Null.html index f542549..b9bb611 100644 --- a/04-Return_Null.html +++ b/04-Return_Null.html @@ -1,4 +1,4 @@ -Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/05-Internet_Saboteur.html b/05-Internet_Saboteur.html index aeb5f41..5c77a19 100644 --- a/05-Internet_Saboteur.html +++ b/05-Internet_Saboteur.html @@ -1,4 +1,4 @@ -Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/07-Library_At_Night.html b/07-Library_At_Night.html index fe07018..22f40cf 100644 --- a/07-Library_At_Night.html +++ b/07-Library_At_Night.html @@ -1,4 +1,4 @@ -Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/deployment-script.sh b/deployment-script.sh index 836dfb9..e4563e5 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -11,8 +11,21 @@ function genlinks { done } +function genjson { + echo -n '{"pages":[' + { for FILE in $(find . -maxdepth 1 -type f -name "??-*.html" | sort); do + echo "$FILE" >&2 + echo -n "\"$FILE\"," + done } | sed -e 's/.$//' + echo "]}" +} + +echo "Generating landing page..." >&2 sed -ne '/ /q;p' html_resources/index_template.html > index.html # for some fucking reason, there is no way to tell wc to only print the number so we do cat abuse to get rid of the filename LINE_NUMBER=$(("$(cat index.html | wc -l)"+2)) genlinks >> index.html tail -n+$LINE_NUMBER html_resources/index_template.html >> index.html + +echo "Generating chapters JSON..." >&2 +genjson > chapters.json diff --git a/ea-RTFM.html b/ea-RTFM.html index 5b96d9c..b7459a1 100644 --- a/ea-RTFM.html +++ b/ea-RTFM.html @@ -1,4 +1,4 @@ -Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/fa-open_up.html b/fa-open_up.html index 77d43e3..166cdad 100644 --- a/fa-open_up.html +++ b/fa-open_up.html @@ -1,4 +1,4 @@ -@@ -62,4 +62,4 @@ overgrown with large bushes. He pushes the leaves aside and
-Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/ga-Who_Died_Today-Emily_intro.html b/ga-Who_Died_Today-Emily_intro.html index 6cf41ee..f0abd5d 100644 --- a/ga-Who_Died_Today-Emily_intro.html +++ b/ga-Who_Died_Today-Emily_intro.html @@ -1,4 +1,4 @@ -Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
+Copyright © 2023-2026 Jan Danielzick (aka. BodgeMaster) – All rights reserved.
diff --git a/html_resources/chapters.json b/html_resources/chapters.json new file mode 100644 index 0000000..158452f --- /dev/null +++ b/html_resources/chapters.json @@ -0,0 +1 @@ +{"pages":["./prev.html","./layout.html","./next.html"]} diff --git a/html_resources/index_template.html b/html_resources/index_template.html index 2cc568b..f784624 100644 --- a/html_resources/index_template.html +++ b/html_resources/index_template.html @@ -43,4 +43,4 @@Copyright © 2023-2025 Jan Danielzick (aka. BodgeMaster) – All rights reserved.