From d809e75648965182807f1b9b84be10fcf5a386b6 Mon Sep 17 00:00:00 2001 From: Madison Rye Progress Date: Sat, 14 Mar 2026 20:06:12 -0700 Subject: [PATCH] Update maddybook --- .gitignore | 1 + netlify.toml | 19 ++++++++++++++----- themes/maddybook | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index e7e3002..421e603 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .hugo_build.lock public +resources/_gen diff --git a/netlify.toml b/netlify.toml index 5b01c51..753ba75 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,15 @@ -[build] - command = "hugo" - publish = "public" - [build.environment] - HUGO_VERSION = "0.157.0" +DART_SASS_VERSION = "1.98.0" +GO_VERSION = "1.26.1" +HUGO_VERSION = "0.157.0" + +[build] +publish = "public" +command = """\ + curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ + tar -C "${HOME}/.local" -xf "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ + rm "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ + export PATH="${HOME}/.local/dart-sass:${PATH}" && \ + git config core.quotepath false && \ + hugo build --gc --minify --baseURL "${URL}" + """ diff --git a/themes/maddybook b/themes/maddybook index 42eb322..0aca930 160000 --- a/themes/maddybook +++ b/themes/maddybook @@ -1 +1 @@ -Subproject commit 42eb32254f921d2eba6796bb3b298b0ac0f06459 +Subproject commit 0aca930787cd1ac9899e63c7a2a44affe806341c