Add retro theme

This commit is contained in:
2024-02-19 14:05:14 +00:00
parent 58987bfbdf
commit 04374cdfeb
17 changed files with 274 additions and 0 deletions

12
tools/retro-deploy.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Deploys the retro version of the website. Ran the same way as the branch deploy.
set -u
TARGET_FOLDER=$(realpath $1)
BASE_URL="$2"
# Arguments to add to the Hugo call
HUGO_ARGUMENTS="--gc"
git pull
hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro"