mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
Fix slugs
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user