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 7f78ec16d3156fd66392bb09cd3785ddd02f4069
parent 57dec2db41bccc7da60272db51cf418518b326c7
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  8 Jun 2024 18:27:57 +0200

fix: include long description as pre-formatted

Diffstat:
Massets/style.css | 4++++
Mbin/git_update_repo_html.sh | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/assets/style.css b/assets/style.css @@ -151,6 +151,10 @@ pre { font-family: monospace; } +pre#description { + font-family: sans-serif, serif; +} + pre a.h:hover, pre a.i:hover, pre a.d:hover { diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -58,7 +58,7 @@ RURL=$(cat "${1}/${2}/${3}.git/url" 2>/dev/null) ## generate summary injection content SUMR=" ${ACTIVITY_HTML} - <p id=\"description\">${RDESC}</p> + <pre id=\"description\">${RDESC}</pre> <hr> <span>Clone this repository via:</span><br> <pre>git clone <a href=\"$RURL\">$RURL</a></pre>