added tag and pagination layouts