Skip to content

Commit

Permalink
Fix temoignages
Browse files Browse the repository at this point in the history
  • Loading branch information
GllmR authored and jdesboeufs committed Jan 14, 2025
1 parent eebcbcf commit b022741
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 300 deletions.
2 changes: 1 addition & 1 deletion pages/blog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Blog = () => {
const {query} = router
const tagsList = getTags()
const tags = query.tags?.split(',') || []
const posts = getStaticPosts().filter(post => tags.length === 0 || post.tags.some(tag => tags.includes(tag.name.toLowerCase())))
const posts = getStaticPosts().filter(post => tags.length === 0 || post.tags.some(tag => tags.includes(tag.name.toLowerCase().replace('é', 'e'))))

return (
<Page title='Blog du PCRS' description='La liste complète des billets du blog autour du PCRS'>
Expand Down
Loading

0 comments on commit b022741

Please sign in to comment.