dist setup for detail page