fix: page has links to redirect #1314
parent
4d7c54573c
commit
eb3c80a449
|
@ -11,7 +11,7 @@ module.exports = class extends Component {
|
|||
<div class="card-content">
|
||||
<nav class="breadcrumb" aria-label="breadcrumbs">
|
||||
<ul>
|
||||
<li><a href={url_for('/categories')}>{_p('common.category', Infinity)}</a></li>
|
||||
<li><a href={url_for('/categories/')}>{_p('common.category', Infinity)}</a></li>
|
||||
{page.parents.map(category => {
|
||||
return <li><a href={url_for(category.path)}>{category.name}</a></li>;
|
||||
})}
|
||||
|
|
|
@ -11,7 +11,7 @@ module.exports = class extends Component {
|
|||
<div class="card-content">
|
||||
<nav class="breadcrumb" aria-label="breadcrumbs">
|
||||
<ul>
|
||||
<li><a href={url_for('/tags')}>{_p('common.tag', Infinity)}</a></li>
|
||||
<li><a href={url_for('/tags/')}>{_p('common.tag', Infinity)}</a></li>
|
||||
<li class="is-active"><a href="#" aria-current="page">{page.tag}</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
@ -134,17 +134,17 @@ Profile.Cacheable = cacheComponent(Profile, 'widget.profile', props => {
|
|||
post: {
|
||||
count: postCount,
|
||||
title: _p('common.post', postCount),
|
||||
url: url_for('/archives')
|
||||
url: url_for('/archives/')
|
||||
},
|
||||
category: {
|
||||
count: categoryCount,
|
||||
title: _p('common.category', categoryCount),
|
||||
url: url_for('/categories')
|
||||
url: url_for('/categories/')
|
||||
},
|
||||
tag: {
|
||||
count: tagCount,
|
||||
title: _p('common.tag', tagCount),
|
||||
url: url_for('/tags')
|
||||
url: url_for('/tags/')
|
||||
}
|
||||
},
|
||||
followLink: follow_link ? url_for(follow_link) : undefined,
|
||||
|
|
Loading…
Reference in New Issue