move tags from layout to index