Use archie-zola and add script to update it

This commit is contained in:
Artturin 2025-02-13 17:03:01 +02:00
parent ae394178c3
commit dc0f5068b2
4 changed files with 21 additions and 0 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
themes/* linguist-vendored

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.idea/
public
themes/*.zip

View file

@ -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

17
update-theme.sh Executable file
View file

@ -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"