pull/864/head
ppoffice 2021-05-06 15:47:36 -04:00
commit a431bc1fde
2 changed files with 3 additions and 3 deletions

View File

@ -80,9 +80,9 @@ module.exports = class extends Component {
</div>
</div> : null}
{/* Title */}
<h1 class="title is-3 is-size-4-mobile">
{page.title !== '' ? <h1 class="title is-3 is-size-4-mobile">
{index ? <a class="link-muted" href={url_for(page.link || page.path)}>{page.title}</a> : page.title}
</h1>
</h1> : null}
{/* Content/Excerpt */}
<div class="content" dangerouslySetInnerHTML={{ __html: index && page.excerpt ? page.excerpt : page.content }}></div>
{/* Licensing block */}

View File

@ -24,7 +24,7 @@
"bulma-stylus": "0.8.0",
"eslint": "^7.6.0",
"eslint-config-hexo": "^4.1.0",
"eslint-plugin-json": "^2.0.1",
"eslint-plugin-json": "^3.0.0",
"eslint-plugin-react": "^7.17.0",
"hexo": "^5.0.2",
"hexo-log": "^2.0.0",