generate links scaffold