From de27ddb871a83e4f78a941e205d5e1bc77b81df3 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Thu, 26 Dec 2024 13:45:33 -0500 Subject: Update build to compress generated files --- build.sh | 1 + public/index.html.gz | Bin 0 -> 642 bytes public/style.css.gz | Bin 0 -> 582 bytes 3 files changed, 1 insertion(+) create mode 100644 public/index.html.gz create mode 100644 public/style.css.gz 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 Binary files /dev/null and b/public/index.html.gz differ diff --git a/public/style.css.gz b/public/style.css.gz new file mode 100644 index 0000000..1c5625b Binary files /dev/null and b/public/style.css.gz differ -- cgit v1.2.3-70-g09d2