pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 283218fb82b562937e09b37ac0ceda4b284199b6
parent eafda257d5ea38c6a49cbb86029b1dbf2b48ed4e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  8 Jun 2024 19:12:34 +0200

fix: do not link back button

Diffstat:
Massets/style.css | 2++
Mbin/git_update_repo_html.sh | 3+--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/assets/style.css b/assets/style.css @@ -175,6 +175,8 @@ pre a.d:hover { body > table:nth-child(1) { margin-left: auto; margin-right: auto; + width: 100%; + max-width: 850px; } /* Hide icon and empty cells in headline */ diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -89,7 +89,6 @@ find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; INJEXP="s/^(<a\ href=\"\/${2}\/${3}\/index.html\">)/<a\ href=\"\/${2}\/\"><strong>All Repos<\/strong><\/a>\ \| \1/" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; - # Replace "git clone" href INJEXP="s/(git\ clone)\ <a href=\"(https:\/\/.*?\.git)\">/<a href='javascript:navigator.clipboard.writeText(\"\1 \2\");alert(\"\1 \2 copied to your clipboard\")';>\1 /g" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; @@ -97,5 +96,5 @@ find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Linking Assets --------------------------------------------------------------- ln -sf "${1}/assets/style.css" "${1}/${2}/${3}/style.css" ln -sf "${1}/assets/favicon.png" "${1}/${2}/${3}/favicon.png" -ln -sf "${1}/assets/backicon.png" "${1}/${2}/${3}/logo.png" +# ln -sf "${1}/assets/backicon.png" "${1}/${2}/${3}/logo.png"