fix(layout): allow readme to use custom link

This commit is contained in:
ppoffice 2020-08-15 21:57:12 -04:00
parent ef3d019ea2
commit f4a2748160
No known key found for this signature in database
GPG Key ID: B33335481CC0D498
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ module.exports = class extends Component {
})}
</div> : null}
{/* "Read more" button */}
{index && page.excerpt ? <a class="article-more button is-small size-small" href={`${url_for(page.path)}#more`}>{__('article.more')}</a> : null}
{index && page.excerpt ? <a class="article-more button is-small size-small" href={`${url_for(page.link || page.path)}#more`}>{__('article.more')}</a> : null}
{/* Share button */}
{!index ? <Share config={config} page={page} helper={helper} /> : null}
</article>