diff --git a/data_src/posts/kde_contribution.md b/data_src/posts/kde_contribution.md index 527c7ce..bc156c9 100644 --- a/data_src/posts/kde_contribution.md +++ b/data_src/posts/kde_contribution.md @@ -7,8 +7,8 @@ description: Ma première configuration et ma première contribution à l'enviro project_link: none draft: true tags: - - kde - - linux + - KDE + - Linux --- ## Rapide rappel à propos de KDE diff --git a/data_src/posts/pmbootstrap_custom_build.md b/data_src/posts/pmbootstrap_custom_build.md index 67307a5..7bee48a 100644 --- a/data_src/posts/pmbootstrap_custom_build.md +++ b/data_src/posts/pmbootstrap_custom_build.md @@ -7,8 +7,8 @@ description: Installation de pmbootstrap et compilation d'un paquet Postmarket O project_link: none draft: true tags: - - pmOS - - linux + - Postmarket OS + - Linux --- ## À propos de Postmarket OS diff --git a/src/app/pages/posts.rs b/src/app/pages/posts.rs index caf58e3..0c7ecf5 100644 --- a/src/app/pages/posts.rs +++ b/src/app/pages/posts.rs @@ -16,7 +16,7 @@ pub async fn get_posts( let default = vec![]; let posts = match tag { - Some(tag) => data.posts_by_tag.get(&tag).unwrap_or(&default), + Some(tag) => data.posts_by_tag.get(&tag.to_lowercase()).unwrap_or(&default), None => &data.posts };