diff --git a/content/_index.md b/content/_index.md index 74a3e07..0a105d6 100644 --- a/content/_index.md +++ b/content/_index.md @@ -114,12 +114,12 @@ testimonials: ] } {{< /features-carousel >}} -{{< cta >}} + {{< testimonials title="Ils nous font confiance" - description="Découvrez comment CHILL améliore le quotidien de nos utilisateurs." + descriptions="Flexible et évolutif, CHILL accompagne aussi bien les petites associations que les grandes structures. Son développement participatif, mené avec des travailleurs sociaux de secteurs variés, garantit un outil fidèle aux réalités du terrain.||Découvrez leurs témoignages" animate="true" background-color="#f1f5f9" >}} - +{{< cta >}} diff --git a/hugo.toml b/hugo.toml index 3e3fca7..fdf9bb7 100644 --- a/hugo.toml +++ b/hugo.toml @@ -90,7 +90,7 @@ pagination = { pagerSize = 6, path = "page" } [params.cta] enable = true title = "Prêt à commencer ?" - description = "Tester Chill dès aujourd'hui et découvrez comment il peut transformer votre gestion sociale." + description = "Testez Chill dès aujourd'hui et découvrez comment il peut transformer votre gestion sociale." # Gradient background gradient_from = "#0d242e" # Blue-600 diff --git a/themes/chill-theme/layouts/shortcodes/testimonials.html b/themes/chill-theme/layouts/shortcodes/testimonials.html index cedb388..f96587a 100644 --- a/themes/chill-theme/layouts/shortcodes/testimonials.html +++ b/themes/chill-theme/layouts/shortcodes/testimonials.html @@ -2,8 +2,15 @@
-

{{ .Get "title" | default (i18n "lovedByTeams") }}

-

{{ .Get "description" | default (i18n "testimonialsDescription") }}

+

{{ .Get "title" | default (i18n "lovedByTeams") }}

+ {{ $descriptions := .Get "descriptions" }} + {{ if $descriptions }} + {{ range (split $descriptions "||") }} +

{{ . | safeHTML }}

+ {{ end }} + {{ else }} +

{{ i18n "testimonialsDescription" }}

+ {{ end }}