MoncoForge:

stagit-scripts

scripts to aid in the management of stagit sites
git clone https://moncoforge.com/stagit-scripts
Download | Log | Files | Refs | README

commit 43dca1c46feaf3b5e1ac0a22c992a1a97f613fd3
parent 74ee1984e0fd895f6a6241b14860ef66e7884697
Author: MoncoForge <git@moncoforge.com>
Date:   Sat, 14 Nov 2026 14:48:17 -0800

change home href to ../

Diffstat:
Mpost-receive-stagit | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/post-receive-stagit b/post-receive-stagit @@ -59,7 +59,7 @@ addhomelink() { cd "$htdir" printf '%s\n' \ "/<h1>" \ - "s|<h1>|<h1><a href=\"$baseurl\">$indextitle:</a><\/h1> <h1> |" . w \ + "s|<h1>|<h1><a href=\"../\">$indextitle:</a><\/h1> <h1> |" . w \ | ed -s "$1" > /dev/null }