Yes, you can add additional information to the title property of the template. For example
const template = {
title: "Earthquake Info for {place}",
content: "Magnitude {mag} {type} hit {place} on {time}",
fieldInfos: [
{
fieldName: "time",
format: {
dateFormat: "short-date-short-time"
}
}
]
};
will give you this result