From 243267d281af311df2d6ab46528126d31eec3602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 28 Oct 2022 18:31:56 +0100 Subject: [PATCH] added disableImageZoom parameter to disable image zoom --- exampleSite/content/docs/configuration/index.md | 1 + layouts/partials/footer.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 6de73a5a..61433ac4 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -133,6 +133,7 @@ Many of the article defaults here can be overridden on a per article basis by sp |`logo`|_Not set_|The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions.| |`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.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 bca44f5f..0f7909e0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -41,11 +41,13 @@ {{ $jsProcess := resources.Get "js/process.js" }} {{ $jsProcess = $jsProcess | resources.Minify | resources.Fingerprint "sha512" }}