commit 8c252a85e9e73cd803c85593321c05e66b3c9ad8 parent cb4941f74349cf46d5d3465ca3738ff32d67ddce Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Thu, 1 Jan 2026 19:36:49 +0100 Fix broken-looking link on stagit pages Diffstat:
| M | git/add-repo.sh | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/git/add-repo.sh b/git/add-repo.sh @@ -28,7 +28,15 @@ declare -r REPO_URL=https://${DOMAIN}/${REPO_NAME} git init --bare "${REPO_NAME}" cd "${REPO_NAME}" + ln -s ../*.{css,png} . + + # stagit puts a clickable link on every page's 'git clone' blurb; + # make sure there is a browser-friendly page for users to land on, + # instead of a 40x. + # Use log.html: that aligns with stagit-index's repo links. + ln -s log.html index.html + ln -sf "${REPO_DESCRIPTION}" . echo "${REPO_OWNER}" > owner echo "${REPO_URL}" > url