pub / newsplanet

Planet-Style Newsfeed generated with perlanet
git clone https://src.jayvii.de/pub/newsplanet.git
Home | Log | Files | Exports | Refs | README | RSS

commit 6f28f25b0bbda721c6df32f90fcdf23e3603df1c
parent 7169e500c9722f311171705e889bfc4b37d83dcf
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu, 12 Dec 2024 10:38:06 +0100

feat: add alt text and title to favicons

Diffstat:
Mrun.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.sh b/run.sh @@ -43,7 +43,7 @@ sed -E -e "s/<!--MANIFEST-->/\"$MANIFEST\"/" -i "$HTML" # insert favicon image buttons printf "Inserting favicons...\n" -sed -E -e 's/<!--IMG\ src=\"https:\/\/([^\/]*)[^\"]*(\"[^>]*>)-->/<img src=\"\/assets\/site-icons\/\1\2/g' -i "$HTML" +sed -E -e 's/<!--IMG\ src=\"https:\/\/([^\/]*)[^\"]*(\"[^>]*>)-->/<img alt=\"\1\" title=\"\1\" src=\"\/assets\/site-icons\/\1\2/g' -i "$HTML" # Insert feeds list printf "Inserting feeds list...\n"