fix(core): fix lint error

master
ppoffice 2025-01-04 22:01:27 -08:00
parent b7fb213546
commit 72d9101fed
No known key found for this signature in database
GPG Key ID: D872802C1F2A16AA
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ module.exports = class extends Component {
{page.layout !== 'page' ? <div class="article-meta is-size-7 is-uppercase level is-mobile">
<div class="level-left">
{/* PIN Icon */}
{page.top ? (<i class="fas fa-thumbtack level-item" title="Pinned"></i>) : null}
{page.top ? <i class="fas fa-thumbtack level-item" title="Pinned"></i> : null}
{/* Creation Date */}
{page.date && <span class="level-item" dangerouslySetInnerHTML={{
__html: _p('article.created_at', `<time dateTime="${date_xml(page.date)}" title="${new Date(page.date).toLocaleString()}">${date(page.date)}</time>`)