~chambln/cosine.blue

ref: 1fe2eee4f07d41f9275708e92937cef5be9c1386 cosine.blue/src/photos.html.sh -rw-r--r-- 534 bytes
1fe2eee4Gregory Chamberlain Reword kakoune-interactively description 4 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""'