minor improvements, make all* images links

This commit is contained in:
gnat
2024-08-20 15:00:23 -07:00
parent 5c502a9ac3
commit a8afbedae6
6 changed files with 6 additions and 3 deletions

View File

@ -7,5 +7,5 @@ if [ -z "${caption}" ]; then
caption="$(basename "$path" | sed 's/-/ /g; s/\.[^.]*$//')"
fi
echo "<figure><img src='$path' alt='$caption'><figcaption>$caption</figcaption></figure>"
echo "<figure><a href='$path'><img src='$path' alt='$caption'></a><figcaption>$caption</figcaption></figure>"