~chambln/cosine.blue

ref: f52aeb35764edd6ec865ba4755434a22e9ff4d0b cosine.blue/src/photos.html.sh -rw-r--r-- 538 bytes
f52aeb35Gregory Chamberlain Capitalise reference to page title 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
. share/lib.sh

cmark <<EOF
Here 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 me an email] specifying which image(s) you would like.

  [send me an email]: mailto:greg@cosine.blue
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""'