mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-13 15:29:16 +01:00
Fix slugs
This commit is contained in:
parent
042caa13f8
commit
5272e4052e
@ -20,7 +20,7 @@ const CategoriesListTemplate = ({ data }) => {
|
||||
<ul>
|
||||
{group.map((category) => (
|
||||
<li key={category.fieldValue}>
|
||||
<Link to={`/categories/${kebabCase(category.fieldValue)}/`}>
|
||||
<Link to={`/category/${kebabCase(category.fieldValue)}/`}>
|
||||
{category.fieldValue} ({category.totalCount})
|
||||
</Link>
|
||||
</li>
|
||||
|
@ -19,7 +19,7 @@ const TagsListTemplate = ({ data }) => {
|
||||
<ul>
|
||||
{group.map((tag) => (
|
||||
<li key={tag.fieldValue}>
|
||||
<Link to={`/tags/${kebabCase(tag.fieldValue)}/`}>
|
||||
<Link to={`/tag/${kebabCase(tag.fieldValue)}/`}>
|
||||
{tag.fieldValue} ({tag.totalCount})
|
||||
</Link>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user