updated template to render timeStamp if set only.