diff --git a/.gitignore b/.gitignore index 4139cd5..4cc12b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea/ public +themes/*.zip diff --git a/config.toml b/config.toml index df06d9b..1f9b7a2 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,8 @@ # The URL the site will be built for base_url = "https://bluespec.dev" +theme = "archie-zola" + # Whether to automatically compile all Sass files in the sass directory compile_sass = true diff --git a/update-theme.sh b/update-theme.sh new file mode 100755 index 0000000..d1cfd50 --- /dev/null +++ b/update-theme.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env nix-shell +#! nix-shell -p bash unzip -i bash +# shellcheck shell=bash + +set -euo pipefail + +cd "themes" + +wget "https://github.com/XXXMrG/archie-zola/archive/refs/heads/main.zip" + +unzip "main.zip" + +rm -rf "archie-zola" + +mv "archie-zola-main" "archie-zola" + +rm -f "main.zip"