fix h-card

pull/1284/head
xiang578 2023-03-28 11:42:14 +08:00
parent d0bb15e03d
commit 99b5de6e0b
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ module.exports = class extends Component {
__html: _p('article.updated_at', `<time dateTime="${date_xml(page.updated)}" title="${new Date(page.updated).toLocaleString()}">${date(page.updated)}</time>`)
}}></span>}
{/* author */}
{config.author ? <a rel="author" class="level-item p-author h-card" href="/about"> {config.author} </a> : null}
{config.author ? <a class="level-item" href="/about"> {config.author} </a> : null}
{/* Categories */}
{page.categories && page.categories.length ? <span class="level-item">
{(() => {

View File

@ -29,7 +29,7 @@ class Profile extends Component {
followTitle,
socialLinks
} = this.props;
return <div class="card widget h-card h-entry" data-type="profile">
return <div class="card widget h-card p-author" data-type="profile">
<div class="card-content">
<nav class="level">
<div class="level-item has-text-centered flex-shrink-1">