# Album HTML - links ::run test ! -d scratch ::run mkdir scratch ::run mkdir scratch/{1,2,3,4} ::sleep 1 :{write scratch/photopubrc dir scratch/1 suffix .jpg dir scratch/1 filename info makealbum all dir scratch/2 suffix .jpg dir scratch/2 filename info makealbum all dir scratch/3 suffix .jpg dir scratch/3 filename info makealbum all dir scratch/4 suffix .jpg dir scratch/4 filename info makealbum all title "Foo" include test3/all title "Bar" include test4/all standard scratch/album.thtml :} :{write scratch/1/info group 1-5 foo :} :{write scratch/2/info group 1-5 bar :} :{write scratch/3/info group 1-5 baz :} :{write scratch/4/info group 1-5 quux :} :{write scratch/album.thtml $description $title :} :{init :{albumhtml album=/all style=/standard Foo baz Bar quux :} :} ::sleep 1 :{write scratch/album.thtml $description $title :} :{init :{albumhtml album=/all style=/standard quux Bar baz Foo :} :} ::sleep 1 :{write scratch/album.thtml $description $title :} :{init :{albumhtml album=/all style=/standard Foo Bar quux baz :} :} ::sleep 1 :{write scratch/album.thtml $description $title :} :{init :{albumhtml album=/all style=/standard Foo baz Bar quux :} :} ::run rm scratch/{1,2,3,4}/* ::run rmdir scratch/{1,2,3,4} ::run rm scratch/* ::run rmdir scratch