From c828c6660f32da34e118fad039bc01602ba0251a Mon Sep 17 00:00:00 2001 From: Alex Ivanov Date: Thu, 21 Jan 2021 13:42:26 +0300 Subject: Add OnlyTranslated property (#303) * Add OnlyTranslated property Signed-off-by: Alex Ivanov * Add newlines Signed-off-by: Alex Ivanov * rename property Signed-off-by: Alex Ivanov --- exampleSite/config.toml | 4 ++++ exampleSite/config.yaml | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2db8e57..165bc10 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -105,3 +105,7 @@ enableGitInfo = true # /!\ This is an experimental feature, might be removed or changed at any time # (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use. BookServiceWorker = true + + # /!\ This is an experimental feature, might be removed or changed at any time + # (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present. + BookTranslatedOnly = true diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 0367f8e..4d582bc 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -101,3 +101,7 @@ params: # /!\ This is an experimental feature, might be removed or changed at any time # (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use. BookServiceWorker: true + + # /!\ This is an experimental feature, might be removed or changed at any time + # (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present. + BookTranslatedOnly: true -- cgit v1.2.3