aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-12-26 13:45:33 -0500
committerBradley Taunt <bt@btxx.org>2024-12-26 13:45:33 -0500
commitde27ddb871a83e4f78a941e205d5e1bc77b81df3 (patch)
tree7e794780074b05a649d77f2d07447a6f425fca18
parent8ffbd243048a418fb1b6035425a50075b77ef6cc (diff)
Update build to compress generated files
-rw-r--r--build.sh1
-rw-r--r--public/index.html.gzbin0 -> 642 bytes
-rw-r--r--public/style.css.gzbin0 -> 582 bytes
3 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index d2cfcf8..313f5a8 100644
--- a/build.sh
+++ b/build.sh
@@ -1,2 +1,3 @@
# ! /bin/sh
(cat _header.html; multimarkdown index.md; cat _footer.html) > public/index.html
+find public -type f \( -name "*.html" -o -name "*.css" \) -exec gzip -k -f {} \; \ No newline at end of file
diff --git a/public/index.html.gz b/public/index.html.gz
new file mode 100644
index 0000000..704e481
--- /dev/null
+++ b/public/index.html.gz
Binary files differ
diff --git a/public/style.css.gz b/public/style.css.gz
new file mode 100644
index 0000000..1c5625b
--- /dev/null
+++ b/public/style.css.gz
Binary files differ