From 32f5771918c98c1a11f77b547b94d71d9e9bcf50 Mon Sep 17 00:00:00 2001 From: luc Date: Thu, 10 Sep 2026 22:21:27 +0200 Subject: [PATCH] gsite.sh: add --- gsite.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 gsite.sh diff --git a/gsite.sh b/gsite.sh new file mode 100755 index 0000000..6689bdd --- /dev/null +++ b/gsite.sh @@ -0,0 +1,24 @@ +#!/bin/bash +set -euo pipefall + +wow=$(shuf -n 1 wow.txt) +commit_message=$(git log -1 --pretty=%s) +date=$(date --iso-8601=seconds) + +mkdir -p public + +cat > public/index.html < + + + + Commit words of wisdom + + +

Commit words of wisdom

+

${wow}

+

Latest commit: ${commit_message}

+

Generated: ${date}

+ + +EOF