[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">'; el += '<span class="cap" id="post-meta">';
// time // 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>'; el += '</span>';
// cat // cat
if (post.categories && post.categories.length > 0) { if (post.categories && post.categories.length > 0) {