port to genericskel minitage templates