Publish: <%= date(page.date, config.date_format) %>
<% var posted = date(page.date, 'MMM DD, YYYY')
var edited = date(page.updated, 'MMM DD, YYYY')
if (posted !== edited) { %>
Update: <%= date(page.updated, config.date_format) %>
<% } %>