[opt] post card

This commit is contained in:
xaoxuu 2024-01-22 22:59:35 +08:00
parent 60b80fa275
commit 4eccaf0ed2
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function div_default() {
el += '<span class="cap" id="post-meta">';
// time
el += __("meta.created") + '&nbsp;' + '<time datetime="' + date_xml(post.date) + '">' + date(post.date, config.date_format) + '</time>';
el += `<time datetime="${date_xml(post.date)}">${date(post.date, config.date_format)}</time>`
el += '</span>';
// cat
if (post.categories && post.categories.length > 0) {