Use archie-zola and add script to update it
This commit is contained in:
parent
ae394178c3
commit
ff6f6916b3
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
.idea/
|
||||
public
|
||||
themes/*.zip
|
||||
|
|
|
@ -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
17
update-theme.sh
Executable 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"
|
Loading…
Reference in a new issue