fix h-card
parent
d0bb15e03d
commit
99b5de6e0b
|
@ -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>`)
|
__html: _p('article.updated_at', `<time dateTime="${date_xml(page.updated)}" title="${new Date(page.updated).toLocaleString()}">${date(page.updated)}</time>`)
|
||||||
}}></span>}
|
}}></span>}
|
||||||
{/* author */}
|
{/* 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 */}
|
{/* Categories */}
|
||||||
{page.categories && page.categories.length ? <span class="level-item">
|
{page.categories && page.categories.length ? <span class="level-item">
|
||||||
{(() => {
|
{(() => {
|
||||||
|
|
|
@ -29,7 +29,7 @@ class Profile extends Component {
|
||||||
followTitle,
|
followTitle,
|
||||||
socialLinks
|
socialLinks
|
||||||
} = this.props;
|
} = 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">
|
<div class="card-content">
|
||||||
<nav class="level">
|
<nav class="level">
|
||||||
<div class="level-item has-text-centered flex-shrink-1">
|
<div class="level-item has-text-centered flex-shrink-1">
|
||||||
|
|
Loading…
Reference in New Issue