diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index b07cb9f80..7d1f323ed 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -446,7 +446,7 @@ pluralizelisttitles = false googleRecaptchaKey = "site_key_for_google_recaptcha" about_us = "
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
" - copyright = "Copyright (c) 2015 - 2016, YourCompany; all rights reserved." + copyright = "Copyright (c) 2015 - 2026, YourCompany; all rights reserved." # Format dates with Go's time formatting date_format = "January 2, 2006" diff --git a/layouts/partials/carousel.html b/layouts/partials/carousel.html index e3b25c56e..9961836bf 100644 --- a/layouts/partials/carousel.html +++ b/layouts/partials/carousel.html @@ -1,6 +1,6 @@ {{ if default true .Site.Params.CarouselHomepage.enable }} -{{ if isset .Site.Data "carousel" }} -{{ if gt (len .Site.Data.carousel) 0 }} +{{ if isset hugo.Data "carousel" }} +{{ if gt (len hugo.Data.carousel) 0 }}