commit 29c76080f4aecd48f8244eaa88f01e239b82d3ba parent f09e46e681b0896cabb5c4456000d14db71d98ea Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 8 Jun 2024 17:54:00 +0200 feat: make git-clone link clickable in summary Diffstat:
M | bin/git_update_repo_html.sh | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -66,7 +66,9 @@ SUMR=" <p>${RDESC}</p> <hr> <span>Clone this repository via:</span> - <pre>git clone ${RURL}</pre> + <a href=javascript:navigator.clipboard.writeText(\"git clone $RURL\");alert(\"git clone $RURL copied to your clipboard\")';> + git clone $RURL + </a> <ul> <li><a href=\"log.html\">Log</a></li> <li><a href=\"files.html\">Files</a></li>