the random blocks, date blocks and gallery blocks should be generated using the views API.