Adding thumbnail to the all page templates