~chambln/cosine.blue

ref: c98ada7ae912b8190cdf0b3112ed5fbbb0d746f0 cosine.blue/src/photos.html.sh -rw-r--r-- 534 bytes
c98ada7aGregory Chamberlain Break long line 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
. share/lib.sh

cmark <<EOF
These are some of the photos I’ve taken.  They are all Creative
Commons—see [Licence](/licence.html) for more details.  Higher
resolution copies are available on request (up to 5184 x 3456); just
send an email to <greg@cosine.blue> specifying which image(s) you
would like.
EOF

for img in src/photos/*; do
    [ -e "$img" ] || continue
    img=${img##*/}
    printf '<a href="%s"><figure><img src="%s"></figure></a>' \
           /"$img" \
           /thumbnail/"$img"
done | x 'section id="photos""'