From 0bd361d3bdeb2252094b3c9d3709c9c801385b06 Mon Sep 17 00:00:00 2001 From: khalidabuhakmeh Date: Tue, 7 Jan 2025 13:46:56 -0500 Subject: [PATCH] Refactor: Use `hugo.IsMultilingual` for consistency Replaced deprecated `.Site.IsMultiLingual` with `hugo.IsMultilingual` across multiple files to improve code consistency and compatibility. Also removed trailing spaces for better formatting. --- .../layouts/partials/menu.html | 24 +++++++++---------- .../layouts/partials/search.html | 2 +- .../layouts/partials/menu.html | 24 +++++++++---------- .../layouts/partials/search.html | 2 +- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/IdentityServer/v5/docs/themes/hugo-theme-learn/layouts/partials/menu.html b/IdentityServer/v5/docs/themes/hugo-theme-learn/layouts/partials/menu.html index 5583eda0..b7ae55e4 100644 --- a/IdentityServer/v5/docs/themes/hugo-theme-learn/layouts/partials/menu.html +++ b/IdentityServer/v5/docs/themes/hugo-theme-learn/layouts/partials/menu.html @@ -14,7 +14,7 @@
{{ $disableShortcutsTitle := .Site.Params.DisableShortcutsTitle}} @@ -31,7 +31,7 @@

{{ if not $disableShortcutsTitle}}{{ T "Shortcuts-Title"}}{{ end }}