Move thumbs template to separate file