Add alt tag to images.
This commit is contained in:
@ -131,7 +131,7 @@ ls $PHOTOS_DIR/ | sort -r | while read album; do
|
||||
elif [[ $photo == *".md" || $photo == *".txt" ]]; then
|
||||
echo -e "\t\t\t\t\t<p>`cat $photo`</p>" >> $subpage
|
||||
else
|
||||
echo -e "\t\t\t\t\t<img src='/$photo'/>" >> $subpage
|
||||
echo -e "\t\t\t\t\t<img src='/$photo'/ alt="">" >> $subpage
|
||||
fi
|
||||
# Check if it needs an extra descriptive detail.
|
||||
echo -en "\t\t\t\t\t<p>$filename" >> $subpage
|
||||
|
Reference in New Issue
Block a user