From e635263266c4015dd1132b658e8d59f9c97b29e7 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Thu, 22 May 2025 21:13:24 +0000 Subject: [PATCH] Add search in pages --- hugo.yaml | 11 ++++++----- i18n/fr.yaml | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 973f4de..96c0881 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -54,11 +54,12 @@ params: widgets: homepage: - - type: "search" - - type: "categories" - - type: "tag-cloud" + - type: search + - type: categories + - type: tag-cloud page: - - type: "toc" + - type: search + - type: toc colorScheme: toggle: true @@ -71,7 +72,7 @@ menu: weight: 50 params: icon: "categories" - - identifier: tags + - Name: tags pageRef: /tags weight: 60 params: diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 91d116d..0642214 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -64,7 +64,7 @@ search: other: Rechercher placeholder: - other: Cherchez un article, une publication, etc. + other: Tapez quelque chose... resultTitle: other: "#PAGES_COUNT pages (#TIME_SECONDS secondes)"