[opt] post card
This commit is contained in:
parent
60b80fa275
commit
4eccaf0ed2
|
@ -71,7 +71,7 @@ function div_default() {
|
|||
el += '<span class="cap" id="post-meta">';
|
||||
|
||||
// time
|
||||
el += __("meta.created") + ' ' + '<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) {
|
||||
|
|
Loading…
Reference in New Issue