diff --git a/config/_default/params.toml b/config/_default/params.toml index 9a5dc57f..5c5b4f87 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -16,6 +16,7 @@ enableCodeCopy = true # robots = "" [footer] + # showMenu = true showCopyright = true showThemeAttribution = true showAppearanceSwitcher = true diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 61433ac4..8490b65c 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -134,6 +134,7 @@ Many of the article defaults here can be overridden on a per article basis by sp |`mainSections`|_Not set_|The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used.| |`robots`|_Not set_|String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values.| |`disableImageZoom`|`false`|Disables image zoom feature across all the images in the site.| +|`footer.showMenu`|`true`|Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file.| |`footer.showCopyright`|`true`|Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#language-and-i18n).| |`footer.showThemeAttribution`|`true`|Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page).| |`footer.showAppearanceSwitcher`|`false`|Whether or not to show the appearance switcher in the site footer. The browser's local storage is used to persist the visitor's preference.| diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0f7909e0..72ac5c88 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,16 +1,18 @@