port to genericskel minitage template