X-Git-Url: https://git.sommitrealweird.co.uk/bpgallery.git/blobdiff_plain/415e75cecaa7cc34cb133085d07021e93ee345d5..8dd6afbdfc214b076c60f3fdc0e611a529f01240:/bpgallery.sh diff --git a/bpgallery.sh b/bpgallery.sh index ba71cc7..f1dcee7 100755 --- a/bpgallery.sh +++ b/bpgallery.sh @@ -46,8 +46,13 @@ END declare -rf bpgallery_default_description function bpgallery_default_thumbsline() { +if [[ -z $caption ]]; then + caption_alt=Unknown +else + caption_alt=$caption +fi cat << END -
+ END }