From 540e5363d828f685037e665c6ec423d4ae3ca170 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Thu, 21 Aug 2025 14:17:45 -0400 Subject: Use mdhtml build structure --- _footer.html | 2 +- build.sh | 10 ---------- mdhtml | 10 ++++++++++ public/index.html | 2 +- public/index.html.gz | Bin 4154 -> 4148 bytes public/style.css.gz | Bin 559 -> 559 bytes 6 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 build.sh create mode 100644 mdhtml diff --git a/_footer.html b/_footer.html index 0cadec2..a2cb6ee 100644 --- a/_footer.html +++ b/_footer.html @@ -2,7 +2,7 @@ diff --git a/build.sh b/build.sh deleted file mode 100644 index fd5a2cf..0000000 --- a/build.sh +++ /dev/null @@ -1,10 +0,0 @@ -# ! /bin/sh -rm -rf public/* -cp -R assets/* public/ - -for file in *.md; do - name="${file%.md}" - (cat _header.html; kramdown "$file"; cat _footer.html) > "public/${name}.html" -done - -find public -type f \( -name "*.html" -o -name "*.css" \) -exec gzip -k -f {} \; diff --git a/mdhtml b/mdhtml new file mode 100644 index 0000000..fd5a2cf --- /dev/null +++ b/mdhtml @@ -0,0 +1,10 @@ +# ! /bin/sh +rm -rf public/* +cp -R assets/* public/ + +for file in *.md; do + name="${file%.md}" + (cat _header.html; kramdown "$file"; cat _footer.html) > "public/${name}.html" +done + +find public -type f \( -name "*.html" -o -name "*.css" \) -exec gzip -k -f {} \; diff --git a/public/index.html b/public/index.html index babd3de..c8a677e 100644 --- a/public/index.html +++ b/public/index.html @@ -229,7 +229,7 @@ rcctl start apmd diff --git a/public/index.html.gz b/public/index.html.gz index 906d4b0..d8c72a4 100644 Binary files a/public/index.html.gz and b/public/index.html.gz differ diff --git a/public/style.css.gz b/public/style.css.gz index 4c9df99..342eb70 100644 Binary files a/public/style.css.gz and b/public/style.css.gz differ -- cgit v1.2.3-70-g09d2