commit f1b36e195f516bb1b67ab211a5c6c322f7e7e630
parent ca5e1400cfbce1c7c60d49ae540f2a09bc09e926
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sun, 23 Mar 2025 11:50:19 +0100
fix: add nofollow to feeds list
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run.sh b/run.sh
@@ -62,7 +62,7 @@ FEEDS="<ul>"
for i in `seq 1 1 $NFEEDS`; do
TITLE=`echo "$TITLES" | sed -n "${i},${i}p"`
WEB=`echo "$WEBS" | sed -n "${i},${i}p"`
- FEEDS="${FEEDS}<li><a href=\"${WEB}\">${TITLE}</a></li>"
+ FEEDS="${FEEDS}<li><a rel=\"nofollow\" target=\"_blank\" href=\"${WEB}\">${TITLE}</a></li>"
done
FEEDS=`echo "${FEEDS}</ul>" | sed -e 's/\//\\\\\//g' -ze 's/\n//g'`
sed -E -e "s/<\!--FEEDS-->/$FEEDS/" -i "$HTML"