projects
/
bpgallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version number for release
[bpgallery.git]
/
bpgallery.sh
diff --git
a/bpgallery.sh
b/bpgallery.sh
index ba71cc7edab3cefd248a2fedf758434f41b0ae22..0317e0be6ab5ca2d849594cbcab6fb85ca33aedf 100755
(executable)
--- a/
bpgallery.sh
+++ b/
bpgallery.sh
@@
-19,7
+19,7
@@
set -f
set -f
-VERSION="1.0.
0+arch
"
+VERSION="1.0.
1
"
function bpgallery_default_head() {
cat <<END
function bpgallery_default_head() {
cat <<END
@@
-46,8
+46,13
@@
END
declare -rf bpgallery_default_description
function bpgallery_default_thumbsline() {
declare -rf bpgallery_default_description
function bpgallery_default_thumbsline() {
+if [[ -z $caption ]]; then
+ caption_alt=Unknown
+else
+ caption_alt=$caption
+fi
cat << END
cat << END
-<div class="thumbnail"><a href="$filename"><img src="icons/$filename" /></a><div class="caption">$caption</div></div>
+<div class="thumbnail"><a href="$filename"><img src="icons/$filename"
alt="$caption_alt"
/></a><div class="caption">$caption</div></div>
END
}
END
}