Add db query to index of categories, add markup to itemplate.