Use archie-zola and add script to update it
This commit is contained in:
parent
ae394178c3
commit
dc0f5068b2
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
themes/* linguist-vendored
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
.idea/
|
.idea/
|
||||||
public
|
public
|
||||||
|
themes/*.zip
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# The URL the site will be built for
|
# The URL the site will be built for
|
||||||
base_url = "https://bluespec.dev"
|
base_url = "https://bluespec.dev"
|
||||||
|
|
||||||
|
theme = "archie-zola"
|
||||||
|
|
||||||
# Whether to automatically compile all Sass files in the sass directory
|
# Whether to automatically compile all Sass files in the sass directory
|
||||||
compile_sass = true
|
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