Template modification for tabs preview