set up gallery page to use blocks