Format news slider template file