Skip to content

Commit cf1f946

Browse files
forgetfulengineerCryptArchy
authored andcommitted
fix: page has links to redirect ppoffice#1314
1 parent 521413d commit cf1f946

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

layout/category.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = class extends Component {
1111
<div class="card-content">
1212
<nav class="breadcrumb" aria-label="breadcrumbs">
1313
<ul>
14-
<li><a href={url_for('/categories')}>{_p('common.category', Infinity)}</a></li>
14+
<li><a href={url_for('/categories/')}>{_p('common.category', Infinity)}</a></li>
1515
{page.parents.map(category => {
1616
return <li><a href={url_for(category.path)}>{category.name}</a></li>;
1717
})}

layout/tag.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = class extends Component {
1111
<div class="card-content">
1212
<nav class="breadcrumb" aria-label="breadcrumbs">
1313
<ul>
14-
<li><a href={url_for('/tags')}>{_p('common.tag', Infinity)}</a></li>
14+
<li><a href={url_for('/tags/')}>{_p('common.tag', Infinity)}</a></li>
1515
<li class="is-active"><a href="#" aria-current="page">{page.tag}</a></li>
1616
</ul>
1717
</nav>

layout/widget/profile.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,17 @@ Profile.Cacheable = cacheComponent(Profile, 'widget.profile', props => {
135135
post: {
136136
count: postCount,
137137
title: _p('common.post', postCount),
138-
url: url_for('/archives')
138+
url: url_for('/archives/')
139139
},
140140
category: {
141141
count: categoryCount,
142142
title: _p('common.category', categoryCount),
143-
url: url_for('/categories')
143+
url: url_for('/categories/')
144144
},
145145
tag: {
146146
count: tagCount,
147147
title: _p('common.tag', tagCount),
148-
url: url_for('/tags')
148+
url: url_for('/tags/')
149149
}
150150
},
151151
followLink: follow_link ? url_for(follow_link) : undefined,

0 commit comments

Comments
 (0)