~chambln/cosine.blue

ref: 67890908f441eda7ed4f4b472c5025b18ae34053 cosine.blue/src/photos.html.sh -rw-r--r-- 508 bytes
67890908Gregory Chamberlain Reword opening paragraph for the gallery 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
. 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""'