show alt text

This commit is contained in:
xfnw 2020-08-14 19:03:44 -04:00
parent c3ff4d698d
commit cb72566665

2
xfwc
View file

@ -14,7 +14,7 @@ NEWF=$NUM.html
TITLE=$(echo ${fn%????} | sed 's/_/ /g; s/[0-9]*//g' | sed -e 's/[]$.*[\^]/\\&/g')
echo "rendering $NEWF..."
echo "<img class='comic' src='src/$fn'/>" > $BOOPTMP
echo "<img class='comic' alt='$TITLE' title='$TITLE' src='src/$fn'/>" > $BOOPTMP
cp template/page.html $NEWF
sed "/COMIC -->/r $BOOPTMP" template/page.html > $NEWF