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>
|
<ul>
|
||||||
{group.map((category) => (
|
{group.map((category) => (
|
||||||
<li key={category.fieldValue}>
|
<li key={category.fieldValue}>
|
||||||
<Link to={`/categories/${kebabCase(category.fieldValue)}/`}>
|
<Link to={`/category/${kebabCase(category.fieldValue)}/`}>
|
||||||
{category.fieldValue} ({category.totalCount})
|
{category.fieldValue} ({category.totalCount})
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
@ -19,7 +19,7 @@ const TagsListTemplate = ({ data }) => {
|
|||||||
<ul>
|
<ul>
|
||||||
{group.map((tag) => (
|
{group.map((tag) => (
|
||||||
<li key={tag.fieldValue}>
|
<li key={tag.fieldValue}>
|
||||||
<Link to={`/tags/${kebabCase(tag.fieldValue)}/`}>
|
<Link to={`/tag/${kebabCase(tag.fieldValue)}/`}>
|
||||||
{tag.fieldValue} ({tag.totalCount})
|
{tag.fieldValue} ({tag.totalCount})
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user