jade template iterates over posts