diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index c46212524d9..11fca723836 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -24,6 +24,10 @@ Note that some of these parameters are explained in details in other sections of showVisitedLinks = false # Disable search function. It will hide search bar disableSearch = false + # By default, the menu will show the entire tree for the current site. + # For sites with many subsites and pages, setting this option to true will + # limit the menu to the current page, its ancestors, and their children. + hideExtendedTree = false # Javascript and CSS cache are automatically busted when new version of site is generated. # Set this to true to disable this behavior (some proxies don't handle well this optimization) disableAssetsBusting = false diff --git a/exampleSite/content/basics/configuration/_index.fr.md b/exampleSite/content/basics/configuration/_index.fr.md index 72e496da798..914d0f91cad 100644 --- a/exampleSite/content/basics/configuration/_index.fr.md +++ b/exampleSite/content/basics/configuration/_index.fr.md @@ -24,6 +24,10 @@ Notez que certains de ces paramètres sont expliqués en détails dans d'autres showVisitedLinks = false # Désactive la fonction de recherche. Une valeur à true cache la barre de recherche. disableSearch = false + # Par défaut, le menu affichera l'intégralité de l'arborescence du site actuel. + # Pour les sites comportant de nombreux sous-sites et pages, définir cette option + # sur true limitera le menu à la page actuelle, à ses ancêtres et à leurs enfants. + hideExtendedTree = false # Par défaut, le cache Javascript et CSS est automatiquement vidé lorsqu'une nouvelle version du site est générée. # Utilisez ce paramètre lorsque vous voulez désactiver ce comportement (c'est parfois incompatible avec certains proxys) disableAssetsBusting = false diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 6590454a3ee..b7dc35a0d47 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -119,8 +119,9 @@