#!/bin/bash # Dependencies: mktemp, sed, imagemagick, basename, grep, sort # Config variables siteroot="../2minNoods_siteroot" noodspp=40 # Don't touch these pageno=1 noodcount=1 photolist="$(mktemp --suffix='.txt')" mkdir -p "$siteroot/img/thumbs" # html and css stolen from: https://perfectmotherfuckingwebsite.com/ # a.button stolen from: https://stackoverflow.com/a/2906586 pageheader='''