From 676fcc521beae265b38747ebf3e355d173e7029b Mon Sep 17 00:00:00 2001 From: Richard Almanza Date: Thu, 29 Dec 2022 14:36:03 -0500 Subject: [PATCH 1/4] add the option to translate menus' names using i18n --- layouts/partials/nav.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index aebc1e7af..1a9731ff1 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -48,7 +48,7 @@

{{ .Site.Params.logo_text }}

{{ $hasSections := (hasPrefix (index .Children 0).Identifier "section.") }}